- Resource: CssProduct
- Attributes
- Price
- ProductDetail
- ProductWeight
- ProductDimension
- Certification
- HeadlineOfferInstallment
- HeadlineOfferSubscriptionCost
- SubscriptionPeriod
- CustomAttribute
- CssProductStatus
- DestinationStatus
- ItemLevelIssue
- Methods
Resource: CssProduct
The processed CSS Product.
JSON representation |
---|
{ "name": string, "rawProvidedId": string, "contentLanguage": string, "feedLabel": string, "attributes": { object ( |
Fields | |
---|---|
name |
The name of the CSS Product. Format: |
raw |
Output only. Your unique raw identifier for the product. |
content |
Output only. The two-letter ISO 639-1 language code for the product. |
feed |
Output only. The feed label for the product. |
attributes |
Output only. A list of product attributes. |
custom |
Output only. A list of custom (CSS-provided) attributes. It can also be used to submit any attribute of the feed specification in its generic form (for example, |
css |
Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously. |
Attributes
Attributes for CSS Product.
JSON representation |
---|
{ "lowPrice": { object ( |
Fields | |
---|---|
low |
Low Price of the CSS Product. |
high |
High Price of the CSS Product. |
headline |
Headline Price of the CSS Product. |
headline |
Headline Price of the CSS Product. |
additional |
Additional URL of images of the item. |
product |
Categories of the item (formatted as in products data specification). |
size |
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)). |
product |
Technical specification or additional product details. |
product |
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive). |
product |
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
product |
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
product |
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
product |
Bullet points describing the most relevant highlights of a product. |
certifications[] |
A list of certificates claimed by the CSS for the given product. |
expiration |
Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in |
included |
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 |
excluded |
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). |
headline |
Number and amount of installments to pay for an item. |
headline |
Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract. |
cpp |
URL directly linking to your the Product Detail Page of the CSS. |
cpp |
URL for the mobile-optimized version of the Product Detail Page of the CSS. |
cpp |
Allows advertisers to override the item URL when the product is shown within the context of Product Ads. |
number |
The number of CSS Products. |
headline |
Condition of the headline offer. |
headline |
Link to the headline offer. |
headline |
Mobile Link to the headline offer. |
title |
Title of the item. |
image |
URL of an image of the item. |
description |
Description of the item. |
brand |
Product Related Attributes.[14-36] Brand of the item. |
mpn |
Manufacturer Part Number (MPN) of the item. |
gtin |
Global Trade Item Number (GTIN) of the item. |
google |
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. |
adult |
Set to true if the item is targeted towards adults. |
multipack |
The number of identical products in a merchant-defined multipack. |
is |
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. |
age |
Target age group of the item. |
color |
Color of the item. |
gender |
Target gender of the item. |
material |
The material of which the item is made. |
pattern |
The item's pattern (e.g. polka dots). |
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 |
size |
System in which the size is specified. Recommended for apparel items. |
item |
Shared identifier for all variants of the same product. |
pause |
Publication of this item will be temporarily paused. |
custom |
Custom label 0 for custom grouping of items in a Shopping campaign. |
custom |
Custom label 1 for custom grouping of items in a Shopping campaign. |
custom |
Custom label 2 for custom grouping of items in a Shopping campaign. |
custom |
Custom label 3 for custom grouping of items in a Shopping campaign. |
custom |
Custom label 4 for custom grouping of items in a Shopping campaign. |
Price
The price represented as a number and currency.
JSON representation |
---|
{ "amountMicros": string, "currencyCode": string } |
Fields | |
---|---|
amount |
The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). |
currency |
The currency of the price using three-letter acronyms according to ISO 4217. |
ProductDetail
The product details.
JSON representation |
---|
{ "sectionName": string, "attributeName": string, "attributeValue": string } |
Fields | |
---|---|
section |
The section header used to group a set of product details. |
attribute |
The name of the product detail. |
attribute |
The value of the product detail. |
ProductWeight
The weight of the product.
JSON representation |
---|
{ "value": number, "unit": string } |
Fields | |
---|---|
value |
Required. The weight represented as a number. The weight can have a maximum precision of four decimal places. |
unit |
Required. The weight unit. Acceptable values are: * " |
ProductDimension
The dimension of the product.
JSON representation |
---|
{ "value": number, "unit": string } |
Fields | |
---|---|
value |
Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places. |
unit |
Required. The dimension units. Acceptable values are: * " |
Certification
The certification for the product. Use the this attribute to describe certifications, such as energy efficiency ratings, associated with a product.
JSON representation |
---|
{ "name": string, "authority": string, "code": string } |
Fields | |
---|---|
name |
The name of the certification. At this time, the most common value is "EPREL", which represents energy efficiency certifications in the EU European Registry for Energy Labeling (EPREL) database. |
authority |
The authority or certification body responsible for issuing the certification. At this time, the most common value is "EC" or “European_Commission” for energy labels in the EU. |
code |
The code of the certification. For example, for the EPREL certificate with the link https://eprel.ec.europa.eu/screen/product/dishwashers2019/123456 the code is 123456. The code is required for European Energy Labels. |
HeadlineOfferInstallment
A message that represents installment.
JSON representation |
---|
{ "months": string, "amount": { object ( |
Fields | |
---|---|
months |
The number of installments the buyer has to pay. |
amount |
The amount the buyer has to pay per month. |
downpayment |
The up-front down payment amount the buyer has to pay. |
HeadlineOfferSubscriptionCost
The SubscriptionCost of the product.
JSON representation |
---|
{ "period": enum ( |
Fields | |
---|---|
period |
The type of subscription period. Supported values are: * " |
period |
The number of subscription periods the buyer has to pay. |
amount |
The amount the buyer has to pay per subscription period. |
SubscriptionPeriod
The subscription period of the product.
Enums | |
---|---|
SUBSCRIPTION_PERIOD_UNSPECIFIED |
Indicates that the subscription period is unspecified. |
MONTH |
Indicates that the subscription period is month. |
YEAR |
Indicates that the subscription period is year. |
CustomAttribute
A message that represents custom attributes. Exactly one of value
or groupValues
must not be empty.
JSON representation |
---|
{
"groupValues": [
{
object ( |
Fields | |
---|---|
group |
Subattributes within this attribute group. If |
name |
The name of the attribute. |
value |
The value of the attribute. If |
CssProductStatus
The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.
JSON representation |
---|
{ "destinationStatuses": [ { object ( |
Fields | |
---|---|
destination |
The intended destinations for the product. |
item |
A list of all issues associated with the product. |
creation |
Date on which the item has been created, in ISO 8601 format. |
last |
Date on which the item has been last updated, in ISO 8601 format. |
google |
Date on which the item expires, in ISO 8601 format. |
DestinationStatus
The destination status of the product status.
JSON representation |
---|
{ "destination": string, "approvedCountries": [ string ], "pendingCountries": [ string ], "disapprovedCountries": [ string ] } |
Fields | |
---|---|
destination |
The name of the destination |
approved |
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is approved. |
pending |
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is pending approval. |
disapproved |
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is disapproved. |
ItemLevelIssue
The ItemLevelIssue of the product status.
JSON representation |
---|
{ "code": string, "servability": string, "resolution": string, "attribute": string, "destination": string, "description": string, "detail": string, "documentation": string, "applicableCountries": [ string ] } |
Fields | |
---|---|
code |
The error code of the issue. |
servability |
How this issue affects serving of the CSS Product. |
resolution |
Whether the issue can be resolved by the merchant. |
attribute |
The attribute's name, if the issue is caused by a single attribute. |
destination |
The destination the issue applies to. |
description |
A short issue description in English. |
detail |
A detailed issue description in English. |
documentation |
The URL of a web page to help with resolving this issue. |
applicable |
List of country codes (ISO 3166-1 alpha-2) where issue applies to the CSS Product. |
Methods |
|
---|---|
|
Retrieves the processed CSS Product from your CSS Center account. |
|
Lists the processed CSS Products in your CSS Center account. |