Get Campaign Manager 360 OAuth connect URL
Changed onComing soon. Google is still verifying the dfatrafficking permission Zernio requests. Until it approves, connecting may not work for your Google account.
Starts Google OAuth for Campaign Manager 360 (Floodlight). Each connected CM360 user profile becomes an account with platform campaignmanager360; it receives the conversions you forward to its Floodlight activities and does not post.
Requested scopes: https://www.googleapis.com/auth/datamanager (conversions go through Google's Data Manager API) and https://www.googleapis.com/auth/dfatrafficking (only to list advertisers and Floodlight activities; Campaign Manager has no read-only trafficking scope).
Flow
Redirect the user to authUrl.
- One CM360 user profile: Zernio connects it and redirects to redirect_url (or the dashboard) with connected=campaignmanager360, profileId, accountId and username.
- Several: the user first picks one on a Zernio-hosted page, which then redirects the same way.
Then list the Floodlight activities with GET /v1/ads/conversions/destinations?accountId=....
Your own picker
Add headless=true to redirect_url. Zernio then redirects there with step=select_profile, profileId, platform=campaignmanager360 and a pendingDataToken for GET /v1/connect/campaignmanager360/profiles and POST /v1/connect/campaignmanager360/select-profile.
Errors
On failure the redirect carries error, platform=campaignmanager360 and error_message. Errors include:
- campaignmanager360_scope_missing: the user unticked one of the two permissions.
- campaignmanager360_no_profiles: the Google account has no Campaign Manager 360 user profile.
- campaignmanager360_no_refresh_token: Google returned no refresh token; connect again.
Request
- Base URLhttps://zernio.com/api
- Auth
- HTTP bearer
- or API key in header X-Connect-Token
Query parameters
Your Zernio profile ID (get from /v1/profiles).
Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as myapp://callback; relative and unsafe URLs return 400.
Zernio account ID of the Campaign Manager 360 account being reconnected. Picking a different CM360 profile then fails instead of adding a second account.
Response
OAuth authorization URL and authenticated state
Changes
- info
endpoint added
- info