-
Notifications
You must be signed in to change notification settings - Fork 0
AdCampaign
An ad campaign is the top-level container in Whop's advertising system. It groups ad groups and ads under a shared objective, budget, and schedule, and can be paused or resumed.
$client->adCampaigns // Matchable\Whop\Resource\AdCampaignResource| HTTP | POST ad-campaigns |
| Does | Creates a new ad campaign. |
| Parameters |
$data — campaign attributes (e.g. name, budget, objective). |
| Returns | array |
| HTTP | GET ad-campaigns |
| Does | Lists ad campaigns. |
| Parameters |
$query — optional filters / pagination. |
| Returns | array |
| HTTP | GET ad-campaigns/{id} |
| Does | Retrieves a single ad campaign by ID. |
| Parameters |
$id — the campaign ID. |
| Returns | array |
| HTTP | PATCH ad-campaigns/{id} |
| Does | Updates an ad campaign. |
| Parameters |
$id — the campaign ID; $data — fields to change. |
| Returns | array |
| HTTP | POST ad-campaigns/{id}/pause |
| Does | Pauses a running ad campaign. |
| Parameters |
$id — the campaign ID; $data — optional pause options. |
| Returns | array |
| HTTP | POST ad-campaigns/{id}/unpause |
| Does | Resumes a paused ad campaign. |
| Parameters |
$id — the campaign ID. |
| Returns | array |
$campaign = $client->adCampaigns->create([
'name' => 'Spring launch',
'budget' => 50000,
]);
$client->adCampaigns->pause($campaign['id']);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification