class Google::Apis::ContentV2_1::DatafeedTarget

Attributes

country[RW]

The country where the items in the feed will be included in the search index, represented as a CLDR territory code. Corresponds to the JSON property `country` @return [String]

excluded_destinations[RW]

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). Corresponds to the JSON property `excludedDestinations` @return [Array<String>]

included_destinations[RW]

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`. List of supported destinations (if available to the account): - DisplayAds - Shopping - ShoppingActions - SurfacesAcrossGoogle Corresponds to the JSON property `includedDestinations` @return [Array<String>]

language[RW]

The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`. Corresponds to the JSON property `language` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 2625
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 2630
def update!(**args)
  @country = args[:country] if args.key?(:country)
  @excluded_destinations = args[:excluded_destinations] if args.key?(:excluded_destinations)
  @included_destinations = args[:included_destinations] if args.key?(:included_destinations)
  @language = args[:language] if args.key?(:language)
end