Ads
Connect ads
Connect ads for a platform (separate from posting). Required before campaigns/ads sync. Same-token platforms (facebook, instagram, linkedin, pinterest) need no extra OAuth; tiktok, twitter and googleads return an auth_url. ChatGPT ads (openaiads) have no OAuth: send an api_key from ChatGPT Ads Manager, which covers exactly one ad account.
post/ads/connect
Request
- Base URL: https://api.crevio.co/v1
- URL: https://api.crevio.co/v1/ads/connect
- Auth: API key in header Authorization
Headers
Idempotency-Keystring
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Response
Connection result (already_connected, account, or auth_url).
object required
Changes
No recorded changes to this operation across all 2 revisions of this API.