Create an Ad Pixel
Add your pixel for a business whose campaigns you claimed. Whop checks the access token with the ad platform, then sends the pixel the conversions credited to your claimed campaigns for that business. Each business takes one pixel per ad platform, and each pixel can serve one business. On Google, the pixel is your Google Ads account, which can serve several businesses, and Whop creates its conversion actions there with your service account key.
Authorizations
A user OAuth token or a user API key. 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"
Pins the request to a dated API version.
"2026-10-29-8"
Body
A credential that can send events to the pixel on the ad platform: a Meta Conversions API access token, a TikTok Events API access token, or for google, the JSON key of a Google Cloud service account. The service account needs Standard access to the Google Ads account, and its project needs the Google Ads API and the Data Manager API turned on and Explorer access or higher to the Google Ads API. Use a service account made only for Whop, with no roles in its project. Whop never returns it.
"new-token"
The business whose claimed campaigns send conversions to this pixel, prefixed biz_. You must have claimed at least one of its campaigns.
"biz_xxxxxxxxxxxxxx"
The pixel's ID on the ad platform: the Meta pixel or dataset ID, the TikTok pixel code, or the Google Ads customer ID.
"998877665544"
The ad platform the pixel belongs to.
meta, tiktok, google "meta"
Response
Created
The business whose claimed campaigns send conversions to this pixel, prefixed biz_.
"biz_xxxxxxxxxxxxxx"
When the pixel was added, as an ISO 8601 timestamp.
"2026-01-01T12:00:00.000Z"
Why the ad platform rejected the last delivery. Null unless status is errored.
null
The pixel's ID on the ad platform: the Meta pixel or dataset ID, the TikTok pixel code, or the Google Ads customer ID.
"111222001"
Ad pixel ID, prefixed adpx_.
"adpx_xxxxxxxxxxxxxx"
The pixel's name on the ad platform. Null when the ad platform returned none.
"Supplier pixel"
The ad platform the pixel belongs to.
meta, tiktok, google "meta"
active receives conversions. errored stopped because the ad platform rejected the access token; update the token to resume. disabled was turned off by Whop.
active, errored, disabled "active"
When the pixel was last changed, as an ISO 8601 timestamp.
"2026-01-01T12:00:00.000Z"

