DestinationsConnect OpenAI Ads

Connect OpenAI Ads

One-click OpenAI Ads conversions — creates (or updates) the openai_ads server destination, mapped from the Mythic commerce spec to OpenAI's event taxonomy. Server-only: there is no browser half.

That taxonomy is CLOSED (order_created, checkout_started, items_added, contents_viewed, page_viewed, lead_created, appointment_scheduled, registration_completed) and each type is paired with a required data.type, so this is a translation and not a passthrough. An event with no mapping entry is silently skipped by the destination. Commerce events with no OpenAI counterpart — view_item_list, view_cart, remove_from_cart, add_shipping_info, add_payment_info, checkout_step_completed, refund, order_cancelled — are deliberately unmapped rather than sent as custom names no campaign can optimise against. event_mapping is MERGED over the default.

curl -X POST "https://mythic-analytics.gulp.workers.dev/client/v1/destinations/integrations/openai_ads" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "pixel_id": "example_string",
  "event_mapping": {}
}'
{
  "success": true,
  "data": {
    "platform": "example_string",
    "destination_id": "example_string",
    "tag_id": "example_string",
    "browser_tag": true
  }
}
POST
/client/v1/destinations/integrations/openai_ads
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.
Content-Typestring
Required

The media type of the request body

Options: application/json
pixel_idstring
Required

OpenAI Ads pixel id.

Min length: 1
event_mappingobject

Mythic event name -> OpenAI event type, or "custom:<name>". Merged OVER the commerce-spec default.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Body

application/json
pixel_idstring
Required

OpenAI Ads pixel id.

event_mappingobject

Mythic event name -> OpenAI event type, or "custom:<name>". Merged OVER the commerce-spec default.

Responses