Create an Ad Group
Creates an ad group (ad set) in a campaign.
Authorizations
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Body
This ad group's budget stated in the account's ads reporting currency (budget_currency on the response) instead of USD. Converted to USD at the current exchange rate and stored as budget_amount; on an update, an amount equal to the current budget_amount_local keeps the stored USD budget as is. Provide this or budget_amount, not both.
The pixel event optimized for. A standard event, or any custom pixel event name.
purchase, add_to_cart, initiated_checkout, add_payment_info, complete_registration, lead, content_view, contact, search, customize_product, donate, find_location, schedule, start_trial, submit_application, subscribe "purchase"
Hours the ad group delivers in each week, keyed by day. Each window runs from start to end on the hour, with 24:00 for midnight. A day's windows can't overlap or touch. A day that's empty or left out doesn't deliver. The schedule is replaced as a whole. null delivers at every hour. A schedule needs a lifetime budget on the ad group, or on its campaign when the campaign holds the budget. Only ad groups and campaigns that already have one can use it.
Response
ad group created
The pixel event optimized for. A standard event, or any custom pixel event name.
purchase, add_to_cart, initiated_checkout, add_payment_info, complete_registration, lead, content_view, contact, search, customize_product, donate, find_location, schedule, start_trial, submit_application, subscribe "purchase"
Whop pixel-attributed custom conversions, keyed by your event name with its last-click count as the value. Empty when no named custom events are attributed. Custom events fired without a name are counted in custom_conversions but omitted here, so these values sum to at most custom_conversions.
Hours the ad group delivers in each week, keyed by day. Days it doesn't deliver are omitted. null when it delivers at every hour. A schedule needs a lifetime budget on the ad group, or on its campaign when the campaign holds the budget. Only ad groups and campaigns that already have one can use it.
Whether ads in this ad group are delivering right now, and if not, why. When several states apply at once, the highest-precedence one is returned.
rejected, draft, paused, in_review, processing, revise_content, issues, scheduled, completed, learning, active "paused"
The Whop pixel event whose attributed count represents results. It's the optimization goal, or the highest-volume attributed event for a campaign that budgets per ad group. impressions counts reported impressions. null when the goal isn't a Whop-attributed event.
purchase, lead, schedule, submit_application, contact, complete_registration, view_content, add_to_cart, custom, messaging_conversation, impressions, null "custom"
The Whop pixel-attributed count behind result_event. When a campaign's ad groups optimize different goals there is no single result_event (it is null), and this is instead the sum of each ad group's own attributed results. Null when nothing Whop-attributable is being optimized for.
33

