Meta and ChatGPT Ads destinations API
API operations to list, set, test and remove the Meta and ChatGPT Ads (OpenAI Conversions API) destinations a property sends its conversions to.
Send a property’s conversions to Meta and ChatGPT Ads as well as Google Ads: set the destination, send a test event, and remove it.
8 operations. Paths are relative to https://prod-backend.productmetrics.io/api/public/v1; every request needs Authorization: Bearer $PM_TOKEN. See the API overview for authentication, errors and rate limits.
Meta
GET /companies/{companyId}/destinations/meta
The workspace’s Meta destinations with status and errors.
PUT /companies/{companyId}/properties/{propertyId}/destinations/meta
Creates or updates a property’s Meta destination.
POST /companies/{companyId}/properties/{propertyId}/destinations/meta/test
Sends one test purchase to Meta.
DELETE /companies/{companyId}/properties/{propertyId}/destinations/meta
Removes a property’s Meta destination and its access token.
ChatGPT Ads (OpenAI Conversions API)
GET /companies/{companyId}/destinations/openai
The workspace’s ChatGPT Ads destinations with status and errors.
PUT /companies/{companyId}/properties/{propertyId}/destinations/openai
Creates or updates a property’s ChatGPT Ads destination.
POST /companies/{companyId}/properties/{propertyId}/destinations/openai/test
Sends one test purchase to ChatGPT Ads.
DELETE /companies/{companyId}/properties/{propertyId}/destinations/openai
Removes a property’s ChatGPT Ads destination and its API key.