View Source GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_Campaign_ShoppingSetting (google_api_search_ads360 v0.3.0)

The setting for Shopping campaigns. Defines the universe of products that can be advertised by the campaign, and how this campaign interacts with other Shopping campaigns.

Attributes

  • campaignPriority (type: integer(), default: nil) - 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.
  • enableLocal (type: boolean(), default: nil) - Whether to include local products.
  • feedLabel (type: String.t, default: nil) - 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.
  • merchantId (type: String.t, default: nil) - Immutable. ID of the Merchant Center account. This field is required for create operations. This field is immutable for Shopping campaigns.
  • salesCountry (type: String.t, default: nil) - Sales country of products to include in the campaign.
  • useVehicleInventory (type: boolean(), default: nil) - Immutable. Whether to target Vehicle Listing inventory.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_Campaign_ShoppingSetting{
    campaignPriority: integer() | nil,
    enableLocal: boolean() | nil,
    feedLabel: String.t() | nil,
    merchantId: String.t() | nil,
    salesCountry: String.t() | nil,
    useVehicleInventory: boolean() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.