Start the OAuth flow to connect an ad platform account.
Documentation Index
Fetch the complete documentation index at: https://docs.adrelay.dev/llms.txt
Use this file to discover all available pages before exploring further.
{platform} path parameter accepts: google, meta, or tiktok.
Direct the user to the returned URL in their browser. After completing authorization, they will be redirected to your redirect_uri (or the AdRelay dashboard by default) with query params:
?success=true&platform=GOOGLE&connectionId=... on success?error=... on failureredirect_uri as a query parameter when calling authorizeredirect_uri only controls the final hop (AdRelay → your app). The platform-side OAuth callback (Google/Meta/TikTok → AdRelay) stays the same.