Skip to main content

Get Meta Ads Authorization URL

GET 

/api/advertising/meta-ads/authorization-url

Returns the Facebook Login consent URL that connects (or re-authorizes) a Meta Ads connection. After the user approves, Meta redirects back to SKU.io, which stores the token and discovers the Meta ad accounts. The pending sign-in expires if not completed in time; start again to get a fresh URL. Equivalent to Get Ad Platform Authorization URL with platform=meta_ads, except that this endpoint does not check whether Meta has approved SKU.io's API access yet.

Required scope: advertising:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires the advertising.manage permission. Token scope: advertising:read (personal access and OAuth tokens).

Query: name (optional, max 255, default Meta Ads) names a new connection; integration_instance_id (optional) re-authorizes an existing connection and must exist.

data is the URL string itself.

Request​

Responses​

OK

Response Headers
    Content-Type