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
Modifier and TypeMethodDescriptiongetAdGroups(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.getGeoModifiers(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.The 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.booleanRequired.booleanThe expected conversion rate (number of conversions divided by number of total clicks) as defined by the user.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
List<CriterionBidModifier> getGeoModifiersList()Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2; -
getGeoModifiers
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2; -
getGeoModifiersCount
int getGeoModifiersCount()Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2; -
getGeoModifiersOrBuilderList
List<? extends CriterionBidModifierOrBuilder> getGeoModifiersOrBuilderList()Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2; -
getGeoModifiersOrBuilder
Locations to be targeted. Locations must be unique.
repeated .google.ads.googleads.v18.services.CriterionBidModifier geo_modifiers = 2; -
getKeywordPlanNetworkValue
int getKeywordPlanNetworkValue()Required. The network used for targeting.
.google.ads.googleads.v18.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.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The keywordPlanNetwork.
-
getNegativeKeywordsList
List<KeywordInfo> 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; -
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; -
getNegativeKeywordsCount
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; -
getNegativeKeywordsOrBuilderList
List<? extends KeywordInfoOrBuilder> 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; -
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; -
hasBiddingStrategy
boolean hasBiddingStrategy()Required. The bidding strategy for the campaign.
.google.ads.googleads.v18.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.v18.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.v18.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
List<ForecastAdGroup> getAdGroupsList()The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.services.ForecastAdGroup ad_groups = 7; -
getAdGroups
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.services.ForecastAdGroup ad_groups = 7; -
getAdGroupsCount
int getAdGroupsCount()The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.services.ForecastAdGroup ad_groups = 7; -
getAdGroupsOrBuilderList
List<? extends ForecastAdGroupOrBuilder> getAdGroupsOrBuilderList()The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.services.ForecastAdGroup ad_groups = 7; -
getAdGroupsOrBuilder
The ad groups in the new campaign to forecast.
repeated .google.ads.googleads.v18.services.ForecastAdGroup ad_groups = 7;
-