- Resource: ProductCertification
- Certification
- Issue
- Severity
- IssueResolution
- DestinationStatus
- Status
- Methods
Resource: ProductCertification
Product certification data.
JSON representation |
---|
{ "name": string, "title": string, "brand": string, "mpn": [ string ], "productCode": [ string ], "countryCode": [ string ], "productType": [ string ], "certification": [ { object ( |
Fields | |
---|---|
name |
Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where |
title |
Required. This is to clearly identify the product you are certifying. |
brand |
Required. This is the product's brand name. The brand is used to help identify your product. |
mpn[] |
Optional. These are the Manufacturer Part Numbers (MPN). MPNs are used to uniquely identify a specific product among all products from the same manufacturer |
productCode[] |
Optional. Another name for GTIN. |
countryCode[] |
Optional. A 2-letter country code (ISO 3166-1 Alpha 2). |
productType[] |
Optional. These are your own product categorization system in your product data. |
certification[] |
Required. A list of certifications to link to the described product. |
issues[] |
Output only. A server-generated list of issues associated with the product. |
destinationStatuses[] |
Output only. The statuses of the destinations. |
Certification
Description of a certification.
JSON representation |
---|
{ "name": string, "authority": string, "code": string, "value": string, "link": string, "logo": string, "validUntil": string } |
Fields | |
---|---|
name |
Required. Name of the certification. |
authority |
Required. Name of the certification body. |
code |
Required. A unique code to identify the certification. |
value |
Optional. A custom value of the certification. |
link |
Optional. A URL link to the certification. |
logo |
Optional. A URL link to the certification logo. |
validUntil |
Optional. The expiration date (UTC). |
Issue
Product issue.
JSON representation |
---|
{ "type": string, "severity": enum ( |
Fields | |
---|---|
type |
The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. |
severity |
The severity of the issue. |
attribute |
If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116. |
title |
Short title describing the nature of the issue. |
description |
Longer description of the issue focused on how to resolve it. |
resolution |
What needs to happen to resolve the issue. |
destination |
The destination this issue applies to. |
timestamp |
The timestamp when this issue appeared. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Severity
Issue severity.
Enums | |
---|---|
SEVERITY_UNSPECIFIED |
Unspecified severity, never used. |
ERROR |
Error severity. The issue prevents the usage of the whole item. |
WARNING |
Warning severity. The issue is either one that prevents the usage of the attribute that triggered it or one that will soon prevent the usage of the whole item. |
INFO |
Info severity. The issue is one that doesn't require immediate attention. It is, for example, used to communicate which attributes are still pending review. |
IssueResolution
Resolution of the issue.
Enums | |
---|---|
RESOLUTION_UNSPECIFIED |
Unspecified resolution, never used. |
USER_ACTION |
The user who provided the data must act in order to resolve the issue (for example by correcting some data). |
PENDING_PROCESSING |
The issue will be resolved automatically (for example image crawl or Google review). No action is required now. Resolution might lead to another issue (for example if crawl fails). |
DestinationStatus
The destination status.
JSON representation |
---|
{
"destination": string,
"status": enum ( |
Fields | |
---|---|
destination |
The name of the destination. |
status |
The status of the destination. |
Status
The status.
Enums | |
---|---|
UNKNOWN |
Unspecified status, never used. |
ACTIVE |
The product is used for this destination. |
PENDING |
The decision is still pending. |
DISAPPROVED |
The product is disapproved. Please look at the issues. |
Methods |
|
---|---|
|
Deletes a product certification by its name. |
|
Gets a product certification by its name. |
|
Lists product certifications from a specified certification body. |
|
Updates (or creates if allow_missing = true) a product certification which links certifications with products. |