Update ad campaign
Updates an ad campaign synchronously and returns it immediately (local-first). The platform push runs in the background; any errors surface on the dashboard.
Required permissions:
ad_campaign:update
Authorizations
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 ***************************
Path Parameters
The unique identifier of the ad campaign to update.
"adcamp_xxxxxxxxxxx"
Body
Response
A successful response
An advertising campaign running on an external platform or within Whop.
The unique identifier for this ad campaign.
"adcamp_xxxxxxxxxxx"
The campaign name shown in the Whop dashboard.
Current status of the campaign.
active, paused, payment_failed, draft, in_review, flagged The external ad platform this campaign is running on (e.g., meta, tiktok).
meta, tiktok When the ad campaign was created.
"2023-12-01T05:00:00.401Z"
When the ad campaign was last updated.
"2023-12-01T05:00:00.401Z"
Total budget in dollars.
6.9
The budget type for an ad campaign or ad group.
daily, lifetime Open platform issues affecting this campaign and its descendant ad groups and ads, deduplicated per object. Empty when there are none.
Amount charged in dollars in the stats window.
6.9
Currency of spend and the other monetary metric fields.
usd, sgd, inr, aud, brl, cad, dkk, eur, nok, gbp, sek, chf, hkd, huf, jpy, mxn, myr, pln, czk, nzd, aed, eth, ape, cop, ron, thb, bgn, idr, dop, php, try, krw, twd, vnd, pkr, clp, uyu, ars, zar, dzd, tnd, mad, kes, kwd, jod, all, xcd, amd, bsd, bhd, bob, bam, khr, crc, xof, egp, etb, gmd, ghs, gtq, gyd, ils, jmd, mop, mga, mur, mdl, mnt, nad, ngn, mkd, omr, pyg, pen, qar, rwf, sar, rsd, lkr, tzs, ttd, uzs, rub, btc, cny, usdt, kzt, awg, whop_usd, xau Total impressions (views) on the campaign's ads in the stats window.
42
Unique users reached in the stats window (deduplicated by the platform).
42
Total clicks on the campaign's ads in the stats window.
42
Unique clicks (deduplicated by the platform) in the stats window.
42
Average number of times each person saw an ad (impressions / reach), as reported by the platform.
6.9
Click-through rate as a fraction of impressions (clicks / impressions, 0–1).
6.9
Unique click-through rate as a fraction of impressions (unique clicks / impressions, 0–1).
6.9
Return on ad spend as a ratio (purchaseValue / spend) — 2.5 means $2.50 of attributed purchase value per $1 spent. 0 when there is no spend.
6.9
Number of Whop pixel-attributed purchases (last-click) in the stats window.
42
Total USD value of Whop pixel-attributed purchases in the stats window.
6.9
Number of Whop pixel-attributed leads (last-click) in the stats window.
42
Cost per click in dollars (spend / clicks). 0 when there are no clicks.
6.9
Cost per 1,000 impressions in dollars (spend / impressions × 1000). 0 when there are no impressions.
6.9
Cost in dollars per optimization result (spend / results). 0 when a result is being optimized for but none happened yet; null when nothing is being optimized for.
6.9
Cost in dollars per Whop pixel-attributed purchase (spend / purchases). 0 when purchases are tracked but none happened yet; null when purchases are not a goal and none were attributed.
6.9
Cost in dollars per Whop pixel-attributed lead (spend / leads). 0 when leads are tracked but none happened yet; null when leads are not a goal and none were attributed.
6.9

