Sign in

Set Preroll CTA

documented

Configure a preroll call-to-action for video ads.

POST /5/accounts/{account_id}/preroll_call_to_actionAds 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/12/accounts/{{$account_id}}/preroll_call_to_actions?line_item_id={{$line_item_id}}&call_to_action={{$call_to_action}}&call_to_action_url={{$call_to_action_url}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json"
Set Preroll CTA · X · OpenIntegrations