---
title: "Get Campaign Manager 360 OAuth connect URL"
method: GET
path: "/v1/connect/campaignmanager360"
tags: ["Connect"]
---

# Get Campaign Manager 360 OAuth connect URL

`GET /v1/connect/campaignmanager360`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/connect/campaignmanager360`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Connect-Token`

**Coming 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.

## Query parameters

- `profileId` string, required
- `redirect_url` string
- `reconnectAccountId` string

## Response `200`

OAuth authorization URL and authenticated state

- object
  - `authUrl` string, uri, required: Google URL to open in the user agent.
  - `state` string, required: Authenticated, expiring OAuth state handled by the callback.

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `402`: Payment method or enterprise contract required: the authenticated account hit a billing gate before the connection could proceed. Switch on `reason` to render the right prompt: - `free_tier_exceeded`: the team has connected more accounts than the free tier allows. Add a payment method to continue (billed per additional connected account). - `twitter_passthrough`: connecting an X account requires a card on file, even the 1st one, because X API calls are passed through per call. Prepaid-balance accounts never get it: they pay X calls from the balance. - `enterprise_required`: the team's enterprise contract sets a connected-account cap and it has been reached. Self-service teams have NO cap (the $1/account rate continues at any scale). The user already has a card on file; this gate is about contract terms. - `card_verification_required`: the card on file was flagged at add time (prepaid, or issued in a different country than the billing address). A one-time verification charge of `details.verification_amount_cents` (USD) is pending; it is credited to the team's usage balance, not a fee. **What to do:** redirect the end-user to `dashboard_url`. - `free_tier_exceeded`, `twitter_passthrough`, `card_verification_required`: it opens the Zernio billing page (the add-payment-method drawer, or the verification step). The request succeeds once the card is on file (or verified, or paid). - `enterprise_required`: it opens the enterprise contact form (not the billing tab), to adjust the contract's limit.
- `403`: API key does not have access to this profile, or the key is read-only.
- `404`: Profile not found or access denied.
- `503`: Campaign Manager 360 OAuth is not configured.

## Changes

- **2026-11-22** `3f42bd842dee`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/connect/campaignmanager360/get.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/5118237fca81?raw)
