export interface AdPixel { /** The business whose claimed campaigns send conversions to this pixel, prefixed `biz_`. */ account_id: string; /** When the pixel was added, as an ISO 8601 timestamp. */ created_at: string; /** Why the ad platform rejected the last delivery. Null unless `status` is `errored`. */ error_message: string | 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. */ external_id: string; /** Ad pixel ID, prefixed `adpx_`. */ id: string; /** The pixel's name on the ad platform. Null when the ad platform returned none. */ name: string | null; /** The ad platform the pixel belongs to. */ platform: AdPixel.Platform; /** `active` receives conversions. `errored` stopped because the ad platform rejected the access token; update the token to resume. `disabled` was turned off by Whop. */ status: AdPixel.Status; /** When the pixel was last changed, as an ISO 8601 timestamp. */ updated_at: string; } export declare namespace AdPixel { /** The ad platform the pixel belongs to. */ const Platform: { readonly Meta: "meta"; readonly Tiktok: "tiktok"; readonly Google: "google"; }; type Platform = (typeof Platform)[keyof typeof Platform]; /** `active` receives conversions. `errored` stopped because the ad platform rejected the access token; update the token to resume. `disabled` was turned off by Whop. */ const Status: { readonly Active: "active"; readonly Errored: "errored"; readonly Disabled: "disabled"; }; type Status = (typeof Status)[keyof typeof Status]; }