Class CampaignToForecast
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.CampaignToForecast
- All Implemented Interfaces:
CampaignToForecastOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class CampaignToForecast
extends com.google.protobuf.GeneratedMessageV3
implements CampaignToForecastOrBuilder
A campaign to do a keyword campaign forecast.Protobuf type
google.ads.googleads.v18.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.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested 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 intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, 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.doubleThe expected conversion rate (number of conversions divided by number of total clicks) as defined by the user.static CampaignToForecaststatic final com.google.protobuf.Descriptors.DescriptorgetGeoModifiers(int index) Locations to be targeted.intLocations to be targeted.Locations to be targeted.getGeoModifiersOrBuilder(int index) Locations to be targeted.List<? extends CriterionBidModifierOrBuilder>Locations to be targeted.Required.intRequired.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.getNegativeKeywords(int index) The list of negative keywords to be used in the campaign when doing the forecast.intThe list of negative keywords to be used in the campaign when doing the forecast.The list of negative keywords to be used in the campaign when doing the forecast.getNegativeKeywordsOrBuilder(int index) The list of negative keywords to be used in the campaign when doing the forecast.List<? extends KeywordInfoOrBuilder>The list of negative keywords to be used in the campaign when doing the forecast.com.google.protobuf.Parser<CampaignToForecast>intbooleanRequired.booleanThe expected conversion rate (number of conversions divided by number of total clicks) as defined by the user.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic CampaignToForecast.Builderstatic CampaignToForecast.BuildernewBuilder(CampaignToForecast prototype) protected CampaignToForecast.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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.GeneratedMessageV3
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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_MODIFIERS_FIELD_NUMBER
public static final int GEO_MODIFIERS_FIELD_NUMBER- See Also:
-
KEYWORD_PLAN_NETWORK_FIELD_NUMBER
public static final int KEYWORD_PLAN_NETWORK_FIELD_NUMBER- See Also:
-
NEGATIVE_KEYWORDS_FIELD_NUMBER
public static final int NEGATIVE_KEYWORDS_FIELD_NUMBER- See Also:
-
BIDDING_STRATEGY_FIELD_NUMBER
public static final int BIDDING_STRATEGY_FIELD_NUMBER- See Also:
-
CONVERSION_RATE_FIELD_NUMBER
public static final int CONVERSION_RATE_FIELD_NUMBER- See Also:
-
AD_GROUPS_FIELD_NUMBER
public static final int AD_GROUPS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
getGeoModifiersList
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2;- Specified by:
getGeoModifiersListin interfaceCampaignToForecastOrBuilder
-
getGeoModifiersOrBuilderList
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2;- Specified by:
getGeoModifiersOrBuilderListin interfaceCampaignToForecastOrBuilder
-
getGeoModifiersCount
public int getGeoModifiersCount()Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2;- Specified by:
getGeoModifiersCountin interfaceCampaignToForecastOrBuilder
-
getGeoModifiers
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2;- Specified by:
getGeoModifiersin interfaceCampaignToForecastOrBuilder
-
getGeoModifiersOrBuilder
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2;- Specified by:
getGeoModifiersOrBuilderin interfaceCampaignToForecastOrBuilder
-
getKeywordPlanNetworkValue
public int getKeywordPlanNetworkValue()Required. The network used for targeting.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKeywordPlanNetworkValuein interfaceCampaignToForecastOrBuilder- Returns:
- The enum numeric value on the wire for keywordPlanNetwork.
-
getKeywordPlanNetwork
Required. The network used for targeting.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKeywordPlanNetworkin interfaceCampaignToForecastOrBuilder- Returns:
- The keywordPlanNetwork.
-
getNegativeKeywordsList
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v18.common.KeywordInfo negative_keywords = 4;- Specified by:
getNegativeKeywordsListin interfaceCampaignToForecastOrBuilder
-
getNegativeKeywordsOrBuilderList
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v18.common.KeywordInfo negative_keywords = 4;- Specified by:
getNegativeKeywordsOrBuilderListin interfaceCampaignToForecastOrBuilder
-
getNegativeKeywordsCount
public int getNegativeKeywordsCount()The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v18.common.KeywordInfo negative_keywords = 4;- Specified by:
getNegativeKeywordsCountin interfaceCampaignToForecastOrBuilder
-
getNegativeKeywords
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v18.common.KeywordInfo negative_keywords = 4;- Specified by:
getNegativeKeywordsin interfaceCampaignToForecastOrBuilder
-
getNegativeKeywordsOrBuilder
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v18.common.KeywordInfo negative_keywords = 4;- Specified by:
getNegativeKeywordsOrBuilderin interfaceCampaignToForecastOrBuilder
-
hasBiddingStrategy
public boolean hasBiddingStrategy()Required. The bidding strategy for the campaign.
.google.ads.googleads.v18.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.v18.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.v18.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddingStrategyOrBuilderin interfaceCampaignToForecastOrBuilder
-
hasConversionRate
public boolean hasConversionRate()The expected conversion rate (number of conversions divided by number of total clicks) as defined by the user. This value is expressed as a decimal value, so an expected conversion rate of 2% should be entered as 0.02. If left empty, an estimated conversion rate will be used.
optional double conversion_rate = 6;- Specified by:
hasConversionRatein interfaceCampaignToForecastOrBuilder- Returns:
- Whether the conversionRate field is set.
-
getConversionRate
public double getConversionRate()The expected conversion rate (number of conversions divided by number of total clicks) as defined by the user. This value is expressed as a decimal value, so an expected conversion rate of 2% should be entered as 0.02. If left empty, an estimated conversion rate will be used.
optional double conversion_rate = 6;- Specified by:
getConversionRatein interfaceCampaignToForecastOrBuilder- Returns:
- The conversionRate.
-
getAdGroupsList
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsListin interfaceCampaignToForecastOrBuilder
-
getAdGroupsOrBuilderList
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.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.v18.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsCountin interfaceCampaignToForecastOrBuilder
-
getAdGroups
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.services.ForecastAdGroup ad_groups = 7;- Specified by:
getAdGroupsin interfaceCampaignToForecastOrBuilder
-
getAdGroupsOrBuilder
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.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.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-