Bulk Creative Operations

In addition to the single-creative endpoints, the Creative Library supports 3 bulk operations. They differ in scope (one account or many), in what they do, and in whether they are atomic.

Bulk endpoints

OperationMethod and pathScopeAtomic
Bulk create creativesPOST /account_id/creatives/bulkOne account (in the path)Always. If any creative fails, none is created.
Bulk upsert creativesPOST /creatives/bulk?is_atomic=falseAny accounts (account_id per creative)Never. Each creative succeeds or fails on its own. is_atomic=false is required.
Bulk delete creativesDELETE /creatives/bulkAny accounts (account_id per creative)Always. If any creative fails, none is deleted.

Request and response shapes

  • Bulk create takes a plain collection of creative objects.
  • Bulk upsert and bulk delete take an elements list. Each element wraps a creative in value and carries an error slot, which must be null in the request.
  • All 3 respond with an elements list, one element per request element, in the same order. On success, value is the resulting creative and error is null.

Only bulk upsert reports failures per element: a failed element echoes the input in value and reports a field validation error in error. Bulk create and bulk delete are atomic and fail as a whole. See each endpoint for full request and response examples.

🚧

Guidelines

  1. Limit each bulk upsert and bulk delete request to a maximum of 200 creatives.
  2. In bulk upsert, an element with an id is an update and an element without an id is a create. Read-only and per-type field rules are the same as for the single endpoints.
  3. account_id is required in every value of bulk upsert and bulk delete. In bulk upsert, an unknown creative id, or a creative from another account, fails the whole request (404 or 403).
  4. Bulk operations create, update and delete creatives. To create ads from the new creatives, assign them to campaigns; see Assigning creatives to campaigns.
  5. Creative consolidation applies to bulk create and bulk upsert, including creatives that are identical to each other within the same request.
  6. Bulk delete stops every ad of every deleted creative. See Deleting a creative.
📘

See also


Did this page help you?