Class CampaignToForecast
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v25.services.CampaignToForecast
- All Implemented Interfaces:
CampaignToForecastOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CampaignToForecast
extends com.google.protobuf.GeneratedMessage
implements CampaignToForecastOrBuilder
A campaign to do a keyword campaign forecast.Protobuf type
google.ads.googleads.v25.services.CampaignToForecast- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA campaign to do a keyword campaign forecast.static final classSupported bidding strategies for new campaign forecasts.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdGroups(int index) The ad groups in the new campaign to forecast.intThe ad groups in the new campaign to forecast.The ad groups in the new campaign to forecast.getAdGroupsOrBuilder(int index) The ad groups in the new campaign to forecast.List<? extends ForecastAdGroupOrBuilder>The ad groups in the new campaign to forecast.Required.Required.static CampaignToForecaststatic final com.google.protobuf.Descriptors.DescriptorgetGeoTargetConstants(int index) Locations to be targeted.com.google.protobuf.ByteStringgetGeoTargetConstantsBytes(int index) Locations to be targeted.intLocations to be targeted.com.google.protobuf.ProtocolStringListLocations to be targeted.getLanguageConstants(int index) The list of resource names of languages to be targeted.com.google.protobuf.ByteStringgetLanguageConstantsBytes(int index) The list of resource names of languages to be targeted.intThe list of resource names of languages to be targeted.com.google.protobuf.ProtocolStringListThe list of resource names of languages to be targeted.com.google.protobuf.Parser<CampaignToForecast>intbooleanRequired.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CampaignToForecast.Builderstatic CampaignToForecast.BuildernewBuilder(CampaignToForecast prototype) protected CampaignToForecast.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CampaignToForecastparseDelimitedFrom(InputStream input) static CampaignToForecastparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignToForecastparseFrom(byte[] data) static CampaignToForecastparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignToForecastparseFrom(com.google.protobuf.ByteString data) static CampaignToForecastparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignToForecastparseFrom(com.google.protobuf.CodedInputStream input) static CampaignToForecastparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignToForecastparseFrom(InputStream input) static CampaignToForecastparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CampaignToForecastparseFrom(ByteBuffer data) static CampaignToForecastparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CampaignToForecast>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LANGUAGE_CONSTANTS_FIELD_NUMBER
public static final int LANGUAGE_CONSTANTS_FIELD_NUMBER- See Also:
-
GEO_TARGET_CONSTANTS_FIELD_NUMBER
public static final int GEO_TARGET_CONSTANTS_FIELD_NUMBER- See Also:
-
BIDDING_STRATEGY_FIELD_NUMBER
public static final int BIDDING_STRATEGY_FIELD_NUMBER- See Also:
-
AD_GROUPS_FIELD_NUMBER
public static final int AD_GROUPS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getLanguageConstantsList
public com.google.protobuf.ProtocolStringList getLanguageConstantsList()The list of resource names of languages to be targeted. The resource name is of the format "languageConstants/{criterion_id}". See https://developers.google.com/google-ads/api/data/codes-formats#languages for the list of language criterion codes.repeated string language_constants = 1;- Specified by:
getLanguageConstantsListin interfaceCampaignToForecastOrBuilder- Returns:
- A list containing the languageConstants.
-
getLanguageConstantsCount
public int getLanguageConstantsCount()The list of resource names of languages to be targeted. The resource name is of the format "languageConstants/{criterion_id}". See https://developers.google.com/google-ads/api/data/codes-formats#languages for the list of language criterion codes.repeated string language_constants = 1;- Specified by:
getLanguageConstantsCountin interfaceCampaignToForecastOrBuilder- Returns:
- The count of languageConstants.
-
getLanguageConstants
The list of resource names of languages to be targeted. The resource name is of the format "languageConstants/{criterion_id}". See https://developers.google.com/google-ads/api/data/codes-formats#languages for the list of language criterion codes.repeated string language_constants = 1;- Specified by:
getLanguageConstantsin interfaceCampaignToForecastOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The languageConstants at the given index.
-
getLanguageConstantsBytes
public com.google.protobuf.ByteString getLanguageConstantsBytes(int index) The list of resource names of languages to be targeted. The resource name is of the format "languageConstants/{criterion_id}". See https://developers.google.com/google-ads/api/data/codes-formats#languages for the list of language criterion codes.repeated string language_constants = 1;- Specified by:
getLanguageConstantsBytesin interfaceCampaignToForecastOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the languageConstants at the given index.
-
getGeoTargetConstantsList
public com.google.protobuf.ProtocolStringList getGeoTargetConstantsList()Locations to be targeted. Locations must be unique. The resource name is of the format "geoTargetConstants/{criterion_id}".repeated string geo_target_constants = 8;- Specified by:
getGeoTargetConstantsListin interfaceCampaignToForecastOrBuilder- Returns:
- A list containing the geoTargetConstants.
-
getGeoTargetConstantsCount
public int getGeoTargetConstantsCount()Locations to be targeted. Locations must be unique. The resource name is of the format "geoTargetConstants/{criterion_id}".repeated string geo_target_constants = 8;- Specified by:
getGeoTargetConstantsCountin interfaceCampaignToForecastOrBuilder- Returns:
- The count of geoTargetConstants.
-
getGeoTargetConstants
Locations to be targeted. Locations must be unique. The resource name is of the format "geoTargetConstants/{criterion_id}".repeated string geo_target_constants = 8;- Specified by:
getGeoTargetConstantsin interfaceCampaignToForecastOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The geoTargetConstants at the given index.
-
getGeoTargetConstantsBytes
public com.google.protobuf.ByteString getGeoTargetConstantsBytes(int index) Locations to be targeted. Locations must be unique. The resource name is of the format "geoTargetConstants/{criterion_id}".repeated string geo_target_constants = 8;- Specified by:
getGeoTargetConstantsBytesin interfaceCampaignToForecastOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the geoTargetConstants at the given index.
-
hasBiddingStrategy
public boolean hasBiddingStrategy()Required. The bidding strategy for the campaign.
.google.ads.googleads.v25.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasBiddingStrategyin interfaceCampaignToForecastOrBuilder- Returns:
- Whether the biddingStrategy field is set.
-
getBiddingStrategy
Required. The bidding strategy for the campaign.
.google.ads.googleads.v25.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddingStrategyin interfaceCampaignToForecastOrBuilder- Returns:
- The biddingStrategy.
-
getBiddingStrategyOrBuilder
Required. The bidding strategy for the campaign.
.google.ads.googleads.v25.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddingStrategyOrBuilderin interfaceCampaignToForecastOrBuilder
-
getAdGroupsList
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v25.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsListin interfaceCampaignToForecastOrBuilder
-
getAdGroupsOrBuilderList
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v25.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsOrBuilderListin interfaceCampaignToForecastOrBuilder
-
getAdGroupsCount
public int getAdGroupsCount()The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v25.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsCountin interfaceCampaignToForecastOrBuilder
-
getAdGroups
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v25.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsin interfaceCampaignToForecastOrBuilder
-
getAdGroupsOrBuilder
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v25.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsOrBuilderin interfaceCampaignToForecastOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CampaignToForecast parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CampaignToForecast parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CampaignToForecast parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CampaignToForecast parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CampaignToForecast parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CampaignToForecast parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CampaignToForecast parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CampaignToForecast parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CampaignToForecast parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CampaignToForecast parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CampaignToForecast.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-