Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead.
HTTP request
POST https://merchantapi.googleapis.com/promotions/v1/{parent=accounts/*}/promotions:insert
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The account where the promotion will be inserted. Format: accounts/{account} | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "promotion": {
    object ( | 
| Fields | |
|---|---|
| promotion | 
 Required. The promotion to insert. | 
| dataSource | 
 Required. The data source of the promotion Format:  | 
Response body
If successful, the response body contains an instance of Promotion.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.