resources
Get available metrics' definitions
Changed onGet the definitions for ads and organic metrics available across both synchronous and asynchronous report endpoints. The display_name attribute will match how the metric is named in our native tools like Ads Manager. See Organic Analytics and Ads Analytics for more information.
get/resources/delivery_metrics
Request
- Base URLhttps://api.pinterest.com/v5
- Auth
- OAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:read, pins:read, user_accounts:read
- or OAuth 2Client credentialsToken URLhttps://api.pinterest.com/v3/oauth/access_token/Scopesads:read, pins:read, user_accounts:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
report_type'SYNC' | 'ASYNC'
Report type.
Response
The request has succeeded.
Changes
- breaking
the
//response's property type changed from no type tostringfor status - 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
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
became required for the status
- breaking
- info
the endpoint scheme security
client_credentialswas added to the API
- info