> Documentation index: https://docs.zernio.com/llms.txt. Every page is also Markdown: add .md to its URL.

# Reports

Coming soon. Read a Campaign Manager 360 standard report by day and campaign, and a Floodlight report by day and activity.

Coming soon. Until Zernio enables Campaign Manager 360 reports, both endpoints answer `403` with `campaignmanager360_reconnect_for_reports`.

Both take the `accountId` of a connected account and return CM360's rows as JSON.

## Before you start

The connection needs reports access. Once Zernio enables reports, the connect asks for it. Connections made before that have `metadata.campaignmanager360.reportsEnabled` false or missing.

Reconnect them with `GET /v1/connect/campaignmanager360?profileId=PROFILE_ID&reconnectAccountId=ACCOUNT_ID`. The account id stays the same, and sending conversions keeps working meanwhile.

The Google user also needs access to the advertiser or Floodlight configuration in CM360.

Get both ids from [`GET /v1/ads/conversions/destinations`](/conversions/list-ad-conversion-destinations): `adAccountId` is the advertiser, and the part of a destination `id` before the colon is its Floodlight configuration.

## Read the standard report

Impressions, clicks, media cost and total conversions of one advertiser, by day and campaign:

```bash
curl "https://zernio.com/api/v1/analytics/campaignmanager360/reports/standard?accountId=ACCOUNT_ID&advertiserId=1234567&fromDate=2026-11-01&toDate=2026-11-30" \
  -H "Authorization: Bearer $ZERNIO_API_KEY"
```

```json
{
  "status": "ready",
  "data": [
    { "date": "2026-11-01", "campaignId": "24680135", "campaignName": "Black Friday EU", "impressions": 12000, "clicks": 340, "mediaCost": 812.5, "totalConversions": 17 }
  ],
  "meta": { "accountId": "ACCOUNT_ID", "cmProfileId": "998877", "kind": "standard", "advertiserId": "1234567", "fromDate": "2026-11-01", "toDate": "2026-11-30" }
}
```

`mediaCost` is in the advertiser's currency.

## Read the Floodlight report

Conversions and revenue of each activity of one Floodlight configuration, by day:

```bash
curl "https://zernio.com/api/v1/analytics/campaignmanager360/reports/floodlight?accountId=ACCOUNT_ID&floodlightConfigurationId=7654321&fromDate=2026-11-01&toDate=2026-11-30" \
  -H "Authorization: Bearer $ZERNIO_API_KEY"
```

```json
{
  "status": "ready",
  "data": [
    { "date": "2026-11-01", "activityId": "8101234", "activityName": "Purchase", "totalConversions": 12, "clickThroughConversions": 9, "viewThroughConversions": 3, "revenue": 1450.9 }
  ],
  "meta": { "accountId": "ACCOUNT_ID", "cmProfileId": "998877", "kind": "floodlight", "floodlightConfigurationId": "7654321", "fromDate": "2026-11-01", "toDate": "2026-11-30" }
}
```

## Collect a report that takes longer

CM360 builds reports in the background. Zernio waits about 20 seconds. A report still building answers `202` with a `Retry-After` header:

```json
{ "status": "processing", "retryAfterSeconds": 10, "meta": { "accountId": "ACCOUNT_ID", "kind": "standard", "advertiserId": "1234567", "fromDate": "2026-11-01", "toDate": "2026-11-30" } }
```

Send the same request again after that many seconds. Zernio picks up the run it started instead of starting another, for up to an hour.

## How it behaves

- `fromDate` and `toDate` are `YYYY-MM-DD`. `toDate` defaults to yesterday in Pacific time and `fromDate` to 27 days before it. A range holds at most 366 days.
- Finished rows are cached for 10 minutes per account and request.
- Zernio keeps one saved report per CM360 user profile and kind, named `Zernio API standard report` or `Zernio API floodlight report`, and edits it for each request. Deleting it in CM360 is safe: Zernio creates it again.
- CM360 counts these reports against the user profile's reporting quota, like reports run in its own interface.

## If it fails

| Error | Cause | Fix |
|-------|-------|-----|
| `403` with `campaignmanager360_reconnect_for_reports` | Reports are not enabled yet, or the connection has no reports access | Once reports are enabled, reconnect Campaign Manager 360 with `details.reconnect`. |
| `403` with `insufficient_permissions` | The Google user cannot see this advertiser or configuration, or lacks the Reporting permission | Give it access in Campaign Manager 360. |
| `404` | The account does not exist, is not a Campaign Manager 360 account, or your key cannot reach it | List your accounts with `GET /v1/accounts`. |
| `422` with `query_too_large` | The range is longer than 366 days | Split it. |
| `502` | CM360 could not be reached or failed the report | Retry shortly, or narrow the range. |

## Related

- [Get a standard report](/analytics/get-campaign-manager-standard-report)
- [Get a Floodlight report](/analytics/get-campaign-manager-floodlight-report)
- [Connect](/platforms/campaign-manager-360/connect)
- [Limits & errors](/platforms/campaign-manager-360/reference)