- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- DuplicateIdMode
- Try it!
Creates a creative.
HTTP request
POST https://adexchangebuyer.googleapis.com/v2beta1/accounts/{creative.accountId}/creatives
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
creative.accountId |
The account that this creative belongs to. Can be used to filter the response of the |
Query parameters
Parameters | |
---|---|
duplicateIdMode |
Indicates if multiple creatives can share an ID or not. Default is NO_DUPLICATES (one ID per creative). |
Request body
The request body contains an instance of Creative
.
Response body
If successful, the response body contains a newly created instance of Creative
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adexchange.buyer
DuplicateIdMode
A mode to describe how IDs will be treated.
Enums | |
---|---|
NO_DUPLICATES |
Recommended. This means that an ID will be unique to a single creative. Multiple creatives will not share an ID. |
FORCE_ENABLE_DUPLICATE_IDS |
Not recommended. Using this option will allow multiple creatives to share the same ID. Get and Update requests will not be possible for any ID that has more than one creative associated. (List will still function.) This is only intended for backwards compatibility in cases where a single ID is already shared by multiple creatives from previous APIs. |