View Source GoogleApi.CSS.V1.Model.Attributes (google_api_css v0.3.0)
Attributes for CSS Product.
Attributes
-
productWidth
(type:GoogleApi.CSS.V1.Model.ProductDimension.t
, default:nil
) - The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). -
ageGroup
(type:String.t
, default:nil
) - Target age group of the item. -
color
(type:String.t
, default:nil
) - Color of the item. -
imageLink
(type:String.t
, default:nil
) - URL of an image of the item. -
headlineOfferPrice
(type:GoogleApi.CSS.V1.Model.Price.t
, default:nil
) - Headline Price of the aggregate offer. -
customLabel1
(type:String.t
, default:nil
) - Custom label 1 for custom grouping of items in a Shopping campaign. -
productHeight
(type:GoogleApi.CSS.V1.Model.ProductDimension.t
, default:nil
) - The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). -
description
(type:String.t
, default:nil
) - Description of the item. -
productDetails
(type:list(GoogleApi.CSS.V1.Model.ProductDetail.t)
, default:nil
) - Technical specification or additional product details. -
multipack
(type:String.t
, default:nil
) - The number of identical products in a merchant-defined multipack. -
lowPrice
(type:GoogleApi.CSS.V1.Model.Price.t
, default:nil
) - Low Price of the aggregate offer. -
sizeSystem
(type:String.t
, default:nil
) - System in which the size is specified. Recommended for apparel items. -
productLength
(type:GoogleApi.CSS.V1.Model.ProductDimension.t
, default:nil
) - The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). -
headlineOfferShippingPrice
(type:GoogleApi.CSS.V1.Model.Price.t
, default:nil
) - Headline Price of the aggregate offer. -
itemGroupId
(type:String.t
, default:nil
) - Shared identifier for all variants of the same product. -
customLabel3
(type:String.t
, default:nil
) - Custom label 3 for custom grouping of items in a Shopping campaign. -
customLabel2
(type:String.t
, default:nil
) - Custom label 2 for custom grouping of items in a Shopping campaign. -
gtin
(type:String.t
, default:nil
) - Global Trade Item Number (GTIN) of the item. -
size
(type:String.t
, default:nil
) - Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the sameitemGroupId
value (see https://support.google.com/merchants/answer/6324492). -
pattern
(type:String.t
, default:nil
) - The item's pattern (e.g. polka dots). -
cppAdsRedirect
(type:String.t
, default:nil
) - Allows advertisers to override the item URL when the product is shown within the context of Product Ads. -
headlineOfferLink
(type:String.t
, default:nil
) - Link to the headline offer. -
highPrice
(type:GoogleApi.CSS.V1.Model.Price.t
, default:nil
) - High Price of the aggregate offer. -
numberOfOffers
(type:String.t
, default:nil
) - The number of aggregate offers. -
productTypes
(type:list(String.t)
, default:nil
) - Categories of the item (formatted as in products data specification). -
certifications
(type:list(GoogleApi.CSS.V1.Model.Certification.t)
, default:nil
) - A list of certificates claimed by the CSS for the given product. -
additionalImageLinks
(type:list(String.t)
, default:nil
) - Additional URL of images of the item. -
googleProductCategory
(type:String.t
, default:nil
) - 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. -
customLabel0
(type:String.t
, default:nil
) - Custom label 0 for custom grouping of items in a Shopping campaign. -
cppMobileLink
(type:String.t
, default:nil
) - URL for the mobile-optimized version of the Product Detail Page of the CSS. -
pause
(type:String.t
, default:nil
) - Publication of this item will be temporarily paused. -
mpn
(type:String.t
, default:nil
) - Manufacturer Part Number (MPN) of the item. -
headlineOfferMobileLink
(type:String.t
, default:nil
) - Mobile Link to the headline offer. -
productWeight
(type:GoogleApi.CSS.V1.Model.ProductWeight.t
, default:nil
) - The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive). -
adult
(type:boolean()
, default:nil
) - Set to true if the item is targeted towards adults. -
excludedDestinations
(type:list(String.t)
, default:nil
) - The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). -
productHighlights
(type:list(String.t)
, default:nil
) - Bullet points describing the most relevant highlights of a product. -
expirationDate
(type:DateTime.t
, default:nil
) - Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed inproductstatuses
as googleExpirationDate and might be earlier ifexpirationDate
is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted. -
customLabel4
(type:String.t
, default:nil
) - Custom label 4 for custom grouping of items in a Shopping campaign. -
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 inexcludedDestinations
. -
isBundle
(type:boolean()
, default:nil
) - 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. -
headlineOfferCondition
(type:String.t
, default:nil
) - Condition of the headline offer. -
material
(type:String.t
, default:nil
) - The material of which the item is made. -
cppLink
(type:String.t
, default:nil
) - URL directly linking to your the Product Detail Page of the CSS. -
brand
(type:String.t
, default:nil
) - Product Related Attributes.[14-36] Brand of the item. -
sizeTypes
(type:list(String.t)
, default:nil
) - 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). -
title
(type:String.t
, default:nil
) - Title of the item. -
gender
(type:String.t
, default:nil
) - Target gender of the item.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CSS.V1.Model.Attributes{ additionalImageLinks: [String.t()] | nil, adult: boolean() | nil, ageGroup: String.t() | nil, brand: String.t() | nil, certifications: [GoogleApi.CSS.V1.Model.Certification.t()] | nil, color: String.t() | nil, cppAdsRedirect: String.t() | nil, cppLink: String.t() | nil, cppMobileLink: String.t() | nil, customLabel0: String.t() | nil, customLabel1: String.t() | nil, customLabel2: String.t() | nil, customLabel3: String.t() | nil, customLabel4: String.t() | nil, description: String.t() | nil, excludedDestinations: [String.t()] | nil, expirationDate: DateTime.t() | nil, gender: String.t() | nil, googleProductCategory: String.t() | nil, gtin: String.t() | nil, headlineOfferCondition: String.t() | nil, headlineOfferLink: String.t() | nil, headlineOfferMobileLink: String.t() | nil, headlineOfferPrice: GoogleApi.CSS.V1.Model.Price.t() | nil, headlineOfferShippingPrice: GoogleApi.CSS.V1.Model.Price.t() | nil, highPrice: GoogleApi.CSS.V1.Model.Price.t() | nil, imageLink: String.t() | nil, includedDestinations: [String.t()] | nil, isBundle: boolean() | nil, itemGroupId: String.t() | nil, lowPrice: GoogleApi.CSS.V1.Model.Price.t() | nil, material: String.t() | nil, mpn: String.t() | nil, multipack: String.t() | nil, numberOfOffers: String.t() | nil, pattern: String.t() | nil, pause: String.t() | nil, productDetails: [GoogleApi.CSS.V1.Model.ProductDetail.t()] | nil, productHeight: GoogleApi.CSS.V1.Model.ProductDimension.t() | nil, productHighlights: [String.t()] | nil, productLength: GoogleApi.CSS.V1.Model.ProductDimension.t() | nil, productTypes: [String.t()] | nil, productWeight: GoogleApi.CSS.V1.Model.ProductWeight.t() | nil, productWidth: GoogleApi.CSS.V1.Model.ProductDimension.t() | nil, size: String.t() | nil, sizeSystem: String.t() | nil, sizeTypes: [String.t()] | nil, title: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.