curl --request GET \
--url https://api.whop.com/api/v1/ad_groups \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "adgrp_xxxxxxxxxxxx",
"name": "<string>",
"status": "active",
"daily_budget": 6.9,
"created_at": "2023-12-01T05:00:00.401Z",
"updated_at": "2023-12-01T05:00:00.401Z",
"platform_config": {
"typename": "<string>",
"platform": "meta",
"page_id": "<string>",
"instagram_actor_id": "<string>",
"status": "ACTIVE",
"bid_strategy": "LOWEST_COST_WITHOUT_CAP",
"bid_amount": 42,
"daily_budget": 42,
"lifetime_budget": 42,
"end_time": "<string>",
"optimization_goal": "NONE",
"billing_event": "APP_INSTALLS",
"destination_type": "UNDEFINED",
"promoted_object": {},
"attribution_spec": [
{}
],
"publisher_platforms": [
"<string>"
],
"facebook_positions": [
"<string>"
],
"instagram_positions": [
"<string>"
],
"geo_locations": {},
"excluded_geo_locations": {},
"targeting_automation": {}
},
"config": {
"bid_strategy": "lowest_cost",
"bid_amount": 42,
"optimization_goal": "conversions",
"billing_event": "impressions",
"start_time": "<string>",
"end_time": "<string>",
"pacing": "standard",
"frequency_cap": 42,
"frequency_cap_interval_days": 42,
"targeting": {
"countries": [
"<string>"
],
"age_min": 42,
"age_max": 42,
"genders": [
"male"
],
"languages": [
"<string>"
],
"placement_type": "automatic",
"device_platforms": [
"mobile"
],
"interest_ids": [
"<string>"
],
"include_audience_ids": [
"<string>"
],
"exclude_audience_ids": [
"<string>"
]
}
}
}
],
"page_info": {
"end_cursor": "<string>",
"start_cursor": "<string>",
"has_next_page": true,
"has_previous_page": true
}
}Returns a paginated list of ad groups for a campaign, with optional filtering by status and creation date.
Required permissions:
ad_campaign:readcurl --request GET \
--url https://api.whop.com/api/v1/ad_groups \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "adgrp_xxxxxxxxxxxx",
"name": "<string>",
"status": "active",
"daily_budget": 6.9,
"created_at": "2023-12-01T05:00:00.401Z",
"updated_at": "2023-12-01T05:00:00.401Z",
"platform_config": {
"typename": "<string>",
"platform": "meta",
"page_id": "<string>",
"instagram_actor_id": "<string>",
"status": "ACTIVE",
"bid_strategy": "LOWEST_COST_WITHOUT_CAP",
"bid_amount": 42,
"daily_budget": 42,
"lifetime_budget": 42,
"end_time": "<string>",
"optimization_goal": "NONE",
"billing_event": "APP_INSTALLS",
"destination_type": "UNDEFINED",
"promoted_object": {},
"attribution_spec": [
{}
],
"publisher_platforms": [
"<string>"
],
"facebook_positions": [
"<string>"
],
"instagram_positions": [
"<string>"
],
"geo_locations": {},
"excluded_geo_locations": {},
"targeting_automation": {}
},
"config": {
"bid_strategy": "lowest_cost",
"bid_amount": 42,
"optimization_goal": "conversions",
"billing_event": "impressions",
"start_time": "<string>",
"end_time": "<string>",
"pacing": "standard",
"frequency_cap": 42,
"frequency_cap_interval_days": 42,
"targeting": {
"countries": [
"<string>"
],
"age_min": 42,
"age_max": 42,
"genders": [
"male"
],
"languages": [
"<string>"
],
"placement_type": "automatic",
"device_platforms": [
"mobile"
],
"interest_ids": [
"<string>"
],
"include_audience_ids": [
"<string>"
],
"exclude_audience_ids": [
"<string>"
]
}
}
}
],
"page_info": {
"end_cursor": "<string>",
"start_cursor": "<string>",
"has_next_page": true,
"has_previous_page": true
}
}A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
42
Returns the last n elements from the list.
42
The unique identifier of the campaign to list ad groups for.
Only return ad groups created after this timestamp.
"2023-12-01T05:00:00.401Z"
Only return ad groups created before this timestamp.
"2023-12-01T05:00:00.401Z"
Filter ad groups by their current status.
active, paused, inactive Was this page helpful?