Skip to content

Identifiers

Campaigns, ad groups, creatives and assets are created with a caller-generated UUID v4 in the path (PUT /<resource>/{id}), so a retried create targets the same document: it answers 409 instead of creating a duplicate.

Terminal window
ID=$(uuidgen | tr 'A-Z' 'a-z')
curl -X PUT "https://ads.wortise.com/api/public/v1/campaigns/$ID" \
-H "x-api-key: wads_..." \
-H "Content-Type: application/json" \
-d '{ ... }'
Resource Create
Campaign PUT /campaigns/{id}
Ad group PUT /ad-groups/{id}
Creative PUT /creatives/{id}
Asset PUT /assets/{id}