Get Pin analytics
GET {{baseUrl}}/pins/:pin_id/analytics?start_date=<date>&end_date=<date>&app_types=ALL&metric_types=IMPRESSION,SAVE_RATE&split_field=NO_SPLIT&ad_account_id=579382468
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. 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. | |
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
{"officia_2":{"daily_metrics":[{"data_status":"PROCESSING","date":"\u003cstring\u003e","metrics":{"eu_01a":"\u003cnumber\u003e","dolore5e":"\u003cnumber\u003e"}},{"data_status":"BEFORE_PIN_CREATED","date":"\u003cstring\u003e","metrics":{"sed_1b7":"\u003cnumber\u003e","cillum88":"\u003cnumber\u003e"}}],"summary_metrics":{"commodo_f":"\u003cnumber\u003e"}}}