Skip to main content
Lists ads in the connected OpenAI Ads account. Pass an ad_group_id to scope to one ad group, or a campaign_id to scope to a campaign’s ad groups, or omit both to list ads across the whole account. Returns raw ad objects exactly as returned by the API. Optionally filter by status, sort by creation order, and limit results.

Inputs

SelectableOption

Output

Type: List[Dict] Returns a list of ad objects exactly as returned by the OpenAI Ads API (id, name, status, creative, review, review_status, created_at, updated_at), plus injected ad_group_id and campaign_id identifying the parent ad group and campaign. Fields: dynamic (depend on the inputs) Example: