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&content_type=ALL&source=ALL&metric_types=ENGAGEMENT_RATE,ENGAGEMENT&split_field=NO_SPLIT&ad_account_id=15266090296
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. | |
content_type | string | Filter to paid or organic data. 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
{"cupidatatec2":{"summary_metrics":{"veniama":"\u003cnumber\u003e","aliquip_99":"\u003cnumber\u003e","sit_35":"\u003cnumber\u003e"},"daily_metrics":[{"data_status":"PROCESSING","date":"\u003cstring\u003e","metrics":{"euc":"\u003cnumber\u003e"}},{"data_status":"IN_BAD_TAG_DATE","date":"\u003cstring\u003e","metrics":{"commodo_6":"\u003cnumber\u003e","ea_a":"\u003cnumber\u003e"}}]},"quis2b":{"summary_metrics":{"exercitation_0":"\u003cnumber\u003e"},"daily_metrics":[{"data_status":"BEFORE_BUSINESS_CREATED","date":"\u003cstring\u003e","metrics":{"pariatur_0":"\u003cnumber\u003e","dolor7":"\u003cnumber\u003e"}},{"data_status":"AUDIENCE_TOTAL_SMALLER_THAN_THRESHOLD","date":"\u003cstring\u003e","metrics":{"exaf":"\u003cnumber\u003e","in_b":"\u003cnumber\u003e"}}]}}