Sign in

Batch Create Creatives

documented

Create multiple creatives in a single request.

POST /5/batch/creativeAds APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://ads-api.x.com/5/batch/creative" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: OAuth oauth_consumer_key=\"{{X_API_KEY}}\", oauth_token=\"{{OAUTH1_ACCESS_TOKEN}}\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"{{$oauth_timestamp}}\", oauth_nonce=\"{{$oauth_nonce}}\", oauth_version=\"1.0\", oauth_signature=\"{{OAUTH1_SIGNATURE}}\"" \
  -d '{"batch_creatives": [{"title": "{{$title}}", "description": "{{$description}}", "advertiser_id": "{{$advertiser_id}}", "asset_ids": ["{{$asset_id}}"], "destination_url": "{{$destination_url}}", "cta": "{{$cta}}"}]}'