Skip to content
Bakhtarian edited this page May 14, 2026 · 1 revision

Ad

An ad is a single creative unit within Whop's advertising system. Ads belong to an ad group, which in turn belongs to an ad campaign, and represent the actual content shown to users.

SDK access

$client->ads // Matchable\Whop\Resource\AdResource

Endpoints

create(array $data): array

HTTP POST ads
Does Creates a new ad.
Parameters $data — ad attributes (e.g. ad group, creative, destination).
Returns array — the decoded API response.

list(array $query = []): array

HTTP GET ads
Does Lists ads.
Parameters $query — optional filters / pagination.
Returns array — the decoded API response.

get(string $id): array

HTTP GET ads/{id}
Does Retrieves a single ad by ID.
Parameters $id — the ad ID.
Returns array — the decoded API response.

Example

$ads = $client->ads->list(['ad_group_id' => 'adgrp_...']);

Reference

Official Whop documentation: https://docs.whop.com

Clone this wiki locally