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
      int getCampaignPriority()
      Priority of the campaign.
      boolean getEnableLocal()
      Whether to include local products.
      long getMerchantId()
      Immutable.
      java.lang.String getSalesCountry()
      Sales country of products to include in the campaign.
      com.google.protobuf.ByteString getSalesCountryBytes()
      Sales country of products to include in the campaign.
      boolean getUseVehicleInventory()
      Immutable.
      boolean hasCampaignPriority()
      Priority of the campaign.
      boolean hasEnableLocal()
      Whether to include local products.
      boolean hasMerchantId()
      Immutable.
      boolean hasSalesCountry()
      Sales country of products to include in the campaign.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.
      • hasSalesCountry

        boolean hasSalesCountry()
         Sales country of products to include in the campaign.
         This field is required for Shopping campaigns.
         This field is optional for non-Shopping campaigns, but it must be equal
         to 'ZZ' if set.
         
        optional string sales_country = 6;
        Returns:
        Whether the salesCountry field is set.
      • getSalesCountry

        java.lang.String getSalesCountry()
         Sales country of products to include in the campaign.
         This field is required for Shopping campaigns.
         This field is optional for non-Shopping campaigns, but it must be equal
         to 'ZZ' if set.
         
        optional string sales_country = 6;
        Returns:
        The salesCountry.
      • getSalesCountryBytes

        com.google.protobuf.ByteString getSalesCountryBytes()
         Sales country of products to include in the campaign.
         This field is required for Shopping campaigns.
         This field is optional for non-Shopping campaigns, but it must be equal
         to 'ZZ' if set.
         
        optional string sales_country = 6;
        Returns:
        The bytes for salesCountry.
      • 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.
         
        bool use_vehicle_inventory = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The useVehicleInventory.