Class DatafeedTarget
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class DatafeedTarget : IDirectResponseSchema
Properties
Country
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.
Declaration
[JsonProperty("country")]
public virtual string Country { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExcludedDestinations
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.
Declaration
[JsonProperty("excludedDestinations")]
public virtual IList<string> ExcludedDestinations { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
FeedLabel
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 (-).
Declaration
[JsonProperty("feedLabel")]
public virtual string FeedLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
IncludedDestinations
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
.
Declaration
[JsonProperty("includedDestinations")]
public virtual IList<string> IncludedDestinations { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Language
The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for
targets[].country
.
Declaration
[JsonProperty("language")]
public virtual string Language { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetCountries
The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for "product inventory" feeds.
Declaration
[JsonProperty("targetCountries")]
public virtual IList<string> TargetCountries { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |