For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Overview Agent Access Ads ChatGPT + Codex user docs Use cases

API Reference

Conversions

Create Conversion Api Key
POST
/conversions/api_keys
Create Conversion Event Setting
POST
/conversions/event_settings
Create Conversion Source
POST
/conversions/pixels
List Conversion Event Settings
GET
/conversions/event_settings
List Conversion Events
GET
/conversions/events
List Conversion Sources
GET
/conversions/pixels
Post Conversion Insights
POST
/conversions/insights
Models
ConversionCreateConversionAPIKeyResponse object { api_key, name }
api_key: string
name: string
ConversionCreateConversionEventSettingResponse object { id, ad_account_id, archived, 8 more }
id: string
ad_account_id: string
archived: boolean
attribution_window_days: integer
campaigns: array of object { id, name }
id: string
name: string
custom_event_name: string or null
event_type: string
name: string
source_ids: array of string
sources: array of object { id, name }
id: string
name: string or null
version: integer
ConversionCreateConversionSourceResponse object { id, client_type, name, pixel_id }
id: string
client_type: string
name: string
pixel_id: string
ConversionListConversionEventSettingsResponse object { data, first_id, has_more, 2 more }
data: array of object { id, ad_account_id, archived, 8 more }
id: string
ad_account_id: string
archived: boolean
attribution_window_days: integer
campaigns: array of object { id, name }
id: string
name: string
custom_event_name: string or null
event_type: string
name: string
source_ids: array of string
sources: array of object { id, name }
id: string
name: string or null
version: integer
first_id: string or null
has_more: boolean
last_id: string or null
object: string
ConversionListConversionEventsResponse object { data, object }
data: array of object { action_source, api_channel, custom_event_name, 6 more }
action_source: string or null
api_channel: string
custom_event_name: string or null
data_source_id: string
event_data_json: string
event_timestamp_ms: integer

Advertiser event time as Unix epoch milliseconds.

event_type: string
received_at_ms: integer

Wadi receive time as Unix epoch milliseconds.

test_session_id: optional string or null

Untrusted diagnostic label; does not affect reporting or authorization.

object: string
ConversionListConversionSourcesResponse object { data, first_id, has_more, 2 more }
data: array of object { id, client_type, name, pixel_id }
id: string
client_type: string
name: string
pixel_id: string
first_id: string or null
has_more: boolean
last_id: string or null
object: string
ConversionPostConversionInsightsResponse object { count, data, object, account_currency }
count: integer
data: array of object { conversions, entity_id, attributed_events, 7 more }
conversions: integer
entity_id: string
attributed_events: optional array of object { attributed_event_count, attributed_event_value_amount, attributed_event_value_count, 10 more }
attributed_event_count: integer
attributed_event_value_amount: number or null
attributed_event_value_count: integer
attributed_event_value_currency: string or null
entity_id: string
event_kind: string
event_name: string
click_through_conversions: optional integer
conversion_event_setting_breakdowns: optional array of object { click_through_conversions, conversion_event_setting_id, view_through_conversions }
click_through_conversions: integer
conversion_event_setting_id: string
view_through_conversions: integer
country: optional string
date: optional string
device: optional string
view_through_conversions: optional integer
click_through_conversions: optional integer
country: optional string
date: optional string
device: optional string
order_created_attributed_sales: optional string or null
order_created_attributed_sales_currency: optional string
view_through_conversions: optional integer
object: string
account_currency: optional string