Skip to main content
PATCH
Update an ad pixel

인증

Authorization
string
header
필수

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.

Scopes

ad_pixel:manage

헤더

Api-Version-Date
string

Pins the request to a dated API version.

예시:

"2026-11-17"

경로 매개변수

id
string
필수

Ad pixel ID, prefixed adpx_.

본문

application/json
access_token
string
필수
write-only

A credential that can send events to the pixel on the ad platform. For meta, a Conversions API access token. For tiktok, an Events API access token. For thrad, an API key with events:write for the tag. For google, the JSON key of a Google Cloud service account. Give the service account Standard access to the Google Ads account. In its project, turn on the Google Ads API and the Data Manager API. The project also needs 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"

응답

Updated

account
object
필수

The business whose claimed campaigns send conversions to this pixel, with its name and logo.

account_id
string
필수

The business whose claimed campaigns send conversions to this pixel, prefixed biz_.

예시:

"biz_xxxxxxxxxxxxxx"

created_at
string
필수

When the pixel was added, as an ISO 8601 timestamp.

예시:

"2026-01-01T12:00:00.000Z"

error_message
string | null
필수

Why the ad platform rejected the last delivery. Null unless status is errored.

예시:

null

external_id
string
필수

The pixel's ID on the ad platform: a Meta pixel or dataset ID, TikTok pixel code, Google Ads customer ID, or Thrad tag ID.

예시:

"111222001"

id
string
필수

Ad pixel ID, prefixed adpx_.

예시:

"adpx_xxxxxxxxxxxxxx"

name
string | null
필수

The pixel's name on the ad platform. Null when the ad platform returned none.

예시:

"Supplier pixel"

platform
enum<string>
필수

The ad platform the pixel belongs to.

사용 가능한 옵션:
meta,
tiktok,
google,
thrad
예시:

"meta"

status
enum<string>
필수

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"

updated_at
string
필수

When the pixel was last changed, as an ISO 8601 timestamp.

예시:

"2026-01-01T12:00:00.000Z"