Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Paste your API key as the CMS showed it: fsk_<site>_<key id>_<secret> (issued under API Keys). ApiKey in front of it works too. Leave it empty to read as the public.

Scopes

ads-metrics:read

Query Parameters

from
string<date-time>

Start (inclusive), ISO 8601 date or time. Default: 30 days before to.

to
string<date-time>

End (exclusive), ISO 8601 date or time. Default: now.

groupBy
enum<string>[]

Comma-separated dimensions, or the parameter repeated.

Available options:
day,
conversion,
platform,
utmSource,
utmCampaign,
landingPath

Response

The aggregates.

from
string<date-time>
required

The window’s start (inclusive).

to
string<date-time>
required

The window’s end (exclusive).

groupBy
enum<string>[]
required

The dimensions asked for.

Available options:
day,
conversion,
platform,
utmSource,
utmCampaign,
landingPath
landings
object
required

Page views whose URL carried an ad click ID (from the Request Log — empty while it is switched off). Grouped only by day, platform (google, meta, …), utmSource, utmCampaign and landingPath.

conversions
object
required

Conversion events. value sums restated values and leaves out retracted events. Grouped by platform (a destination such as google-ads), each row adds delivery outcomes.