Set the Conversions API dataset
Ads
Set the Conversions API dataset
Sets or replaces the Meta Conversions API (CAPI) dataset id on the connected ad account so server-side conversion events can be posted. The id is written in place without disturbing the stored access token or ad account id. A dataset id must be set before the test-conversion and conversion-posting endpoints will work. Owner or admin only.
PUT
Set the Conversions API dataset
Authorizations
Dashboard JWT token from Clerk
Response
200 - application/json
The stored dataset_id and an updated flag inside the standard { data, meta } envelope.
The response is of type object.