Class GenerateRecommendationsRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.GenerateRecommendationsRequest
- All Implemented Interfaces:
GenerateRecommendationsRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GenerateRecommendationsRequest
extends com.google.protobuf.GeneratedMessageV3
implements GenerateRecommendationsRequestOrBuilder
Request message for [RecommendationService.GenerateRecommendations][google.ads.googleads.v18.services.RecommendationService.GenerateRecommendations].Protobuf type
google.ads.googleads.v18.services.GenerateRecommendationsRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCurrent AdGroup Information of the campaign.static interfacestatic final classCurrent AssetGroup information of the campaign.static interfacestatic final classCurrent bidding information of the campaign.static interfacestatic final classCurrent budget information of the campaign.static interfacestatic final classRequest message for [RecommendationService.GenerateRecommendations][google.ads.googleads.v18.services.RecommendationService.GenerateRecommendations].static final classA keyword seed and a specific url to generate keywords from.static interfacestatic final classCurrent Target Impression Share information of the campaign.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdGroupInfo(int index) Optional.intOptional.Optional.getAdGroupInfoOrBuilder(int index) Optional.Optional.Required.intRequired.getAssetGroupInfo(int index) Optional.intOptional.Optional.getAssetGroupInfoOrBuilder(int index) 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.DescriptorgetLanguageCodes(int index) Optional.com.google.protobuf.ByteStringgetLanguageCodesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.longgetNegativeLocationsIds(int index) Optional.intOptional.Optional.com.google.protobuf.Parser<GenerateRecommendationsRequest>longgetPositiveLocationsIds(int index) Optional.intOptional.Optional.getRecommendationTypes(int index) Required.intRequired.Required.intgetRecommendationTypesValue(int index) Required.Required.Optional.Optional.intbooleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GenerateRecommendationsRequest prototype) protected GenerateRecommendationsRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GenerateRecommendationsRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CUSTOMER_ID_FIELD_NUMBER
public static final int CUSTOMER_ID_FIELD_NUMBER- See Also:
-
RECOMMENDATION_TYPES_FIELD_NUMBER
public static final int RECOMMENDATION_TYPES_FIELD_NUMBER- See Also:
-
ADVERTISING_CHANNEL_TYPE_FIELD_NUMBER
public static final int ADVERTISING_CHANNEL_TYPE_FIELD_NUMBER- See Also:
-
CAMPAIGN_SITELINK_COUNT_FIELD_NUMBER
public static final int CAMPAIGN_SITELINK_COUNT_FIELD_NUMBER- See Also:
-
CONVERSION_TRACKING_STATUS_FIELD_NUMBER
public static final int CONVERSION_TRACKING_STATUS_FIELD_NUMBER- See Also:
-
BIDDING_INFO_FIELD_NUMBER
public static final int BIDDING_INFO_FIELD_NUMBER- See Also:
-
AD_GROUP_INFO_FIELD_NUMBER
public static final int AD_GROUP_INFO_FIELD_NUMBER- See Also:
-
SEED_INFO_FIELD_NUMBER
public static final int SEED_INFO_FIELD_NUMBER- See Also:
-
BUDGET_INFO_FIELD_NUMBER
public static final int BUDGET_INFO_FIELD_NUMBER- See Also:
-
CAMPAIGN_IMAGE_ASSET_COUNT_FIELD_NUMBER
public static final int CAMPAIGN_IMAGE_ASSET_COUNT_FIELD_NUMBER- See Also:
-
CAMPAIGN_CALL_ASSET_COUNT_FIELD_NUMBER
public static final int CAMPAIGN_CALL_ASSET_COUNT_FIELD_NUMBER- See Also:
-
COUNTRY_CODES_FIELD_NUMBER
public static final int COUNTRY_CODES_FIELD_NUMBER- See Also:
-
LANGUAGE_CODES_FIELD_NUMBER
public static final int LANGUAGE_CODES_FIELD_NUMBER- See Also:
-
POSITIVE_LOCATIONS_IDS_FIELD_NUMBER
public static final int POSITIVE_LOCATIONS_IDS_FIELD_NUMBER- See Also:
-
NEGATIVE_LOCATIONS_IDS_FIELD_NUMBER
public static final int NEGATIVE_LOCATIONS_IDS_FIELD_NUMBER- See Also:
-
ASSET_GROUP_INFO_FIELD_NUMBER
public static final int ASSET_GROUP_INFO_FIELD_NUMBER- See Also:
-
TARGET_PARTNER_SEARCH_NETWORK_FIELD_NUMBER
public static final int TARGET_PARTNER_SEARCH_NETWORK_FIELD_NUMBER- See Also:
-
TARGET_CONTENT_NETWORK_FIELD_NUMBER
public static final int TARGET_CONTENT_NETWORK_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GenerateRecommendationsRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GenerateRecommendationsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GenerateRecommendationsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static GenerateRecommendationsRequest.Builder newBuilder(GenerateRecommendationsRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GenerateRecommendationsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-