Get ad-account summary

Account-wide totals for the requested window — one set of metric values covering the whole account.

Metrics: metrics is keyed by metric id, with metric_names giving each id's display name. Ids come from GET /open/v1/ad-accounts/{account_id}/metrics; pass them in metrics to add custom conversions, custom events and Atria custom metrics on top of the default set. null means no data for that metric in the window. Figures can differ slightly from the ad platform's own reporting.

Returns: code=0 success; code=40001 invalid account_id or workspace context missing; code=40401 when the account does not exist or belongs to a different workspace; code=50001 when the upstream platform API is unavailable.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Internal Atria ad-account id (UUID; dashed or 32-char hex both parse). Obtain it from GET /open/v1/ad-accounts (items[].id).

Query Params
string
enum
Defaults to last_7d

Date window. Defaults to last_7d.

Allowed:
string

Comma-separated metric ids to add to metrics, on top of the account's default set. Get ids from GET /open/v1/ad-accounts/{account_id}/metrics — hand-built ids are rejected. Up to 20 per request.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json