| What you need | Why you need it | How to get it |
|---|---|---|
OAuth access token with ads:readads:write | These scopes are required for using the conversion deletion request endpoints. | See which scopes you need when getting an access token. |
| Parameter | Descriptions |
|---|---|
deletion_targetsObject Required | Container for the user identifiers you want to remove from conversion event data. |
user_emailsArray of strings Required if epik | Plain text emails for the users you want to remove from conversion event data. |
epiksArray of strings Required if user_emails | epik (External Pinterest ID Key) values for the users you want to remove from conversion event data. The epik value is a unique identifier that Pinterest uses to help track users across devices and sessions. It is typically passed as a query parameter in your URLs, for example, after a click on a Pinterest ad. |
curl --request POST \ --url https://api.pinterest.com/v5/ad_accounts/123456789012345678/conversion_deletion_requests \ --header 'content-type: application/json' \ --data '{"deletion_targets":{"user_emails":["user@example.com"],"epiks":["AbC123xYz456wQeR7890tUv"]}}'
request_idrequest_id| Parameter | Descriptions |
|---|---|
request_idString | The ID of the deletion request. |