conversions
Update advertiser defined events
Changed onUpdate advertiser defined event names or mappings for the given ad account.
patch/ad_accounts/{ad_account_id}/advertiser_defined_events
Request
- Base URLhttps://api.pinterest.com/v5
- Auth
- OAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:write
- or OAuth 2Client credentialsToken URLhttps://api.pinterest.com/v3/oauth/access_token/Scopesads:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ad_account_idstring required
Unique identifier of an ad account.
Request body
Example request
{
"items": [
{
"mapped_conversion_type": "SIGNUP",
"name": "newsletter_signup"
}
]
}Response
The request has succeeded.
Example response
{
"items": [
{
"name": "newsletter_signup",
"status": "success"
}
]
}Changes
- info
endpoint added
- info