Get user account analytics
Changed onGet analytics for the "operation user_account"
- By default, the "operation user_account" is the token user_account.
Optional: Business Access: Specify an ad_account_id to use the owner of that ad_account as the "operation user_account".
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesuser_accounts:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Metric report start date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days back from today.
Metric report end date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days past start_date.
Filter on Pins that match your claimed domain.
Pin formats to get data for, default is all.
Apps or devices to get data for, default is all.
Filter to paid or organic data. Default is all.
Filter to activity from Pins created and saved by your, or activity created and saved by others from your claimed accounts
Metric types to get data for, default is all.
How to split the data into groups. Not including this param means data won't be split.
Unique identifier of an ad account.
Response
The request has succeeded.
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
removed the enum value
PRODUCTfrom thequeryrequest parameterpin_format - breaking
removed the enum value
REGULARfrom thequeryrequest parameterpin_format - breaking
removed the enum value
VIDEOfrom thequeryrequest parameterpin_format
- breaking