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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Creates a creative using an HTTP POST request to the specified endpoint."],["The request requires a path parameter to specify the account ID and an optional query parameter to handle duplicate creative IDs."],["The request body must contain a Creative object, and a successful response will return the newly created Creative object."],["Authorization requires the `https://www.googleapis.com/auth/adexchange.buyer` scope."],["DuplicateIdMode allows for controlling the uniqueness of creative IDs, with `NO_DUPLICATES` being the recommended approach for ensuring each creative has a distinct ID."]]],["This document details how to create a creative using a POST request to the specified URL. The request requires a `creative.accountId` path parameter to identify the owning account. The `duplicateIdMode` query parameter controls whether multiple creatives can share an ID, defaulting to no duplicates. The request body should contain a `Creative` instance. A successful request returns a new `Creative` instance in the response. The request need to be authorized with the `adexchange.buyer` OAuth scope.\n"]]