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 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.v15.services.CriterionBidModifier geo_modifiers = 2;
      • getGeoModifiers

        CriterionBidModifier getGeoModifiers​(int index)
         Locations to be targeted. Locations must be unique.
         
        repeated .google.ads.googleads.v15.services.CriterionBidModifier geo_modifiers = 2;
      • getGeoModifiersCount

        int getGeoModifiersCount()
         Locations to be targeted. Locations must be unique.
         
        repeated .google.ads.googleads.v15.services.CriterionBidModifier geo_modifiers = 2;
      • getGeoModifiersOrBuilderList

        java.util.List<? extends CriterionBidModifierOrBuilder> getGeoModifiersOrBuilderList()
         Locations to be targeted. Locations must be unique.
         
        repeated .google.ads.googleads.v15.services.CriterionBidModifier geo_modifiers = 2;
      • getGeoModifiersOrBuilder

        CriterionBidModifierOrBuilder getGeoModifiersOrBuilder​(int index)
         Locations to be targeted. Locations must be unique.
         
        repeated .google.ads.googleads.v15.services.CriterionBidModifier geo_modifiers = 2;
      • getKeywordPlanNetworkValue

        int getKeywordPlanNetworkValue()
         Required. The network used for targeting.
         
        .google.ads.googleads.v15.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.v15.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.v15.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.v15.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.v15.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.v15.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.v15.common.KeywordInfo negative_keywords = 4;
      • hasBiddingStrategy

        boolean hasBiddingStrategy()
         Required. The bidding strategy for the campaign.
         
        .google.ads.googleads.v15.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.v15.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.v15.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.v15.services.ForecastAdGroup ad_groups = 7;
      • getAdGroups

        ForecastAdGroup getAdGroups​(int index)
         The ad groups in the new campaign to forecast.
         
        repeated .google.ads.googleads.v15.services.ForecastAdGroup ad_groups = 7;
      • getAdGroupsCount

        int getAdGroupsCount()
         The ad groups in the new campaign to forecast.
         
        repeated .google.ads.googleads.v15.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.v15.services.ForecastAdGroup ad_groups = 7;
      • getAdGroupsOrBuilder

        ForecastAdGroupOrBuilder getAdGroupsOrBuilder​(int index)
         The ad groups in the new campaign to forecast.
         
        repeated .google.ads.googleads.v15.services.ForecastAdGroup ad_groups = 7;