---
title: "Query ad insights"
method: GET
path: "/ads/insights"
tags: ["Ads"]
---

# Query ad insights

`GET /ads/insights`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/ads/insights`
- Auth: API key in header `Authorization`

A live performance query for reports the fixed endpoints don't cover, answered by the platform as is (rows snake_cased). The connection's platform picks the contract. Google Ads: any read-only GAQL SELECT in `query` (search terms, keywords and Quality Score, geo, demographics, assets, shopping, `change_event`), with counters as strings and cost in micros. Meta: Graph insights `fields`, `breakdowns` and `filtering` on `object_id`, which must be this connection's ad account (act_…) or one of its campaigns, ad sets or ads. TikTok: `ad_account_id`, `data_level`, `dimensions`, `metrics`, `from` and `to`. A query the platform rejects returns 400 with its message. Follow `next_cursor` for more rows.

## Query parameters

- `account_id` string, required
- `query` string
- `object_id` string
- `level` string
- `fields` string
- `breakdowns` string
- `action_breakdowns` string
- `action_attribution_windows` string
- `action_report_time` string
- `filtering` string
- `date_preset` string
- `time_increment` string
- `ad_account_id` string
- `report_type` string
- `data_level` string
- `dimensions` string
- `metrics` string
- `from` string
- `to` string
- `limit` integer
- `page_size` integer
- `cursor` string

## Response `200`

Rows as the platform returned them.

- object
  - `object` 'list', required
  - `data` object[], required
  - `has_more` boolean, required
  - `url` string
  - `next_cursor` string, nullable

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `409`: Account not activated for ads (call POST /v1/socials/activate first).
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.

## Changes

- **2026-11-15** `56c22ab9b282`: 7 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - …3 more
- **2026-10-23** `bf736a72ee9c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/ads/insights/get.md)

---

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