Interface Campaign.ShoppingSettingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Campaign.ShoppingSetting,Campaign.ShoppingSetting.Builder
- Enclosing class:
- Campaign
public static interface Campaign.ShoppingSettingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAdvertisingPartnerIds(int index)Immutable.intgetAdvertisingPartnerIdsCount()Immutable.java.util.List<java.lang.Long>getAdvertisingPartnerIdsList()Immutable.intgetCampaignPriority()Priority of the campaign.booleangetEnableLocal()Whether to include local products.java.lang.StringgetFeedLabel()Feed label of products to include in the campaign.com.google.protobuf.ByteStringgetFeedLabelBytes()Feed label of products to include in the campaign.longgetMerchantId()Immutable.booleangetUseVehicleInventory()Immutable.booleanhasCampaignPriority()Priority of the campaign.booleanhasEnableLocal()Whether to include local products.booleanhasMerchantId()Immutable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMerchantId
boolean hasMerchantId()
Immutable. ID of the Merchant Center account. This field is required for create operations. This field is immutable for Shopping campaigns.
optional int64 merchant_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the merchantId field is set.
-
getMerchantId
long getMerchantId()
Immutable. ID of the Merchant Center account. This field is required for create operations. This field is immutable for Shopping campaigns.
optional int64 merchant_id = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The merchantId.
-
getFeedLabel
java.lang.String getFeedLabel()
Feed label of products to include in the campaign. Only one of feed_label or sales_country can be set. If used instead of sales_country, the feed_label field accepts country codes in the same format for example: 'XX'. Otherwise can be any string used for feed label in Google Merchant Center.
string feed_label = 10;- Returns:
- The feedLabel.
-
getFeedLabelBytes
com.google.protobuf.ByteString getFeedLabelBytes()
Feed label of products to include in the campaign. Only one of feed_label or sales_country can be set. If used instead of sales_country, the feed_label field accepts country codes in the same format for example: 'XX'. Otherwise can be any string used for feed label in Google Merchant Center.
string feed_label = 10;- Returns:
- The bytes for feedLabel.
-
hasCampaignPriority
boolean hasCampaignPriority()
Priority of the campaign. Campaigns with numerically higher priorities take precedence over those with lower priorities. This field is required for Shopping campaigns, with values between 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 if set.
optional int32 campaign_priority = 7;- Returns:
- Whether the campaignPriority field is set.
-
getCampaignPriority
int getCampaignPriority()
Priority of the campaign. Campaigns with numerically higher priorities take precedence over those with lower priorities. This field is required for Shopping campaigns, with values between 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 if set.
optional int32 campaign_priority = 7;- Returns:
- The campaignPriority.
-
hasEnableLocal
boolean hasEnableLocal()
Whether to include local products.
optional bool enable_local = 8;- Returns:
- Whether the enableLocal field is set.
-
getEnableLocal
boolean getEnableLocal()
Whether to include local products.
optional bool enable_local = 8;- Returns:
- The enableLocal.
-
getUseVehicleInventory
boolean getUseVehicleInventory()
Immutable. Whether to target Vehicle Listing inventory. This field is supported only in Smart Shopping Campaigns. For setting Vehicle Listing inventory in Performance Max campaigns, use `listing_type` instead.
bool use_vehicle_inventory = 9 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The useVehicleInventory.
-
getAdvertisingPartnerIdsList
java.util.List<java.lang.Long> getAdvertisingPartnerIdsList()
Immutable. The ads account IDs of advertising partners cooperating within the campaign.
repeated int64 advertising_partner_ids = 11 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- A list containing the advertisingPartnerIds.
-
getAdvertisingPartnerIdsCount
int getAdvertisingPartnerIdsCount()
Immutable. The ads account IDs of advertising partners cooperating within the campaign.
repeated int64 advertising_partner_ids = 11 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The count of advertisingPartnerIds.
-
getAdvertisingPartnerIds
long getAdvertisingPartnerIds(int index)
Immutable. The ads account IDs of advertising partners cooperating within the campaign.
repeated int64 advertising_partner_ids = 11 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
index- The index of the element to return.- Returns:
- The advertisingPartnerIds at the given index.
-
-