Skip to main content
Before you can manage campaigns on a platform, you need to connect your ad account for that platform. Each platform uses OAuth to grant AdRelay access to your ad accounts.

OAuth Flow by Platform

Scopes requested: Google Ads API read/write access. The user must have a Google Ads manager or standard account.

Meta Ads

Scopes requested: ads_management, ads_read. The user must be an admin or advertiser on the Meta Business account.

TikTok Ads

Scopes requested: Campaign management read/write. The user must have access to a TikTok Ads Manager account.

Completing the OAuth Flow

Each authorize endpoint returns a JSON response with a redirect URL:
Direct the user to the authorize_url in their browser. After granting access, they will be redirected back to AdRelay, and the connection will be established automatically.

Syncing Accounts

After connecting a platform, trigger a sync to pull in account data:
This refreshes the connection’s account data and updates the connection status. You should sync after initial connection and periodically to keep data fresh.

Connection Statuses

Listing Connections

View all your connected accounts:

Updating a Connection

You can update a connection’s label to help identify it:

Removing a Connection

Delete a connection when you no longer need it. This revokes AdRelay’s access tokens for that platform account.
Deleting a connection does not delete campaigns on the platform. It only removes AdRelay’s access to manage them.