OpenAI Ads ad groups
openai_ads_ad_groupsList ad groups for a specified OpenAI Ads campaign, returning IDs, names, statuses, and bidding configuration.
Instructions
List the ad groups of one OpenAI Ads (ChatGPT ads) campaign (GET /v1/ad_groups?campaign_id=...): id, name,
status, bidding_config (billing_event_type, max_bid_micros in micros of the account currency),
created_at / updated_at. Reads up to limit rows (next_after while has_more). Names are third-party text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | next_after (last_id) of a previous call to read the next rows; empty to start | |
| limit | No | Maximum rows returned (1 to 2500), over at most 5 pages of 500 | |
| order | No | Creation order: asc or desc; empty uses the API default | |
| before | No | first_id of a previous call to read the rows before it (one page); not with after | |
| client_id | No | Client id from clients_list; empty uses the only client (or the environment variables without a registry) | |
| campaign_id | Yes | Parent campaign id (from openai_ads_campaigns) |