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 Summary
Modifier and TypeMethodDescriptionaddAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo value) Optional.addAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo.Builder builderForValue) Optional.Optional.addAdGroupInfo(GenerateRecommendationsRequest.AdGroupInfo.Builder builderForValue) Optional.Optional.addAdGroupInfoBuilder(int index) Optional.addAllAdGroupInfo(Iterable<? extends GenerateRecommendationsRequest.AdGroupInfo> values) Optional.addAllAssetGroupInfo(Iterable<? extends GenerateRecommendationsRequest.AssetGroupInfo> values) Optional.addAllCountryCodes(Iterable<String> values) Optional.addAllLanguageCodes(Iterable<String> values) Optional.addAllNegativeLocationsIds(Iterable<? extends Long> values) Optional.addAllPositiveLocationsIds(Iterable<? extends Long> values) Optional.addAllRecommendationTypes(Iterable<? extends RecommendationTypeEnum.RecommendationType> values) Required.Required.addAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo value) Optional.addAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo.Builder builderForValue) Optional.Optional.addAssetGroupInfo(GenerateRecommendationsRequest.AssetGroupInfo.Builder builderForValue) Optional.Optional.addAssetGroupInfoBuilder(int index) Optional.addCountryCodes(String value) Optional.addCountryCodesBytes(com.google.protobuf.ByteString value) Optional.addLanguageCodes(String value) Optional.addLanguageCodesBytes(com.google.protobuf.ByteString value) Optional.addNegativeLocationsIds(long value) Optional.addPositiveLocationsIds(long value) Optional.Required.addRecommendationTypesValue(int value) Required.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.Required.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Required.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional.Required.Optional.Optional.Optional.clone()getAdGroupInfo(int index) Optional.getAdGroupInfoBuilder(int index) Optional.Optional.intOptional.Optional.getAdGroupInfoOrBuilder(int index) Optional.Optional.Required.intRequired.getAssetGroupInfo(int index) Optional.getAssetGroupInfoBuilder(int index) Optional.Optional.intOptional.Optional.getAssetGroupInfoOrBuilder(int index) Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.intOptional.intOptional.intOptional.Optional.intOptional.getCountryCodes(int index) Optional.com.google.protobuf.ByteStringgetCountryCodesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLanguageCodes(int index) Optional.com.google.protobuf.ByteStringgetLanguageCodesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.longgetNegativeLocationsIds(int index) Optional.intOptional.Optional.longgetPositiveLocationsIds(int index) Optional.intOptional.Optional.getRecommendationTypes(int index) Required.intRequired.Required.intgetRecommendationTypesValue(int index) Required.Required.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOptional.Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeAdGroupInfo(int index) Optional.removeAssetGroupInfo(int index) Optional.setAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo value) Optional.setAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo.Builder builderForValue) Optional.Required.setAdvertisingChannelTypeValue(int value) Required.setAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo value) Optional.setAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo.Builder builderForValue) Optional.Optional.setBiddingInfo(GenerateRecommendationsRequest.BiddingInfo.Builder builderForValue) Optional.Optional.setBudgetInfo(GenerateRecommendationsRequest.BudgetInfo.Builder builderForValue) Optional.setCampaignCallAssetCount(int value) Optional.setCampaignImageAssetCount(int value) Optional.setCampaignSitelinkCount(int value) Optional.Optional.setConversionTrackingStatusValue(int value) Optional.setCountryCodes(int index, String value) Optional.setCustomerId(String value) Required.setCustomerIdBytes(com.google.protobuf.ByteString value) Required.setLanguageCodes(int index, String value) Optional.setNegativeLocationsIds(int index, long value) Optional.setPositiveLocationsIds(int index, long value) Optional.setRecommendationTypes(int index, RecommendationTypeEnum.RecommendationType value) Required.setRecommendationTypesValue(int index, int value) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Optional.setSeedInfo(GenerateRecommendationsRequest.SeedInfo.Builder builderForValue) Optional.setTargetContentNetwork(boolean value) Optional.setTargetPartnerSearchNetwork(boolean value) Optional.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
setField
public GenerateRecommendationsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
clearField
public GenerateRecommendationsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
clearOneof
public GenerateRecommendationsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
setRepeatedField
public GenerateRecommendationsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
addRepeatedField
public GenerateRecommendationsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateRecommendationsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateRecommendationsRequest.Builder>- Throws:
IOException
-
getCustomerId
Required. The ID of the customer generating recommendations.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCustomerIdin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getCustomerIdBytesin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The bytes for customerId.
-
setCustomerId
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
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
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:
getRecommendationTypesListin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getRecommendationTypesCountin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The count of recommendationTypes.
-
getRecommendationTypes
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:
getRecommendationTypesin interfaceGenerateRecommendationsRequestOrBuilder- 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
public GenerateRecommendationsRequest.Builder addRecommendationTypes(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:
value- The recommendationTypes to add.- Returns:
- This builder for chaining.
-
addAllRecommendationTypes
public GenerateRecommendationsRequest.Builder addAllRecommendationTypes(Iterable<? extends RecommendationTypeEnum.RecommendationType> 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 recommendationTypes to add.- Returns:
- This builder for chaining.
-
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
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:
getRecommendationTypesValueListin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getRecommendationTypesValuein interfaceGenerateRecommendationsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of recommendationTypes at the given index.
-
setRecommendationTypesValue
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
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:
getAdvertisingChannelTypeValuein interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The enum numeric value on the wire for advertisingChannelType.
-
setAdvertisingChannelTypeValue
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
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:
getAdvertisingChannelTypein interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The advertisingChannelType.
-
setAdvertisingChannelType
public GenerateRecommendationsRequest.Builder setAdvertisingChannelType(AdvertisingChannelTypeEnum.AdvertisingChannelType 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 advertisingChannelType to set.- Returns:
- This builder for chaining.
-
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:
hasCampaignSitelinkCountin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getCampaignSitelinkCountin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The campaignSitelinkCount.
-
setCampaignSitelinkCount
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
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:
hasConversionTrackingStatusin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getConversionTrackingStatusValuein interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The enum numeric value on the wire for conversionTrackingStatus.
-
setConversionTrackingStatusValue
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
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:
getConversionTrackingStatusin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The conversionTrackingStatus.
-
setConversionTrackingStatus
public GenerateRecommendationsRequest.Builder setConversionTrackingStatus(ConversionTrackingStatusEnum.ConversionTrackingStatus 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 conversionTrackingStatus to set.- Returns:
- This builder for chaining.
-
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:
hasBiddingInfoin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getBiddingInfoin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The biddingInfo.
-
setBiddingInfo
public GenerateRecommendationsRequest.Builder setBiddingInfo(GenerateRecommendationsRequest.BiddingInfo value) 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
public GenerateRecommendationsRequest.Builder setBiddingInfo(GenerateRecommendationsRequest.BiddingInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder mergeBiddingInfo(GenerateRecommendationsRequest.BiddingInfo value) 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
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
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:
getBiddingInfoOrBuilderin interfaceGenerateRecommendationsRequestOrBuilder
-
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:
getAdGroupInfoListin interfaceGenerateRecommendationsRequestOrBuilder
-
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:
getAdGroupInfoCountin interfaceGenerateRecommendationsRequestOrBuilder
-
getAdGroupInfo
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:
getAdGroupInfoin interfaceGenerateRecommendationsRequestOrBuilder
-
setAdGroupInfo
public GenerateRecommendationsRequest.Builder setAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo value) 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
public GenerateRecommendationsRequest.Builder setAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder addAdGroupInfo(GenerateRecommendationsRequest.AdGroupInfo value) 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
public GenerateRecommendationsRequest.Builder addAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo value) 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
public GenerateRecommendationsRequest.Builder addAdGroupInfo(GenerateRecommendationsRequest.AdGroupInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder addAdGroupInfo(int index, GenerateRecommendationsRequest.AdGroupInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder addAllAdGroupInfo(Iterable<? extends GenerateRecommendationsRequest.AdGroupInfo> values) 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
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
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
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
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:
getAdGroupInfoOrBuilderin interfaceGenerateRecommendationsRequestOrBuilder
-
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:
getAdGroupInfoOrBuilderListin interfaceGenerateRecommendationsRequestOrBuilder
-
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
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
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:
hasSeedInfoin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getSeedInfoin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The seedInfo.
-
setSeedInfo
public GenerateRecommendationsRequest.Builder setSeedInfo(GenerateRecommendationsRequest.SeedInfo value) 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
public GenerateRecommendationsRequest.Builder setSeedInfo(GenerateRecommendationsRequest.SeedInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder mergeSeedInfo(GenerateRecommendationsRequest.SeedInfo value) 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
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:
getSeedInfoOrBuilderin interfaceGenerateRecommendationsRequestOrBuilder
-
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:
hasBudgetInfoin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getBudgetInfoin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The budgetInfo.
-
setBudgetInfo
public GenerateRecommendationsRequest.Builder setBudgetInfo(GenerateRecommendationsRequest.BudgetInfo value) 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
public GenerateRecommendationsRequest.Builder setBudgetInfo(GenerateRecommendationsRequest.BudgetInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder mergeBudgetInfo(GenerateRecommendationsRequest.BudgetInfo value) 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
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
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:
getBudgetInfoOrBuilderin interfaceGenerateRecommendationsRequestOrBuilder
-
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:
hasCampaignImageAssetCountin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getCampaignImageAssetCountin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The campaignImageAssetCount.
-
setCampaignImageAssetCount
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
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:
hasCampaignCallAssetCountin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getCampaignCallAssetCountin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The campaignCallAssetCount.
-
setCampaignCallAssetCount
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
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:
getCountryCodesListin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getCountryCodesCountin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The count of countryCodes.
-
getCountryCodes
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:
getCountryCodesin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getCountryCodesBytesin interfaceGenerateRecommendationsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the countryCodes at the given index.
-
setCountryCodes
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
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
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
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:
getLanguageCodesListin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getLanguageCodesCountin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The count of languageCodes.
-
getLanguageCodes
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:
getLanguageCodesin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getLanguageCodesBytesin interfaceGenerateRecommendationsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the languageCodes at the given index.
-
setLanguageCodes
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
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
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
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
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:
getPositiveLocationsIdsListin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getPositiveLocationsIdsCountin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getPositiveLocationsIdsin interfaceGenerateRecommendationsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The positiveLocationsIds at the given index.
-
setPositiveLocationsIds
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
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
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
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:
getNegativeLocationsIdsListin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getNegativeLocationsIdsCountin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getNegativeLocationsIdsin interfaceGenerateRecommendationsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The negativeLocationsIds at the given index.
-
setNegativeLocationsIds
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
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
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
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:
getAssetGroupInfoListin interfaceGenerateRecommendationsRequestOrBuilder
-
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:
getAssetGroupInfoCountin interfaceGenerateRecommendationsRequestOrBuilder
-
getAssetGroupInfo
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:
getAssetGroupInfoin interfaceGenerateRecommendationsRequestOrBuilder
-
setAssetGroupInfo
public GenerateRecommendationsRequest.Builder setAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo value) 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
public GenerateRecommendationsRequest.Builder setAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder addAssetGroupInfo(GenerateRecommendationsRequest.AssetGroupInfo value) 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
public GenerateRecommendationsRequest.Builder addAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo value) 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
public GenerateRecommendationsRequest.Builder addAssetGroupInfo(GenerateRecommendationsRequest.AssetGroupInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder addAssetGroupInfo(int index, GenerateRecommendationsRequest.AssetGroupInfo.Builder builderForValue) 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
public GenerateRecommendationsRequest.Builder addAllAssetGroupInfo(Iterable<? extends GenerateRecommendationsRequest.AssetGroupInfo> values) 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
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
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
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
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:
getAssetGroupInfoOrBuilderin interfaceGenerateRecommendationsRequestOrBuilder
-
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:
getAssetGroupInfoOrBuilderListin interfaceGenerateRecommendationsRequestOrBuilder
-
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
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
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:
hasTargetPartnerSearchNetworkin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getTargetPartnerSearchNetworkin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The targetPartnerSearchNetwork.
-
setTargetPartnerSearchNetwork
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
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:
hasTargetContentNetworkin interfaceGenerateRecommendationsRequestOrBuilder- 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:
getTargetContentNetworkin interfaceGenerateRecommendationsRequestOrBuilder- Returns:
- The targetContentNetwork.
-
setTargetContentNetwork
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-
mergeUnknownFields
public final GenerateRecommendationsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateRecommendationsRequest.Builder>
-