Update an Ad Campaign
Changed onUpdates an ad campaign's settings, or launches a draft campaign by setting status to active. The objective is fixed at creation and cannot be changed.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The ad campaign ID.
Headers
Pins the request to a dated API version.
Request body
The campaign budget in USD, which is what it is stored and billed in. Spent per day, or over the campaign's full run when its budget_type is lifetime.
The campaign 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; an amount equal to the current budget_amount_local keeps the stored USD budget as is. Provide this or budget_amount, not both.
Which level owns the budget: the whole campaign (ad_campaign) or each ad group individually (ad_group). Only changeable before the campaign launches; switching to ad_campaign requires budget_amount in the same request, and switching to ad_group clears the campaign budget.
Deprecated: lifetime budgets have ended. A draft campaign with a lifetime budget can switch to daily. Send budget_amount in the same request. A switch to lifetime returns a 400.
Accepted only when it matches the campaign's current type, so a read can be sent back unchanged. The type is fixed at creation.
The cost per result, in USD, you want this campaign to achieve. A target only: it is not a bid, cost cap, or bid cap, and doesn't change how the campaign's ads bid. An ad group's own desired_cost_per_result overrides it. For an awareness campaign, it's the cost per 1,000 impressions. null clears it.
When the campaign stops delivering, as an ISO 8601 timestamp. Only for campaigns that own the budget.
Regulated categories the campaign falls under. Editable on any campaign, draft or launched; pass an empty array to clear.
When the campaign starts delivering, as an ISO 8601 timestamp. Only for campaigns that own the budget. Once the campaign has started, it can only move earlier.
Set to active to launch a draft campaign (moderates and pushes it live). Live-campaign pause and resume use the pause and unpause actions.
The name of the campaign.
Example request
{
"budget_amount": 40,
"budget_optimization": "ad_campaign",
"budget_type": "daily",
"campaign_type": "standard",
"ends_at": "2026-01-01T12:00:00.000Z",
"special_ad_categories": [
"employment"
],
"starts_at": "2026-01-01T12:00:00.000Z",
"status": "active",
"title": "Now hiring mobile detailers — Austin & Round Rock"
}Response
ad campaign updated
USD value attributed to add-to-cart events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.
Whop pixel-attributed add-to-cart events, last-click.
The campaign's budget in USD, which is what it is stored and billed in. null when each ad group sets its own budget instead.
The same budget stated in budget_currency at today's exchange rate, for display in the account's ads reporting currency. null when budget_amount is.
The ISO 4217 code budget_amount_local is in: the account's ads_reporting_currency preference. usd unless the account changed it.
Which level owns the budget: the whole campaign (ad_campaign) or each ad group individually (ad_group).
Whether budget_amount is spent per day (daily) or over the campaign's full run (lifetime).
The type of campaign. It can't change after the campaign is created.
Clicks divided by impressions, between 0 and 1.
The number of clicks.
USD value attributed to complete-registration events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.
Whop pixel-attributed complete-registration events, last-click.
USD value attributed to contact events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.
Whop pixel-attributed contact events, last-click.
Spend divided by attributed add-to-cart events; null when they are not the goal and none are attributed.
Spend divided by clicks; 0 when there are no clicks.
Spend divided by attributed complete-registration events; null when they are not the goal and none are attributed.
Spend divided by attributed contact events; null when contacts are not the goal and none are attributed.
Spend divided by attributed leads; null when leads are not a goal and none are attributed.
Spend per 1,000 impressions; 0 when there are no impressions.
Spend divided by attributed purchases; null when purchases are not a goal and none are attributed.
Spend divided by Whop pixel-attributed results. For impressions, it's the spend per 1,000 impressions. null when nothing Whop-attributable is being optimized for.
Spend divided by attributed schedule events; null when schedules are not the goal and none are attributed.
Spend divided by attributed submit-application events; null when they are not the goal and none are attributed.
Spend divided by unique clicks; null when there are no unique clicks.
Spend divided by attributed view-content events; null when they are not the goal and none are attributed.
When the campaign was created, as an ISO 8601 timestamp.
Whop pixel-attributed custom (merchant-defined) conversion events, last-click, across all custom event names.
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.
Conversion value attributed to each custom event, keyed by event name like custom_event_counts. Sums the value passed to whop.track, normalized to USD; events fired without a value contribute 0.
Whether the campaign's ads are delivering right now, and if not, why. Content review is in_review; a campaign waiting to start is processing. Account billing failures set payment_failed without changing the configured status. Successful payment retry clears that block and recalculates delivery. When several states apply at once, the highest-precedence one is returned.
The cost per result, in USD, the advertiser wants this campaign to achieve. A target only: it is not a bid, cost cap, or bid cap, and doesn't change how the campaign's ads bid. An ad group's own desired_cost_per_result overrides it. For an awareness campaign, it's the cost per 1,000 impressions. null when no target is set.
When the campaign stops delivering, as an ISO 8601 timestamp. null when it runs until paused, or when its ad groups set their own schedule.
Impressions divided by reach.
Unique identifier for the ad campaign, prefixed adcamp_.
The number of impressions.
USD value attributed to lead events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.
Whop pixel-attributed leads, last-click.
Page views on your destination from people who clicked the ad, recorded by the Whop pixel. Counted the same way on every ad platform.
The goal the campaign optimizes toward. awareness optimizes for impressions. engagement appears only on campaigns created before it was retired.
USD value of pixel-attributed purchases.
Whop pixel-attributed purchases, last-click.
The number of unique people who saw this.
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.
The merchant-defined event name when result_event is custom; null for the standard events.
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.
Purchase value divided by spend, both in USD (a currency-neutral ratio); 0 when there is no spend.
USD value attributed to schedule events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.
Whop pixel-attributed schedule events, last-click.
The amount charged, in spend_currency.
The ISO 4217 currency code of all monetary metrics.
When the campaign starts delivering, as an ISO 8601 timestamp. null when it starts as soon as it launches, or when its ad groups set their own schedule.
The configured lifecycle status of the ad campaign. Billing failures preserve active or paused here and set delivery_status to payment_failed.
USD value attributed to submit-application events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.
Whop pixel-attributed submit-application events, last-click.
The desired cost per result for target_result_event, in USD. For impressions, it's the cost per 1,000 impressions. null when none is set or the ad groups set different ones.
The event target_cost_per_result is priced per, such as purchase or lead. null when the campaign has no single goal.
Display name of the ad campaign.
Unique clicks divided by impressions, between 0 and 1.
People who clicked, reported by the Whop pixel, counted once per person.
When the campaign was last updated, as an ISO 8601 timestamp.
USD value attributed to view-content events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.
Whop pixel-attributed view-content events, last-click.
Example response
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"route": "shine-time-auto-detailing",
"title": "Shine Time Auto Detailing"
},
"added_to_cart_value": 12650,
"added_to_carts": 165,
"budget_amount": 50,
"budget_amount_local": 50,
"budget_currency": "usd",
"budget_optimization": "ad_group",
"budget_type": "daily",
"campaign_type": "standard",
"click_through_rate": 0.02,
"clicks": 5500,
"completed_registration_value": 1650,
"completed_registrations": 55,
"contact_value": 2640,
"contacts": 88,
"cost_per_added_to_cart": 8,
"cost_per_click": 0.3,
"cost_per_completed_registration": 24,
"cost_per_contact": 15,
"cost_per_lead": 10,
"cost_per_mille": 6,
"cost_per_purchase": 30,
"cost_per_result": 40,
"cost_per_schedule": 22,
"cost_per_submitted_application": 120,
"cost_per_unique_click": 0.4,
"cost_per_viewed_content": 1.1,
"created_at": "2026-01-01T12:00:00.000Z",
"custom_conversions": 41,
"custom_event_counts": {
"gift_card_purchased": 5,
"quote_requested": 33
},
"custom_event_values": {
"gift_card_purchased": 750,
"quote_requested": 0
},
"delivery_status": "learning",
"desired_cost_per_result": 4.5,
"ends_at": "2026-01-01T12:00:00.000Z",
"id": "adcamp_xxxxxxxxxxxxxx",
"impressions": 220000,
"issues": [
{
"category": "error",
"id": "adiss_xxxxxxxxxxxxxx",
"message": "Your ad didn't pass our content review. Update it to follow our ad guidelines and resubmit.",
"resource_id": "ad_xxxxxxxxxxxxxx",
"resource_type": "ad",
"title": "Ad issue"
}
],
"lead_value": 3960,
"leads": 132,
"link_clicks": 4400,
"objective": "sales",
"purchase_value": 7920,
"purchases": 44,
"result_event": "custom",
"result_event_name": "quote_requested",
"results": 33,
"return_on_ad_spend": 6,
"schedule_value": 5400,
"schedules": 60,
"special_ad_categories": [
"employment"
],
"spend": 1320,
"spend_currency": "usd",
"starts_at": "2026-01-01T12:00:00.000Z",
"status": "active",
"submitted_application_value": 1320,
"submitted_applications": 11,
"title": "Spring launch",
"unique_clicks": 3300,
"updated_at": "2026-01-01T12:00:00.000Z",
"viewed_content_value": 8400,
"viewed_contents": 1200
}Changes
- warning
added the new
physicalenum value to thecampaign_typeresponse property for the response status - info
added the new
physicalenum value to the request propertycampaign_type
- warning
- info
added the required property
account/oneOf[#/components/schemas/StorefrontAccount]/banner_image_urlto the response with the status
- info