Get Pin analytics
GET {{baseUrl}}/pins/:pin_id/analytics?start_date=2003-02-24&end_date=2003-02-24&app_types=ALL&metric_types=SAVE,PIN_CLICK&split_field=NO_SPLIT&ad_account_id=661
Get analytics for a Pin owned by the operation user_account
- or on a group board that has been shared with this account.
- By default, the operation user_account
is the token user_account.
Optional: Business Access: Specify an adaccountid
(obtained via List ad accounts) to use the owner of that adaccount as the "operation useraccount. In order to do this, the token user_account must have one of the following https://help.pinterest.com/en/business/article/share-and-manage-access-to-your-ad-accounts">Business Access roles on the ad_account:
- For Pins on public or protected boards: Admin, Analyst.
- For Pins on secret boards: Admin.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start_date | string | (Required) Metric report start date (UTC). Format: YYYY-MM-DD | |
end_date | string | (Required) Metric report end date (UTC). Format: YYYY-MM-DD | |
app_types | string | Apps or devices to get data for, default is all. | |
metric_types | string | (Required) Pin 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
{"ullamco_a":{"daily_metrics":[{"data_status":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"date":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metrics":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"data_status":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"date":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metrics":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"summary_metrics":{"ENGAGEMENT":100,"CLICKTHROUGH_RATE":0.2,"CLICKTHROUGH":200,"CLOSEUP":37,"CLOSEUP_RATE":0.5,"ENGAGEMENT_RATE":0.2,"SAVE":20,"SAVE_RATE":0.18,"IMPRESSION":240}},"et59c":{"daily_metrics":[{"data_status":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"date":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metrics":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"data_status":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"date":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metrics":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"summary_metrics":{"ENGAGEMENT":100,"CLICKTHROUGH_RATE":0.2,"CLICKTHROUGH":200,"CLOSEUP":37,"CLOSEUP_RATE":0.5,"ENGAGEMENT_RATE":0.2,"SAVE":20,"SAVE_RATE":0.18,"IMPRESSION":240}}}