View Source GoogleApi.Content.V21.Model.DatafeedTarget (google_api_content v0.67.1)

Attributes

  • country (type: String.t, default: nil) - Deprecated. Use feedLabel instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
  • excludedDestinations (type: list(String.t), default: nil) - The list of destinations to exclude for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
  • feedLabel (type: String.t, default: nil) - Feed label for the DatafeedTarget. Either country or feedLabel is required. If both feedLabel and country is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
  • includedDestinations (type: list(String.t), default: nil) - The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.
  • language (type: String.t, default: nil) - The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targets[].country.
  • targetCountries (type: list(String.t), default: nil) - The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for "product inventory" feeds.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.DatafeedTarget{
  country: String.t() | nil,
  excludedDestinations: [String.t()] | nil,
  feedLabel: String.t() | nil,
  includedDestinations: [String.t()] | nil,
  language: String.t() | nil,
  targetCountries: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.