Resource: Collection
The collection message.
JSON representation |
---|
{
"id": string,
"language": string,
"productCountry": string,
"imageLink": [
string
],
"featuredProduct": [
{
object ( |
Fields | |
---|---|
id |
Required. The REST ID of the collection. Content API methods that operate on collections take this as their collectionId parameter. The REST ID for a collection is of the form collectionId. id attribute |
language |
The language of a collection and the language of any featured products linked to the collection. language attribute |
product |
|
image |
The URL of a collection’s image. imageLink attribute |
featured |
This identifies one or more products associated with the collection. Used as a lookup to the corresponding product ID in your product feeds. Provide a maximum of 100 featuredProduct (for collections). Provide up to 10 featuredProduct (for Shoppable Images only) with ID and X and Y coordinates. featuredProduct attribute |
link |
A collection’s landing page. URL directly linking to your collection's page on your website. link attribute |
mobile |
A collection’s mobile-optimized landing page when you have a different URL for mobile and desktop traffic. mobileLink attribute |
headline[] |
Your collection's name. headline attribute |
custom |
Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. Custom label |
custom |
Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. |
custom |
Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. |
custom |
Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. |
custom |
Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. |
FeaturedProduct
The message for FeaturedProduct. FeaturedProduct
JSON representation |
---|
{ "offerId": string, "x": number, "y": number } |
Fields | |
---|---|
offer |
The unique identifier for the product item. |
x |
Required. X-coordinate of the product callout on the Shoppable Image. |
y |
Required. Y-coordinate of the product callout on the Shoppable Image. |
Methods |
|
---|---|
|
Uploads a collection to your Merchant Center account. |
|
Deletes a collection from your Merchant Center account. |
|
Retrieves a collection from your Merchant Center account. |
|
Lists the collections in your Merchant Center account. |