After signing in, navigate to Settings > API Keys in the dashboard. Your API key will be displayed. Copy it and store it securely — you will need it for every API request.
Before you can manage campaigns, you need to connect at least one ad platform account. Start the OAuth flow for Google Ads:
curl -X GET "https://api.adrelay.dev/v1/connections/google_ads/authorize" \ -H "X-API-Key: $ADRELAY_API_KEY"
This returns a redirect URL. Open it in a browser to complete the Google Ads OAuth flow. Once authorized, AdRelay will store the connection and keep tokens refreshed automatically.