Ads

Lists the ads for an account, with stats over the requested window.

get/ads

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

account_id, string

The account the ads belong to. Defaults to the account-scoped key's own account.

ad_campaign_id, string

Only return ads in this ad campaign.

ad_campaign_ids, string[]

Only return ads in these ad campaigns (max 100). Repeat the parameter for each id (ad_campaign_ids=a&ad_campaign_ids=b).

[
  "adcamp_xxxxxxxxxxxxxx"
]
ad_group_id, string

Only return ads in this ad group.

ad_group_ids, string[]

Only return ads in these ad groups (max 100). Repeat the parameter for each id (ad_group_ids=a&ad_group_ids=b).

[
  "adgrp_xxxxxxxxxxxxxx"
]
status, 'active' | 'paused' | 'in_review' | 'rejected'

Only return ads with this status.

query, string

Filter ads by a title or ID substring.

order, 'created_at' | 'updated_at' | 'spend' | 'impressions' | 'reach' | 'clicks' | 'link_clicks' | 'unique_clicks' | 'frequency' | 'click_through_rate' | 'results' | 'cost_per_mille' | 'cost_per_click' | 'cost_per_result' | 'return_on_ad_spend'

The field to sort by. Defaults to created_at. Stat columns (spend, impressions, …) rank over the stats_from/stats_to window across the whole list, not just the current page. results, cost_per_result and return_on_ad_spend rank by the same Whop pixel-attributed values the response reports, and link_clicks by the same Whop pixel page views.

direction, 'asc' | 'desc'

The sort direction. Defaults to desc.

created_before, string

Only return ads created before this timestamp.

created_after, string

Only return ads created after this timestamp.

stats_from, string

Start of the stats window. Defaults to all-time.

stats_to, string

End of the stats window. Defaults to now.

time_zone, string

IANA timezone (e.g. America/New_York) the stats window is interpreted in. Bare stats_from/stats_to dates resolve to day boundaries on this clock. Defaults to UTC.

attribution_model, 'last_touch' | 'first_touch'

Attribution model the conversion stats count under (defaults to last_touch). Under both models a journey with any whop ad touch attributes to whop; the model picks which whop touch credits the entity and which non-whop source wins otherwise.

first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

Number of results to return from the end of the range.

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

ads listed

object required
data, Ad[] required
page_info, object required

Example response

{
  "data": [
    {
      "ad_campaign": {
        "id": "adcamp_xxxxxxxxxxxxxx"
      },
      "ad_group": {
        "id": "adcamp_xxxxxxxxxxxxxx"
      },
      "added_to_cart_value": 1850,
      "added_to_carts": 74,
      "appeal_available_at": "2026-01-01T12:00:00.000Z",
      "call_to_action": "learn_more",
      "click_through_rate": 0.0209,
      "clicks": 1337,
      "completed_registration_value": 95,
      "completed_registrations": 19,
      "contact_value": 175,
      "contacts": 27,
      "content_review": {
        "status": "not_reviewed",
        "tags": [
          {
            "locations": [
              "creative"
            ]
          }
        ]
      },
      "cost_per_added_to_cart": 6.515675675675676,
      "cost_per_click": 0.45,
      "cost_per_completed_registration": 25.37684210526316,
      "cost_per_contact": 17.85777777777778,
      "cost_per_lead": 3.984793388429752,
      "cost_per_mille": 9.42,
      "cost_per_purchase": 12.68842105263158,
      "cost_per_result": 12.68842105263158,
      "cost_per_schedule": 10.48173913043478,
      "cost_per_submitted_application": 40.18,
      "cost_per_unique_click": 0.48,
      "cost_per_viewed_content": 0.2253084112149533,
      "created_at": "2026-01-01T12:00:00.000Z",
      "creatives": [
        {
          "crop": {
            "height": 1000,
            "width": 1000,
            "x": 40
          },
          "format": "square",
          "id": "file_xxxxxxxxxxxxxx",
          "media_type": "image",
          "source_id": "file_xxxxxxxxxxxxxx",
          "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        }
      ],
      "custom_conversions": 63,
      "custom_event_counts": {
        "booked_detail": 63
      },
      "custom_event_values": {
        "booked_detail": 4820
      },
      "delivery_status": "processing",
      "descriptions": [
        {
          "text": "Austin's mobile detailers"
        }
      ],
      "headlines": [
        {
          "text": "Austin's mobile detailers"
        }
      ],
      "id": "ad_xxxxxxxxxxxxxx",
      "impressions": 51204,
      "issues": [
        {
          "category": "error",
          "id": "adiss_xxxxxxxxxxxxxx",
          "message": "Your ad didn't pass our content review. Update it to follow our ad guidelines and resubmit.",
          "resource_id": "ad_xxxxxxxxxxxxxx",
          "resource_type": "ad",
          "title": "Ad issue"
        }
      ],
      "lead_value": 1180,
      "leads": 121,
      "link_clicks": 1071,
      "primary_texts": [
        {
          "text": "Austin's mobile detailers"
        }
      ],
      "purchase_value": 9462,
      "purchases": 38,
      "result_event": "purchase",
      "result_event_name": "booked_detail",
      "results": 38,
      "return_on_ad_spend": 19.62419113987058,
      "schedule_value": 640,
      "schedules": 46,
      "spend": 482.16,
      "spend_currency": "usd",
      "status": "active",
      "submitted_application_value": 300,
      "submitted_applications": 12,
      "title": "Hero video (Copy 1)",
      "unique_clicks": 1012,
      "updated_at": "2026-01-01T12:00:00.000Z",
      "url": "https://shinetime.example/ceramic-coating",
      "url_parameters": {},
      "viewed_contents": 2140
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • info

      added the required property data/items/appeal_available_at to the response with the status

    • info

      added the required property data/items/content_review/blocked_by_website to the response with the status

    • info

      added the required property data/items/content_review/tags/items/blocking to the response with the status

    1 more change in this revision