Get the account analytics report created by the async call
Changed onThis returns a URL to an analytics report given a token returned from the post request report creation call. You can use the URL to download the report. The link is valid for five minutes and the report is valid for one hour.
- The token's user_account must either be the Owner of the specified ad account, or have one of the necessary roles granted to them via Business Access: Admin, Analyst, Campaign Manager.
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier of an ad account.
Query parameters
Token returned from the post request creation call
Response
The request has succeeded.
Example response
{
"report_status": "FINISHED"
}Changes
- warning
added the new
CANCELLEDenum value to theresponse property for the response status - warning
added the new
DOES_NOT_EXISTenum value to theresponse property for the response status - warning
added the new
EXPIREDenum value to theresponse property for the response status - warning
added the new
FAILEDenum value to theresponse property for the response status - warning
added the new
FINISHEDenum value to theresponse property for the response status - warning
added the new
IN_PROGRESSenum value to theresponse property for the response 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
removed from the
response propertyallOflist for the response status
- warning
- info
added to the
response propertyallOflist for the response status
- info