Interface GenerateRecommendationsRequest.AdGroupInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GenerateRecommendationsRequest.AdGroupInfo, GenerateRecommendationsRequest.AdGroupInfo.Builder
Enclosing class:
GenerateRecommendationsRequest

public static interface GenerateRecommendationsRequest.AdGroupInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAdGroupType

      boolean hasAdGroupType()
       Optional. AdGroup Type of the AdGroup.
       This field is necessary for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       
      optional .google.ads.googleads.v18.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the adGroupType field is set.
    • getAdGroupTypeValue

      int getAdGroupTypeValue()
       Optional. AdGroup Type of the AdGroup.
       This field is necessary for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       
      optional .google.ads.googleads.v18.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for adGroupType.
    • getAdGroupType

      AdGroupTypeEnum.AdGroupType getAdGroupType()
       Optional. AdGroup Type of the AdGroup.
       This field is necessary for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       
      optional .google.ads.googleads.v18.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The adGroupType.
    • getKeywordsList

      List<KeywordInfo> getKeywordsList()
       Optional. Current keywords.
       This field is optional for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.common.KeywordInfo keywords = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywords

      KeywordInfo getKeywords(int index)
       Optional. Current keywords.
       This field is optional for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.common.KeywordInfo keywords = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywordsCount

      int getKeywordsCount()
       Optional. Current keywords.
       This field is optional for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.common.KeywordInfo keywords = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywordsOrBuilderList

      List<? extends KeywordInfoOrBuilder> getKeywordsOrBuilderList()
       Optional. Current keywords.
       This field is optional for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.common.KeywordInfo keywords = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywordsOrBuilder

      KeywordInfoOrBuilder getKeywordsOrBuilder(int index)
       Optional. Current keywords.
       This field is optional for the following recommendation_types if
       ad_group_info is set:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.common.KeywordInfo keywords = 2 [(.google.api.field_behavior) = OPTIONAL];