GET /{merchantId}/promotions
List all promotions from your Merchant Center account.
Request
- Base URLhttps://shoppingcontent.googleapis.com/content/v2.1
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/contentAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/content
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Required. The ID of the account that contains the collection.
Query parameters
CLDR country code (for example, "US"), used as a filter on promotions target country.
The two-letter ISO 639-1 language code associated with the promotions, used as a filter.
The maximum number of promotions to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
A page token, received from a previous ListPromotion call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPromotion must match the call that provided the page token.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.