Batch Create Creatives
documentedCreate multiple creatives in a single request.
POST /5/accounts/{account_id}/batch/creativeAds APIno implementation yet0 runsNo 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/12/batch/accounts/{{$account_id}}/creatives" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '[{"operation_type": "Create", "params": {"account_id": "{{$account_id}}", "name": "{{$creative_name}}", "creative_type": "{{$creative_type}}", "media_keys": ["{{$media_key}}"], "card_uri": "{{$card_uri}}", "landing_url": "{{$landing_url}}", "destination_url": "{{$destination_url}}"}}]'