terms_of_service
Get terms of service
Changed onGet the text of the terms of service and see whether the advertiser has accepted the terms of service.
get/ad_accounts/{ad_account_id}/terms_of_service
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
ad_account_idstring required
Unique identifier of an ad account.
Query parameters
include_htmlboolean
Return HTML in TOS text.
tos_typestring
Request type.
Response
The request has succeeded.
Example response
{
"ad_account_id": "549755885175",
"has_accepted": true,
"html": "example test",
"id": "2650449554526"
}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
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
for the
pathrequest parameterad_account_id, the maxLength was decreased from19to18
- breaking