v8
OpenAPI 3.1.02026-08-033623795.0 MBList Ad Groups
Lists ad groups for the account, newest first.
Query parameters
Account whose ad groups to list. Defaults to the authenticated account.
Filter to ad groups in this campaign.
Filter to ad groups in these campaigns (max 100). Repeat the parameter for each id (ad_campaign_ids=a&ad_campaign_ids=b).
Filter to ad groups with this status.
Filter ad groups by a title or ID substring.
The field to sort by. Defaults to created_at. Stat columns (spend, impressions, …) rank over the stats_from/stats_to window across the whole list, not just the current page. results, cost_per_result and return_on_ad_spend rank by the same Whop pixel-attributed values the response reports.
The sort direction. Defaults to desc.
Only return ad groups created before this timestamp.
Only return ad groups created after this timestamp.
Start of the stats window. Defaults to all-time.
End of the stats window. Defaults to now.
IANA timezone (e.g. America/New_York) the stats window is interpreted in. Bare stats_from/stats_to dates resolve to day boundaries on this clock. Defaults to UTC.
Attribution model the conversion stats count under (defaults to last_touch). Under both models a journey with any whop ad touch attributes to whop; the model picks which whop touch credits the entity and which non-whop source wins otherwise.
The number of ad groups to return.
Cursor to fetch the page after (from page_info.end_cursor).
The number of ad groups to return from the end of the range.
Cursor to fetch the page before (from page_info.start_cursor).
Response
ad groups listed
Example response
{
"data": [
{
"bid_type": "minimum_cost",
"budget_type": "daily",
"conversion_location": "website",
"delivery_status": "all_ads_rejected",
"demographics": {
"gender": "all"
},
"detailed_targeting": {
"demographics": [
{
"type": "life_events"
}
]
},
"devices": {
"operating_systems": [
{
"os": "ios"
}
],
"platforms": [
"mobile"
]
},
"issues": [
{
"resource_type": "ad_campaign"
}
],
"message_apps": [
"messenger"
],
"optimization_goal": "conversions",
"placements": [
{
"platform": "facebook"
}
],
"regions": {
"exclude": {
"custom_locations": [
{
"distance_unit": "mile"
}
]
},
"include": {
"custom_locations": [
{
"distance_unit": "mile"
}
]
}
},
"result_event": "purchase",
"status": "active"
}
]
}