v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13125317428.7 KB
collections

Uploads a collection to your Merchant Center account. If a collection with the same collectionId already exists, this method updates that entry. In each update, the collection is completely replaced by the fields in the body of the update request.

post/{merchantId}/collections

Path parameters

merchantIdstring required

Required. The ID of the account that contains the collection. This account cannot be a multi-client account.

Request body

headlinestring[]

Your collection's name. headline attribute

customLabel4string

Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.

customLabel2string

Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.

imageLinkstring[]

The URL of a collection’s image. image_link attribute

customLabel1string

Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.

customLabel0string

Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. Custom label

mobileLinkstring

A collection’s mobile-optimized landing page when you have a different URL for mobile and desktop traffic. mobile_link attribute

linkstring

A collection’s landing page. URL directly linking to your collection's page on your website. link attribute

idstring

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

productCountrystring
customLabel3string

Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.

languagestring

The language of a collection and the language of any featured products linked to the collection. language attribute

Response

Successful response