Interface CampaignToForecastOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CampaignToForecast,CampaignToForecast.Builder
public interface CampaignToForecastOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ForecastAdGroupgetAdGroups(int index)The ad groups in the new campaign to forecast.intgetAdGroupsCount()The ad groups in the new campaign to forecast.java.util.List<ForecastAdGroup>getAdGroupsList()The ad groups in the new campaign to forecast.ForecastAdGroupOrBuildergetAdGroupsOrBuilder(int index)The ad groups in the new campaign to forecast.java.util.List<? extends ForecastAdGroupOrBuilder>getAdGroupsOrBuilderList()The ad groups in the new campaign to forecast.CampaignToForecast.CampaignBiddingStrategygetBiddingStrategy()Required.CampaignToForecast.CampaignBiddingStrategyOrBuildergetBiddingStrategyOrBuilder()Required.doublegetConversionRate()The expected conversion rate (number of conversions divided by number of total clicks) as defined by the user.CriterionBidModifiergetGeoModifiers(int index)Locations to be targeted.intgetGeoModifiersCount()Locations to be targeted.java.util.List<CriterionBidModifier>getGeoModifiersList()Locations to be targeted.CriterionBidModifierOrBuildergetGeoModifiersOrBuilder(int index)Locations to be targeted.java.util.List<? extends CriterionBidModifierOrBuilder>getGeoModifiersOrBuilderList()Locations to be targeted.KeywordPlanNetworkEnum.KeywordPlanNetworkgetKeywordPlanNetwork()Required.intgetKeywordPlanNetworkValue()Required.java.lang.StringgetLanguageConstants(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.intgetLanguageConstantsCount()The list of resource names of languages to be targeted.java.util.List<java.lang.String>getLanguageConstantsList()The list of resource names of languages to be targeted.KeywordInfogetNegativeKeywords(int index)The list of negative keywords to be used in the campaign when doing the forecast.intgetNegativeKeywordsCount()The list of negative keywords to be used in the campaign when doing the forecast.java.util.List<KeywordInfo>getNegativeKeywordsList()The list of negative keywords to be used in the campaign when doing the forecast.KeywordInfoOrBuildergetNegativeKeywordsOrBuilder(int index)The list of negative keywords to be used in the campaign when doing the forecast.java.util.List<? extends KeywordInfoOrBuilder>getNegativeKeywordsOrBuilderList()The list of negative keywords to be used in the campaign when doing the forecast.booleanhasBiddingStrategy()Required.booleanhasConversionRate()The expected conversion rate (number of conversions divided by number of total clicks) as defined by the user.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLanguageConstantsList
java.util.List<java.lang.String> 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;- Returns:
- A list containing the languageConstants.
-
getLanguageConstantsCount
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;- Returns:
- The count of languageConstants.
-
getLanguageConstants
java.lang.String getLanguageConstants(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;- Parameters:
index- The index of the element to return.- Returns:
- The languageConstants at the given index.
-
getLanguageConstantsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the languageConstants at the given index.
-
getGeoModifiersList
java.util.List<CriterionBidModifier> getGeoModifiersList()
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v14.services.CriterionBidModifier geo_modifiers = 2;
-
getGeoModifiers
CriterionBidModifier getGeoModifiers(int index)
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v14.services.CriterionBidModifier geo_modifiers = 2;
-
getGeoModifiersCount
int getGeoModifiersCount()
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v14.services.CriterionBidModifier geo_modifiers = 2;
-
getGeoModifiersOrBuilderList
java.util.List<? extends CriterionBidModifierOrBuilder> getGeoModifiersOrBuilderList()
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v14.services.CriterionBidModifier geo_modifiers = 2;
-
getGeoModifiersOrBuilder
CriterionBidModifierOrBuilder getGeoModifiersOrBuilder(int index)
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v14.services.CriterionBidModifier geo_modifiers = 2;
-
getKeywordPlanNetworkValue
int getKeywordPlanNetworkValue()
Required. The network used for targeting.
.google.ads.googleads.v14.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for keywordPlanNetwork.
-
getKeywordPlanNetwork
KeywordPlanNetworkEnum.KeywordPlanNetwork getKeywordPlanNetwork()
Required. The network used for targeting.
.google.ads.googleads.v14.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The keywordPlanNetwork.
-
getNegativeKeywordsList
java.util.List<KeywordInfo> getNegativeKeywordsList()
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v14.common.KeywordInfo negative_keywords = 4;
-
getNegativeKeywords
KeywordInfo getNegativeKeywords(int index)
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v14.common.KeywordInfo negative_keywords = 4;
-
getNegativeKeywordsCount
int getNegativeKeywordsCount()
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v14.common.KeywordInfo negative_keywords = 4;
-
getNegativeKeywordsOrBuilderList
java.util.List<? extends KeywordInfoOrBuilder> getNegativeKeywordsOrBuilderList()
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v14.common.KeywordInfo negative_keywords = 4;
-
getNegativeKeywordsOrBuilder
KeywordInfoOrBuilder getNegativeKeywordsOrBuilder(int index)
The list of negative keywords to be used in the campaign when doing the forecast.
repeated .google.ads.googleads.v14.common.KeywordInfo negative_keywords = 4;
-
hasBiddingStrategy
boolean hasBiddingStrategy()
Required. The bidding strategy for the campaign.
.google.ads.googleads.v14.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the biddingStrategy field is set.
-
getBiddingStrategy
CampaignToForecast.CampaignBiddingStrategy getBiddingStrategy()
Required. The bidding strategy for the campaign.
.google.ads.googleads.v14.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The biddingStrategy.
-
getBiddingStrategyOrBuilder
CampaignToForecast.CampaignBiddingStrategyOrBuilder getBiddingStrategyOrBuilder()
Required. The bidding strategy for the campaign.
.google.ads.googleads.v14.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED];
-
hasConversionRate
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;- Returns:
- Whether the conversionRate field is set.
-
getConversionRate
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;- Returns:
- The conversionRate.
-
getAdGroupsList
java.util.List<ForecastAdGroup> getAdGroupsList()
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v14.services.ForecastAdGroup ad_groups = 7;
-
getAdGroups
ForecastAdGroup getAdGroups(int index)
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v14.services.ForecastAdGroup ad_groups = 7;
-
getAdGroupsCount
int getAdGroupsCount()
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v14.services.ForecastAdGroup ad_groups = 7;
-
getAdGroupsOrBuilderList
java.util.List<? extends ForecastAdGroupOrBuilder> getAdGroupsOrBuilderList()
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v14.services.ForecastAdGroup ad_groups = 7;
-
getAdGroupsOrBuilder
ForecastAdGroupOrBuilder getAdGroupsOrBuilder(int index)
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v14.services.ForecastAdGroup ad_groups = 7;
-
-