Class CssProductInput
This resource represents input data you submit for a CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces.
Implements
Inherited Members
Namespace: Google.Apis.Css.v1.Data
Assembly: Google.Apis.Css.v1.dll
Syntax
public class CssProductInput : IDirectResponseSchema
Properties
Attributes
A list of CSS Product attributes.
Declaration
[JsonProperty("attributes")]
public virtual Attributes Attributes { get; set; }
Property Value
Type | Description |
---|---|
Attributes |
ContentLanguage
Required. The two-letter ISO 639-1 language code for the CSS Product.
Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomAttributes
A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed
specification in its generic form (for example: { "name": "size type", "value": "regular" }
). This is
useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for
Buy on Google.
Declaration
[JsonProperty("customAttributes")]
public virtual IList<CustomAttribute> CustomAttributes { get; set; }
Property Value
Type | Description |
---|---|
IList<CustomAttribute> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FeedLabel
Required. The feed label for the CSS Product. Feed Label is synonymous to "target country" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France.
Declaration
[JsonProperty("feedLabel")]
public virtual string FeedLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
FinalName
Output only. The name of the processed CSS Product. Format: accounts/{account}/cssProducts/{css_product}
"
Declaration
[JsonProperty("finalName")]
public virtual string FinalName { get; set; }
Property Value
Type | Description |
---|---|
string |
FreshnessTime
object representation of FreshnessTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use FreshnessTimeDateTimeOffset instead.")]
public virtual object FreshnessTime { get; set; }
Property Value
Type | Description |
---|---|
object |
FreshnessTimeDateTimeOffset
DateTimeOffset representation of FreshnessTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? FreshnessTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
FreshnessTimeRaw
Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown.
Declaration
[JsonProperty("freshnessTime")]
public virtual string FreshnessTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of the CSS Product input. Format: accounts/{account}/cssProductInputs/{css_product_input}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RawProvidedId
Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the products feed specification for details.
Declaration
[JsonProperty("rawProvidedId")]
public virtual string RawProvidedId { get; set; }
Property Value
Type | Description |
---|---|
string |