[[conversions]] entries, and campaigns reference them by ID via conversion_event_ids.
Create-only. The OpenAI Ads API can create and list conversion event settings, but has no update, archive, or delete endpoint for them. So Adjar can create a declared conversion and reference it, but editing or removing one is done in the OpenAI Ads dashboard.
adjar plan errors if you change a field on an existing (id-bearing) conversion rather than silently ignoring it — drop the id to create a new one, or make the edit in the dashboard.Full Example
How they connect
conversion_event_ids. Because conversions are create-only, the usual flow is: declare the conversion, adjar apply (which writes its ID back), then add that ID to the campaigns that should count it.
[[conversions]] Fields
string
required
The conversion’s display name, 3–1000 characters.
string
required
The event this conversion tracks — one of the standard types, or Use
"custom"."custom" for an action the standard taxonomy doesn’t cover, and set custom_event_name.string
Required when
event_type is "custom". Lowercase letters, numbers, underscores, or dashes; 1–64 characters; and not one of the built-in event names.integer
default:"30"
The attribution window, in days. The API currently uses
30; omit to take the default.array of strings
required
Exactly one conversion source ID — a
cds_… pixel or Conversions API key. Sources are provisioned in the OpenAI Ads dashboard (pixel install or CAPI setup); Adjar passes the ID through as an opaque reference and does not manage sources.Related Pages
- Campaigns —
conversion_event_idsreferences these settings by ID - Account Root — how
[[conversions]]are imported viaopenai.toml - OpenAI Ads API access — producing the
openai.jsoncredentials file