Interface GenerateRecommendationsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateRecommendationsRequest,GenerateRecommendationsRequest.Builder
public interface GenerateRecommendationsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAdGroupInfo(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.Optional.Required.com.google.protobuf.ByteStringRequired.getLanguageCodes(int index) Optional.com.google.protobuf.ByteStringgetLanguageCodesBytes(int index) Optional.intOptional.Optional.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.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCustomerId
String getCustomerId()Required. The ID of the customer generating recommendations.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The customerId.
-
getCustomerIdBytes
com.google.protobuf.ByteString getCustomerIdBytes()Required. The ID of the customer generating recommendations.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for customerId.
-
getRecommendationTypesList
List<RecommendationTypeEnum.RecommendationType> getRecommendationTypesList()Required. List of eligible recommendation_types to generate. If the uploaded criteria isn't sufficient to make a recommendation, or the campaign is already in the recommended state, no recommendation will be returned for that type. Generally, a recommendation is returned if all required fields for that recommendation_type are uploaded, but there are cases where this is still not sufficient. The following recommendation_types are supported for recommendation generation: CAMPAIGN_BUDGET, KEYWORD, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, SITELINK_ASSET, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
repeated .google.ads.googleads.v18.enums.RecommendationTypeEnum.RecommendationType recommendation_types = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the recommendationTypes.
-
getRecommendationTypesCount
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];- 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];- 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];- Returns:
- A list containing the enum numeric values on the wire for recommendationTypes.
-
getRecommendationTypesValue
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];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of recommendationTypes at the given index.
-
getAdvertisingChannelTypeValue
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];- Returns:
- The enum numeric value on the wire for advertisingChannelType.
-
getAdvertisingChannelType
AdvertisingChannelTypeEnum.AdvertisingChannelType getAdvertisingChannelType()Required. Advertising channel type of the campaign. The following advertising_channel_types are supported for recommendation generation: PERFORMANCE_MAX and SEARCH
.google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The advertisingChannelType.
-
hasCampaignSitelinkCount
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];- Returns:
- Whether the campaignSitelinkCount field is set.
-
getCampaignSitelinkCount
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];- Returns:
- The campaignSitelinkCount.
-
hasConversionTrackingStatus
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];- Returns:
- Whether the conversionTrackingStatus field is set.
-
getConversionTrackingStatusValue
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];- Returns:
- The enum numeric value on the wire for conversionTrackingStatus.
-
getConversionTrackingStatus
ConversionTrackingStatusEnum.ConversionTrackingStatus getConversionTrackingStatus()Optional. Current conversion tracking status. This field is necessary for the following recommendation_types: MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
optional .google.ads.googleads.v18.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The conversionTrackingStatus.
-
hasBiddingInfo
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];- Returns:
- Whether the biddingInfo field is set.
-
getBiddingInfo
GenerateRecommendationsRequest.BiddingInfo 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];- Returns:
- The biddingInfo.
-
getBiddingInfoOrBuilder
GenerateRecommendationsRequest.BiddingInfoOrBuilder getBiddingInfoOrBuilder()Optional. Current bidding information of the campaign. This field is necessary for the following recommendation_types: CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BiddingInfo bidding_info = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getAdGroupInfoList
List<GenerateRecommendationsRequest.AdGroupInfo> getAdGroupInfoList()Optional. Current AdGroup Information. Supports information from a single AdGroup. This field is optional for the following recommendation_types: KEYWORD This field is required for the following recommendation_types: CAMPAIGN_BUDGET if AdvertisingChannelType is SEARCH
repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AdGroupInfo ad_group_info = 7 [(.google.api.field_behavior) = OPTIONAL]; -
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]; -
getAdGroupInfoCount
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]; -
getAdGroupInfoOrBuilderList
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]; -
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]; -
hasSeedInfo
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];- Returns:
- Whether the seedInfo field is set.
-
getSeedInfo
GenerateRecommendationsRequest.SeedInfo 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];- Returns:
- The seedInfo.
-
getSeedInfoOrBuilder
GenerateRecommendationsRequest.SeedInfoOrBuilder getSeedInfoOrBuilder()Optional. Seed information for Keywords. This field is necessary for the following recommendation_types: KEYWORD
optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.SeedInfo seed_info = 8 [(.google.api.field_behavior) = OPTIONAL]; -
hasBudgetInfo
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];- Returns:
- Whether the budgetInfo field is set.
-
getBudgetInfo
GenerateRecommendationsRequest.BudgetInfo 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];- Returns:
- The budgetInfo.
-
getBudgetInfoOrBuilder
GenerateRecommendationsRequest.BudgetInfoOrBuilder getBudgetInfoOrBuilder()Optional. Current budget information. This field is optional for the following recommendation_types: CAMPAIGN_BUDGET
optional .google.ads.googleads.v18.services.GenerateRecommendationsRequest.BudgetInfo budget_info = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasCampaignImageAssetCount
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];- Returns:
- Whether the campaignImageAssetCount field is set.
-
getCampaignImageAssetCount
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];- Returns:
- The campaignImageAssetCount.
-
hasCampaignCallAssetCount
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];- Returns:
- Whether the campaignCallAssetCount field is set.
-
getCampaignCallAssetCount
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];- Returns:
- The campaignCallAssetCount.
-
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];- Returns:
- A list containing the countryCodes.
-
getCountryCodesCount
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];- 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];- Parameters:
index- The index of the element to return.- Returns:
- The countryCodes at the given index.
-
getCountryCodesBytes
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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the countryCodes at the given index.
-
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];- Returns:
- A list containing the languageCodes.
-
getLanguageCodesCount
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];- 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];- Parameters:
index- The index of the element to return.- Returns:
- The languageCodes at the given index.
-
getLanguageCodesBytes
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];- 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];- Returns:
- A list containing the positiveLocationsIds.
-
getPositiveLocationsIdsCount
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];- Returns:
- The count of positiveLocationsIds.
-
getPositiveLocationsIds
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];- 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];- Returns:
- A list containing the negativeLocationsIds.
-
getNegativeLocationsIdsCount
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];- Returns:
- The count of negativeLocationsIds.
-
getNegativeLocationsIds
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];- Parameters:
index- The index of the element to return.- Returns:
- The negativeLocationsIds at the given index.
-
getAssetGroupInfoList
List<GenerateRecommendationsRequest.AssetGroupInfo> getAssetGroupInfoList()Optional. Current AssetGroup Information. This field is required for the following recommendation_types: CAMPAIGN_BUDGET
repeated .google.ads.googleads.v18.services.GenerateRecommendationsRequest.AssetGroupInfo asset_group_info = 17 [(.google.api.field_behavior) = OPTIONAL]; -
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]; -
getAssetGroupInfoCount
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]; -
getAssetGroupInfoOrBuilderList
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]; -
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]; -
hasTargetPartnerSearchNetwork
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];- Returns:
- Whether the targetPartnerSearchNetwork field is set.
-
getTargetPartnerSearchNetwork
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];- Returns:
- The targetPartnerSearchNetwork.
-
hasTargetContentNetwork
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];- Returns:
- Whether the targetContentNetwork field is set.
-
getTargetContentNetwork
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];- Returns:
- The targetContentNetwork.
-