Class GenerateRecommendationsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
com.google.ads.googleads.v18.services.GenerateRecommendationsRequest.Builder
All Implemented Interfaces:
GenerateRecommendationsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GenerateRecommendationsRequest

public static final class GenerateRecommendationsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder> implements GenerateRecommendationsRequestOrBuilder
 Request message for
 [RecommendationService.GenerateRecommendations][google.ads.googleads.v18.services.RecommendationService.GenerateRecommendations].
 
Protobuf type google.ads.googleads.v18.services.GenerateRecommendationsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • getDefaultInstanceForType

      public GenerateRecommendationsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GenerateRecommendationsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • setField

      public GenerateRecommendationsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • clearField

      public GenerateRecommendationsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • clearOneof

      public GenerateRecommendationsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • setRepeatedField

      public GenerateRecommendationsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • addRepeatedField

      public GenerateRecommendationsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • mergeFrom

      public GenerateRecommendationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateRecommendationsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • mergeFrom

      public GenerateRecommendationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateRecommendationsRequest.Builder>
      Throws:
      IOException
    • getCustomerId

      public String getCustomerId()
       Required. The ID of the customer generating recommendations.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerId in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The customerId.
    • getCustomerIdBytes

      public com.google.protobuf.ByteString getCustomerIdBytes()
       Required. The ID of the customer generating recommendations.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerIdBytes in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The bytes for customerId.
    • setCustomerId

      public GenerateRecommendationsRequest.Builder setCustomerId(String value)
       Required. The ID of the customer generating recommendations.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The customerId to set.
      Returns:
      This builder for chaining.
    • clearCustomerId

      public GenerateRecommendationsRequest.Builder clearCustomerId()
       Required. The ID of the customer generating recommendations.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCustomerIdBytes

      public GenerateRecommendationsRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the customer generating recommendations.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for customerId to set.
      Returns:
      This builder for chaining.
    • getRecommendationTypesList

      public List<RecommendationTypeEnum.RecommendationType> getRecommendationTypesList()
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRecommendationTypesList in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      A list containing the recommendationTypes.
    • getRecommendationTypesCount

      public int getRecommendationTypesCount()
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRecommendationTypesCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The count of recommendationTypes.
    • getRecommendationTypes

      public RecommendationTypeEnum.RecommendationType getRecommendationTypes(int index)
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRecommendationTypes in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The recommendationTypes at the given index.
    • setRecommendationTypes

      public GenerateRecommendationsRequest.Builder setRecommendationTypes(int index, RecommendationTypeEnum.RecommendationType value)
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The recommendationTypes to set.
      Returns:
      This builder for chaining.
    • addRecommendationTypes

       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The recommendationTypes to add.
      Returns:
      This builder for chaining.
    • addAllRecommendationTypes

       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The recommendationTypes to add.
      Returns:
      This builder for chaining.
    • clearRecommendationTypes

      public GenerateRecommendationsRequest.Builder clearRecommendationTypes()
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getRecommendationTypesValueList

      public List<Integer> getRecommendationTypesValueList()
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRecommendationTypesValueList in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for recommendationTypes.
    • getRecommendationTypesValue

      public int getRecommendationTypesValue(int index)
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRecommendationTypesValue in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of recommendationTypes at the given index.
    • setRecommendationTypesValue

      public GenerateRecommendationsRequest.Builder setRecommendationTypesValue(int index, int value)
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for recommendationTypes to set.
      Returns:
      This builder for chaining.
    • addRecommendationTypesValue

      public GenerateRecommendationsRequest.Builder addRecommendationTypesValue(int value)
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for recommendationTypes to add.
      Returns:
      This builder for chaining.
    • addAllRecommendationTypesValue

      public GenerateRecommendationsRequest.Builder addAllRecommendationTypesValue(Iterable<Integer> values)
       Required. List of eligible recommendation_types to generate. If the
       uploaded criteria isn't sufficient to make a recommendation, or the
       campaign is already in the recommended state, no recommendation will be
       returned for that type. Generally, a recommendation is returned if all
       required fields for that recommendation_type are uploaded, but there are
       cases where this is still not sufficient.
      
       The following recommendation_types are supported for recommendation
       generation:
       CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN,
       MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN,
       SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN,
       TARGET_ROAS_OPT_IN
       
      repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The enum numeric values on the wire for recommendationTypes to add.
      Returns:
      This builder for chaining.
    • getAdvertisingChannelTypeValue

      public int getAdvertisingChannelTypeValue()
       Required. Advertising channel type of the campaign.
       The following advertising_channel_types are supported for recommendation
       generation:
       PERFORMANCE_MAX and SEARCH
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAdvertisingChannelTypeValue in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for advertisingChannelType.
    • setAdvertisingChannelTypeValue

      public GenerateRecommendationsRequest.Builder setAdvertisingChannelTypeValue(int value)
       Required. Advertising channel type of the campaign.
       The following advertising_channel_types are supported for recommendation
       generation:
       PERFORMANCE_MAX and SEARCH
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for advertisingChannelType to set.
      Returns:
      This builder for chaining.
    • getAdvertisingChannelType

      public AdvertisingChannelTypeEnum.AdvertisingChannelType getAdvertisingChannelType()
       Required. Advertising channel type of the campaign.
       The following advertising_channel_types are supported for recommendation
       generation:
       PERFORMANCE_MAX and SEARCH
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAdvertisingChannelType in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The advertisingChannelType.
    • setAdvertisingChannelType

       Required. Advertising channel type of the campaign.
       The following advertising_channel_types are supported for recommendation
       generation:
       PERFORMANCE_MAX and SEARCH
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The advertisingChannelType to set.
      Returns:
      This builder for chaining.
    • clearAdvertisingChannelType

      public GenerateRecommendationsRequest.Builder clearAdvertisingChannelType()
       Required. Advertising channel type of the campaign.
       The following advertising_channel_types are supported for recommendation
       generation:
       PERFORMANCE_MAX and SEARCH
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasCampaignSitelinkCount

      public boolean hasCampaignSitelinkCount()
       Optional. Number of sitelinks on the campaign.
       This field is necessary for the following recommendation_types:
       SITELINK_ASSET
       
      optional int32 campaign_sitelink_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCampaignSitelinkCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the campaignSitelinkCount field is set.
    • getCampaignSitelinkCount

      public int getCampaignSitelinkCount()
       Optional. Number of sitelinks on the campaign.
       This field is necessary for the following recommendation_types:
       SITELINK_ASSET
       
      optional int32 campaign_sitelink_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCampaignSitelinkCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The campaignSitelinkCount.
    • setCampaignSitelinkCount

      public GenerateRecommendationsRequest.Builder setCampaignSitelinkCount(int value)
       Optional. Number of sitelinks on the campaign.
       This field is necessary for the following recommendation_types:
       SITELINK_ASSET
       
      optional int32 campaign_sitelink_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The campaignSitelinkCount to set.
      Returns:
      This builder for chaining.
    • clearCampaignSitelinkCount

      public GenerateRecommendationsRequest.Builder clearCampaignSitelinkCount()
       Optional. Number of sitelinks on the campaign.
       This field is necessary for the following recommendation_types:
       SITELINK_ASSET
       
      optional int32 campaign_sitelink_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasConversionTrackingStatus

      public boolean hasConversionTrackingStatus()
       Optional. Current conversion tracking status.
       This field is necessary for the following recommendation_types:
       MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConversionTrackingStatus in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the conversionTrackingStatus field is set.
    • getConversionTrackingStatusValue

      public int getConversionTrackingStatusValue()
       Optional. Current conversion tracking status.
       This field is necessary for the following recommendation_types:
       MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConversionTrackingStatusValue in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for conversionTrackingStatus.
    • setConversionTrackingStatusValue

      public GenerateRecommendationsRequest.Builder setConversionTrackingStatusValue(int value)
       Optional. Current conversion tracking status.
       This field is necessary for the following recommendation_types:
       MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for conversionTrackingStatus to set.
      Returns:
      This builder for chaining.
    • getConversionTrackingStatus

      public ConversionTrackingStatusEnum.ConversionTrackingStatus getConversionTrackingStatus()
       Optional. Current conversion tracking status.
       This field is necessary for the following recommendation_types:
       MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConversionTrackingStatus in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The conversionTrackingStatus.
    • setConversionTrackingStatus

       Optional. Current conversion tracking status.
       This field is necessary for the following recommendation_types:
       MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The conversionTrackingStatus to set.
      Returns:
      This builder for chaining.
    • clearConversionTrackingStatus

      public GenerateRecommendationsRequest.Builder clearConversionTrackingStatus()
       Optional. Current conversion tracking status.
       This field is necessary for the following recommendation_types:
       MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasBiddingInfo

      public boolean hasBiddingInfo()
       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBiddingInfo in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the biddingInfo field is set.
    • getBiddingInfo

       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBiddingInfo in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The biddingInfo.
    • setBiddingInfo

       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setBiddingInfo

       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeBiddingInfo

       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearBiddingInfo

      public GenerateRecommendationsRequest.Builder clearBiddingInfo()
       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getBiddingInfoBuilder

       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getBiddingInfoOrBuilder

      public GenerateRecommendationsRequest.BiddingInfoOrBuilder getBiddingInfoOrBuilder()
       Optional. Current bidding information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBiddingInfoOrBuilder in interface GenerateRecommendationsRequestOrBuilder
    • getAdGroupInfoList

      public List<GenerateRecommendationsRequest.AdGroupInfo> getAdGroupInfoList()
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdGroupInfoList in interface GenerateRecommendationsRequestOrBuilder
    • getAdGroupInfoCount

      public int getAdGroupInfoCount()
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdGroupInfoCount in interface GenerateRecommendationsRequestOrBuilder
    • getAdGroupInfo

      public GenerateRecommendationsRequest.AdGroupInfo getAdGroupInfo(int index)
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdGroupInfo in interface GenerateRecommendationsRequestOrBuilder
    • setAdGroupInfo

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setAdGroupInfo

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAdGroupInfo

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAdGroupInfo

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAdGroupInfo

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAdGroupInfo

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAdGroupInfo

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearAdGroupInfo

      public GenerateRecommendationsRequest.Builder clearAdGroupInfo()
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • removeAdGroupInfo

      public GenerateRecommendationsRequest.Builder removeAdGroupInfo(int index)
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAdGroupInfoBuilder

      public GenerateRecommendationsRequest.AdGroupInfo.Builder getAdGroupInfoBuilder(int index)
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAdGroupInfoOrBuilder

      public GenerateRecommendationsRequest.AdGroupInfoOrBuilder getAdGroupInfoOrBuilder(int index)
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdGroupInfoOrBuilder in interface GenerateRecommendationsRequestOrBuilder
    • getAdGroupInfoOrBuilderList

      public List<? extends GenerateRecommendationsRequest.AdGroupInfoOrBuilder> getAdGroupInfoOrBuilderList()
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdGroupInfoOrBuilderList in interface GenerateRecommendationsRequestOrBuilder
    • addAdGroupInfoBuilder

       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAdGroupInfoBuilder

      public GenerateRecommendationsRequest.AdGroupInfo.Builder addAdGroupInfoBuilder(int index)
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAdGroupInfoBuilderList

      public List<GenerateRecommendationsRequest.AdGroupInfo.Builder> getAdGroupInfoBuilderList()
       Optional. Current AdGroup Information.
       Supports information from a single AdGroup.
       This field is optional for the following recommendation_types:
       KEYWORD
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL];
    • hasSeedInfo

      public boolean hasSeedInfo()
       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSeedInfo in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the seedInfo field is set.
    • getSeedInfo

       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSeedInfo in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The seedInfo.
    • setSeedInfo

       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setSeedInfo

       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSeedInfo

       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearSeedInfo

       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getSeedInfoBuilder

       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getSeedInfoOrBuilder

      public GenerateRecommendationsRequest.SeedInfoOrBuilder getSeedInfoOrBuilder()
       Optional. Seed information for Keywords.
       This field is necessary for the following recommendation_types:
       KEYWORD
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSeedInfoOrBuilder in interface GenerateRecommendationsRequestOrBuilder
    • hasBudgetInfo

      public boolean hasBudgetInfo()
       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBudgetInfo in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the budgetInfo field is set.
    • getBudgetInfo

       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBudgetInfo in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The budgetInfo.
    • setBudgetInfo

       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
    • setBudgetInfo

       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
    • mergeBudgetInfo

       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
    • clearBudgetInfo

      public GenerateRecommendationsRequest.Builder clearBudgetInfo()
       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getBudgetInfoBuilder

       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getBudgetInfoOrBuilder

      public GenerateRecommendationsRequest.BudgetInfoOrBuilder getBudgetInfoOrBuilder()
       Optional. Current budget information.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBudgetInfoOrBuilder in interface GenerateRecommendationsRequestOrBuilder
    • hasCampaignImageAssetCount

      public boolean hasCampaignImageAssetCount()
       Optional. Current campaign image asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_image_asset_count = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCampaignImageAssetCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the campaignImageAssetCount field is set.
    • getCampaignImageAssetCount

      public int getCampaignImageAssetCount()
       Optional. Current campaign image asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_image_asset_count = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCampaignImageAssetCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The campaignImageAssetCount.
    • setCampaignImageAssetCount

      public GenerateRecommendationsRequest.Builder setCampaignImageAssetCount(int value)
       Optional. Current campaign image asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_image_asset_count = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The campaignImageAssetCount to set.
      Returns:
      This builder for chaining.
    • clearCampaignImageAssetCount

      public GenerateRecommendationsRequest.Builder clearCampaignImageAssetCount()
       Optional. Current campaign image asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_image_asset_count = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasCampaignCallAssetCount

      public boolean hasCampaignCallAssetCount()
       Optional. Current campaign call asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_call_asset_count = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCampaignCallAssetCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the campaignCallAssetCount field is set.
    • getCampaignCallAssetCount

      public int getCampaignCallAssetCount()
       Optional. Current campaign call asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_call_asset_count = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCampaignCallAssetCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The campaignCallAssetCount.
    • setCampaignCallAssetCount

      public GenerateRecommendationsRequest.Builder setCampaignCallAssetCount(int value)
       Optional. Current campaign call asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_call_asset_count = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The campaignCallAssetCount to set.
      Returns:
      This builder for chaining.
    • clearCampaignCallAssetCount

      public GenerateRecommendationsRequest.Builder clearCampaignCallAssetCount()
       Optional. Current campaign call asset count.
       This field is optional for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      optional int32 campaign_call_asset_count = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getCountryCodesList

      public com.google.protobuf.ProtocolStringList getCountryCodesList()
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCountryCodesList in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      A list containing the countryCodes.
    • getCountryCodesCount

      public int getCountryCodesCount()
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCountryCodesCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The count of countryCodes.
    • getCountryCodes

      public String getCountryCodes(int index)
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCountryCodes in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The countryCodes at the given index.
    • getCountryCodesBytes

      public com.google.protobuf.ByteString getCountryCodesBytes(int index)
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCountryCodesBytes in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the countryCodes at the given index.
    • setCountryCodes

      public GenerateRecommendationsRequest.Builder setCountryCodes(int index, String value)
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The countryCodes to set.
      Returns:
      This builder for chaining.
    • addCountryCodes

      public GenerateRecommendationsRequest.Builder addCountryCodes(String value)
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The countryCodes to add.
      Returns:
      This builder for chaining.
    • addAllCountryCodes

      public GenerateRecommendationsRequest.Builder addAllCountryCodes(Iterable<String> values)
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The countryCodes to add.
      Returns:
      This builder for chaining.
    • clearCountryCodes

      public GenerateRecommendationsRequest.Builder clearCountryCodes()
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addCountryCodesBytes

      public GenerateRecommendationsRequest.Builder addCountryCodesBytes(com.google.protobuf.ByteString value)
       Optional. Current campaign country codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string country_codes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the countryCodes to add.
      Returns:
      This builder for chaining.
    • getLanguageCodesList

      public com.google.protobuf.ProtocolStringList getLanguageCodesList()
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodesList in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      A list containing the languageCodes.
    • getLanguageCodesCount

      public int getLanguageCodesCount()
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodesCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The count of languageCodes.
    • getLanguageCodes

      public String getLanguageCodes(int index)
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodes in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The languageCodes at the given index.
    • getLanguageCodesBytes

      public com.google.protobuf.ByteString getLanguageCodesBytes(int index)
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodesBytes in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the languageCodes at the given index.
    • setLanguageCodes

      public GenerateRecommendationsRequest.Builder setLanguageCodes(int index, String value)
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The languageCodes to set.
      Returns:
      This builder for chaining.
    • addLanguageCodes

      public GenerateRecommendationsRequest.Builder addLanguageCodes(String value)
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The languageCodes to add.
      Returns:
      This builder for chaining.
    • addAllLanguageCodes

      public GenerateRecommendationsRequest.Builder addAllLanguageCodes(Iterable<String> values)
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The languageCodes to add.
      Returns:
      This builder for chaining.
    • clearLanguageCodes

      public GenerateRecommendationsRequest.Builder clearLanguageCodes()
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addLanguageCodesBytes

      public GenerateRecommendationsRequest.Builder addLanguageCodesBytes(com.google.protobuf.ByteString value)
       Optional. Current campaign language codes.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated string language_codes = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the languageCodes to add.
      Returns:
      This builder for chaining.
    • getPositiveLocationsIdsList

      public List<Long> getPositiveLocationsIdsList()
       Optional. Current campaign positive location ids.
       One of this field OR negative_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 positive_locations_ids = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPositiveLocationsIdsList in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      A list containing the positiveLocationsIds.
    • getPositiveLocationsIdsCount

      public int getPositiveLocationsIdsCount()
       Optional. Current campaign positive location ids.
       One of this field OR negative_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 positive_locations_ids = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPositiveLocationsIdsCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The count of positiveLocationsIds.
    • getPositiveLocationsIds

      public long getPositiveLocationsIds(int index)
       Optional. Current campaign positive location ids.
       One of this field OR negative_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 positive_locations_ids = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPositiveLocationsIds in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The positiveLocationsIds at the given index.
    • setPositiveLocationsIds

      public GenerateRecommendationsRequest.Builder setPositiveLocationsIds(int index, long value)
       Optional. Current campaign positive location ids.
       One of this field OR negative_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 positive_locations_ids = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The positiveLocationsIds to set.
      Returns:
      This builder for chaining.
    • addPositiveLocationsIds

      public GenerateRecommendationsRequest.Builder addPositiveLocationsIds(long value)
       Optional. Current campaign positive location ids.
       One of this field OR negative_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 positive_locations_ids = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The positiveLocationsIds to add.
      Returns:
      This builder for chaining.
    • addAllPositiveLocationsIds

      public GenerateRecommendationsRequest.Builder addAllPositiveLocationsIds(Iterable<? extends Long> values)
       Optional. Current campaign positive location ids.
       One of this field OR negative_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 positive_locations_ids = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The positiveLocationsIds to add.
      Returns:
      This builder for chaining.
    • clearPositiveLocationsIds

      public GenerateRecommendationsRequest.Builder clearPositiveLocationsIds()
       Optional. Current campaign positive location ids.
       One of this field OR negative_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 positive_locations_ids = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getNegativeLocationsIdsList

      public List<Long> getNegativeLocationsIdsList()
       Optional. Current campaign negative location ids.
       One of this field OR positive_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 negative_locations_ids = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNegativeLocationsIdsList in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      A list containing the negativeLocationsIds.
    • getNegativeLocationsIdsCount

      public int getNegativeLocationsIdsCount()
       Optional. Current campaign negative location ids.
       One of this field OR positive_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 negative_locations_ids = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNegativeLocationsIdsCount in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The count of negativeLocationsIds.
    • getNegativeLocationsIds

      public long getNegativeLocationsIds(int index)
       Optional. Current campaign negative location ids.
       One of this field OR positive_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 negative_locations_ids = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNegativeLocationsIds in interface GenerateRecommendationsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The negativeLocationsIds at the given index.
    • setNegativeLocationsIds

      public GenerateRecommendationsRequest.Builder setNegativeLocationsIds(int index, long value)
       Optional. Current campaign negative location ids.
       One of this field OR positive_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 negative_locations_ids = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The negativeLocationsIds to set.
      Returns:
      This builder for chaining.
    • addNegativeLocationsIds

      public GenerateRecommendationsRequest.Builder addNegativeLocationsIds(long value)
       Optional. Current campaign negative location ids.
       One of this field OR positive_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 negative_locations_ids = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The negativeLocationsIds to add.
      Returns:
      This builder for chaining.
    • addAllNegativeLocationsIds

      public GenerateRecommendationsRequest.Builder addAllNegativeLocationsIds(Iterable<? extends Long> values)
       Optional. Current campaign negative location ids.
       One of this field OR positive_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 negative_locations_ids = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The negativeLocationsIds to add.
      Returns:
      This builder for chaining.
    • clearNegativeLocationsIds

      public GenerateRecommendationsRequest.Builder clearNegativeLocationsIds()
       Optional. Current campaign negative location ids.
       One of this field OR positive_location_ids is required for the following
       recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
       
      repeated int64 negative_locations_ids = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAssetGroupInfoList

      public List<GenerateRecommendationsRequest.AssetGroupInfo> getAssetGroupInfoList()
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetGroupInfoList in interface GenerateRecommendationsRequestOrBuilder
    • getAssetGroupInfoCount

      public int getAssetGroupInfoCount()
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetGroupInfoCount in interface GenerateRecommendationsRequestOrBuilder
    • getAssetGroupInfo

      public GenerateRecommendationsRequest.AssetGroupInfo getAssetGroupInfo(int index)
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetGroupInfo in interface GenerateRecommendationsRequestOrBuilder
    • setAssetGroupInfo

       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • setAssetGroupInfo

       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • addAssetGroupInfo

       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • addAssetGroupInfo

       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • addAssetGroupInfo

       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • addAssetGroupInfo

       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAssetGroupInfo

       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • clearAssetGroupInfo

      public GenerateRecommendationsRequest.Builder clearAssetGroupInfo()
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • removeAssetGroupInfo

      public GenerateRecommendationsRequest.Builder removeAssetGroupInfo(int index)
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getAssetGroupInfoBuilder

      public GenerateRecommendationsRequest.AssetGroupInfo.Builder getAssetGroupInfoBuilder(int index)
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getAssetGroupInfoOrBuilder

      public GenerateRecommendationsRequest.AssetGroupInfoOrBuilder getAssetGroupInfoOrBuilder(int index)
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetGroupInfoOrBuilder in interface GenerateRecommendationsRequestOrBuilder
    • getAssetGroupInfoOrBuilderList

      public List<? extends GenerateRecommendationsRequest.AssetGroupInfoOrBuilder> getAssetGroupInfoOrBuilderList()
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetGroupInfoOrBuilderList in interface GenerateRecommendationsRequestOrBuilder
    • addAssetGroupInfoBuilder

      public GenerateRecommendationsRequest.AssetGroupInfo.Builder addAssetGroupInfoBuilder()
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • addAssetGroupInfoBuilder

      public GenerateRecommendationsRequest.AssetGroupInfo.Builder addAssetGroupInfoBuilder(int index)
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getAssetGroupInfoBuilderList

      public List<GenerateRecommendationsRequest.AssetGroupInfo.Builder> getAssetGroupInfoBuilderList()
       Optional. Current AssetGroup Information.
       This field is required for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL];
    • hasTargetPartnerSearchNetwork

      public boolean hasTargetPartnerSearchNetwork()
       Optional. If true, the campaign is opted into serving ads on the Google
       Partner Network. This field is optional for the following
       recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_partner_search_network = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTargetPartnerSearchNetwork in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the targetPartnerSearchNetwork field is set.
    • getTargetPartnerSearchNetwork

      public boolean getTargetPartnerSearchNetwork()
       Optional. If true, the campaign is opted into serving ads on the Google
       Partner Network. This field is optional for the following
       recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_partner_search_network = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetPartnerSearchNetwork in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The targetPartnerSearchNetwork.
    • setTargetPartnerSearchNetwork

      public GenerateRecommendationsRequest.Builder setTargetPartnerSearchNetwork(boolean value)
       Optional. If true, the campaign is opted into serving ads on the Google
       Partner Network. This field is optional for the following
       recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_partner_search_network = 18 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The targetPartnerSearchNetwork to set.
      Returns:
      This builder for chaining.
    • clearTargetPartnerSearchNetwork

      public GenerateRecommendationsRequest.Builder clearTargetPartnerSearchNetwork()
       Optional. If true, the campaign is opted into serving ads on the Google
       Partner Network. This field is optional for the following
       recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_partner_search_network = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasTargetContentNetwork

      public boolean hasTargetContentNetwork()
       Optional. If true, the campaign is opted into serving ads on specified
       placements in the Google Display Network. This field is optional for the
       following recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_content_network = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTargetContentNetwork in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      Whether the targetContentNetwork field is set.
    • getTargetContentNetwork

      public boolean getTargetContentNetwork()
       Optional. If true, the campaign is opted into serving ads on specified
       placements in the Google Display Network. This field is optional for the
       following recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_content_network = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetContentNetwork in interface GenerateRecommendationsRequestOrBuilder
      Returns:
      The targetContentNetwork.
    • setTargetContentNetwork

      public GenerateRecommendationsRequest.Builder setTargetContentNetwork(boolean value)
       Optional. If true, the campaign is opted into serving ads on specified
       placements in the Google Display Network. This field is optional for the
       following recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_content_network = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The targetContentNetwork to set.
      Returns:
      This builder for chaining.
    • clearTargetContentNetwork

      public GenerateRecommendationsRequest.Builder clearTargetContentNetwork()
       Optional. If true, the campaign is opted into serving ads on specified
       placements in the Google Display Network. This field is optional for the
       following recommendation_types: CAMPAIGN_BUDGET
       
      optional bool target_content_network = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GenerateRecommendationsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
    • mergeUnknownFields

      public final GenerateRecommendationsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>