Class Attributes
Attributes for CSS Product.
Implements
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class Attributes : IMessage<Attributes>, IEquatable<Attributes>, IDeepCloneable<Attributes>, IBufferMessage, IMessage
Constructors
Attributes()
Declaration
public Attributes()
Attributes(Attributes)
Declaration
public Attributes(Attributes other)
Parameters
| Type | Name | Description |
|---|---|---|
| Attributes | other |
Properties
AdditionalImageLinks
Additional URL of images of the item.
Declaration
public RepeatedField<string> AdditionalImageLinks { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
Adult
Set to true if the item is targeted towards adults.
Declaration
public bool Adult { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AgeGroup
Target age group of the item.
Declaration
public string AgeGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Brand
Product Related Attributes.[14-36] Brand of the item.
Declaration
public string Brand { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Certifications
A list of certificates claimed by the CSS for the given product.
Declaration
public RepeatedField<Certification> Certifications { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Certification> |
Color
Color of the item.
Declaration
public string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CppAdsRedirect
Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
Declaration
public string CppAdsRedirect { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CppLink
URL directly linking to your the Product Detail Page of the CSS.
Declaration
public string CppLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CppMobileLink
URL for the mobile-optimized version of the Product Detail Page of the CSS.
Declaration
public string CppMobileLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomLabel0
Custom label 0 for custom grouping of items in a Shopping campaign.
Declaration
public string CustomLabel0 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomLabel1
Custom label 1 for custom grouping of items in a Shopping campaign.
Declaration
public string CustomLabel1 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomLabel2
Custom label 2 for custom grouping of items in a Shopping campaign.
Declaration
public string CustomLabel2 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomLabel3
Custom label 3 for custom grouping of items in a Shopping campaign.
Declaration
public string CustomLabel3 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomLabel4
Custom label 4 for custom grouping of items in a Shopping campaign.
Declaration
public string CustomLabel4 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Description of the item.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExcludedDestinations
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
Declaration
public RepeatedField<string> ExcludedDestinations { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ExpirationDate
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses as
googleExpirationDate
and might be earlier if expirationDate is too far in the future.
Note: It may take 2+ days from the expiration date for the item to
actually get deleted.
Declaration
public Timestamp ExpirationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Gender
Target gender of the item.
Declaration
public string Gender { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GoogleProductCategory
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
Declaration
public string GoogleProductCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Gtin
Global Trade Item Number (GTIN) of the item.
Declaration
public string Gtin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasAdult
Gets whether the "adult" field is set
Declaration
public bool HasAdult { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasAgeGroup
Gets whether the "age_group" field is set
Declaration
public bool HasAgeGroup { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasBrand
Gets whether the "brand" field is set
Declaration
public bool HasBrand { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasColor
Gets whether the "color" field is set
Declaration
public bool HasColor { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCppAdsRedirect
Gets whether the "cpp_ads_redirect" field is set
Declaration
public bool HasCppAdsRedirect { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCppLink
Gets whether the "cpp_link" field is set
Declaration
public bool HasCppLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCppMobileLink
Gets whether the "cpp_mobile_link" field is set
Declaration
public bool HasCppMobileLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCustomLabel0
Gets whether the "custom_label_0" field is set
Declaration
public bool HasCustomLabel0 { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCustomLabel1
Gets whether the "custom_label_1" field is set
Declaration
public bool HasCustomLabel1 { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCustomLabel2
Gets whether the "custom_label_2" field is set
Declaration
public bool HasCustomLabel2 { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCustomLabel3
Gets whether the "custom_label_3" field is set
Declaration
public bool HasCustomLabel3 { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCustomLabel4
Gets whether the "custom_label_4" field is set
Declaration
public bool HasCustomLabel4 { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasDescription
Gets whether the "description" field is set
Declaration
public bool HasDescription { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasGender
Gets whether the "gender" field is set
Declaration
public bool HasGender { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasGoogleProductCategory
Gets whether the "google_product_category" field is set
Declaration
public bool HasGoogleProductCategory { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasGtin
Gets whether the "gtin" field is set
Declaration
public bool HasGtin { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasHeadlineOfferCondition
Gets whether the "headline_offer_condition" field is set
Declaration
public bool HasHeadlineOfferCondition { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasHeadlineOfferLink
Gets whether the "headline_offer_link" field is set
Declaration
public bool HasHeadlineOfferLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasHeadlineOfferMobileLink
Gets whether the "headline_offer_mobile_link" field is set
Declaration
public bool HasHeadlineOfferMobileLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasImageLink
Gets whether the "image_link" field is set
Declaration
public bool HasImageLink { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasIsBundle
Gets whether the "is_bundle" field is set
Declaration
public bool HasIsBundle { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasItemGroupId
Gets whether the "item_group_id" field is set
Declaration
public bool HasItemGroupId { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMaterial
Gets whether the "material" field is set
Declaration
public bool HasMaterial { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMpn
Gets whether the "mpn" field is set
Declaration
public bool HasMpn { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMultipack
Gets whether the "multipack" field is set
Declaration
public bool HasMultipack { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasNumberOfOffers
Gets whether the "number_of_offers" field is set
Declaration
public bool HasNumberOfOffers { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPattern
Gets whether the "pattern" field is set
Declaration
public bool HasPattern { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPause
Gets whether the "pause" field is set
Declaration
public bool HasPause { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasSize
Gets whether the "size" field is set
Declaration
public bool HasSize { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasSizeSystem
Gets whether the "size_system" field is set
Declaration
public bool HasSizeSystem { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasTitle
Gets whether the "title" field is set
Declaration
public bool HasTitle { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HeadlineOfferCondition
Condition of the headline offer.
Declaration
public string HeadlineOfferCondition { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HeadlineOfferInstallment
Number and amount of installments to pay for an item.
Declaration
public HeadlineOfferInstallment HeadlineOfferInstallment { get; set; }
Property Value
| Type | Description |
|---|---|
| HeadlineOfferInstallment |
HeadlineOfferLink
Link to the headline offer.
Declaration
public string HeadlineOfferLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HeadlineOfferMobileLink
Mobile Link to the headline offer.
Declaration
public string HeadlineOfferMobileLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HeadlineOfferPrice
Headline Price of the CSS Product.
Declaration
public Price HeadlineOfferPrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
HeadlineOfferShippingPrice
Headline Price of the CSS Product.
Declaration
public Price HeadlineOfferShippingPrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
HeadlineOfferSubscriptionCost
Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
Declaration
public HeadlineOfferSubscriptionCost HeadlineOfferSubscriptionCost { get; set; }
Property Value
| Type | Description |
|---|---|
| HeadlineOfferSubscriptionCost |
HighPrice
High Price of the CSS Product.
Declaration
public Price HighPrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
ImageLink
URL of an image of the item.
Declaration
public string ImageLink { 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
public RepeatedField<string> IncludedDestinations { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
IsBundle
Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
Declaration
public bool IsBundle { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ItemGroupId
Shared identifier for all variants of the same product.
Declaration
public string ItemGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LowPrice
Low Price of the CSS Product.
Declaration
public Price LowPrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
Material
The material of which the item is made.
Declaration
public string Material { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Mpn
Manufacturer Part Number (MPN) of the item.
Declaration
public string Mpn { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Multipack
The number of identical products in a merchant-defined multipack.
Declaration
public long Multipack { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
NumberOfOffers
The number of CSS Products.
Declaration
public long NumberOfOffers { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Pattern
The item's pattern (e.g. polka dots).
Declaration
public string Pattern { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Pause
Publication of this item will be temporarily paused.
Declaration
public string Pause { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProductDetails
Technical specification or additional product details.
Declaration
public RepeatedField<ProductDetail> ProductDetails { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<ProductDetail> |
ProductHeight
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Declaration
public ProductDimension ProductHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| ProductDimension |
ProductHighlights
Bullet points describing the most relevant highlights of a product.
Declaration
public RepeatedField<string> ProductHighlights { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ProductLength
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Declaration
public ProductDimension ProductLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ProductDimension |
ProductTypes
Categories of the item (formatted as in products data specification).
Declaration
public RepeatedField<string> ProductTypes { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ProductWeight
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
Declaration
public ProductWeight ProductWeight { get; set; }
Property Value
| Type | Description |
|---|---|
| ProductWeight |
ProductWidth
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Declaration
public ProductDimension ProductWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| ProductDimension |
Size
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId value (see
[https://support.google.com/merchants/answer/6324492](size definition)).
Declaration
public string Size { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SizeSystem
System in which the size is specified. Recommended for apparel items.
Declaration
public string SizeSystem { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SizeTypes
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see [https://support.google.com/merchants/answer/6324497](size type)).
Declaration
public RepeatedField<string> SizeTypes { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
Title
Title of the item.
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |