Get user account analytics
GET {{baseUrl}}/user_account/analytics?start_date=<date>&end_date=<date>&from_claimed_content=BOTH&pin_format=ALL&app_types=ALL&source=ALL&metric_types=IMPRESSION,IMPRESSION&split_field=NO_SPLIT&ad_account_id=4
Get analytics for the operation user_account
- By default, the operation user_account
is the token user_account.
Optional: Business Access: Specify an adaccountid to use the owner of that adaccount as the "operation useraccount".
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start_date | string | (Required) Metric report start date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days back from today. | |
end_date | string | (Required) Metric report end date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days past start_date. | |
from_claimed_content | string | Filter on Pins that match your claimed domain. | |
pin_format | string | Pin formats to get data for, default is all. | |
app_types | string | Apps or devices to get data for, default is all. | |
source | string | Filter to activity from Pins created and saved by your, or activity created and saved by others from your claimed accounts | |
metric_types | string | Metric types to get data for, default is all. | |
split_field | string | How to split the data into groups. Not including this param means data won't be split. | |
ad_account_id | number | Unique identifier of an ad account. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"anim_d7b":{"daily_metrics":[{"data_status":"BEFORE_AUDIENCE_METRIC_START_DATE","date":"\u003cstring\u003e","metrics":{"in_663":"\u003cnumber\u003e","laboris_9":"\u003cnumber\u003e"}},{"data_status":"BEFORE_PIN_FORMAT_METRIC_START_DATE","date":"\u003cstring\u003e","metrics":{"voluptate9c5":"\u003cnumber\u003e","laborum_e5":"\u003cnumber\u003e","nulla_c9":"\u003cnumber\u003e","Excepteurcd":"\u003cnumber\u003e"}}],"summary_metrics":{"irure_ac9":"\u003cnumber\u003e","elit_c3_":"\u003cnumber\u003e","ad6":"\u003cnumber\u003e"}}}