Ad Campaigns

List Ad Campaigns

Changed on

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

get/ad_campaigns

Request

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

Query parameters

account_id, string

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

status, 'draft' | 'active' | 'paused' | 'payment_failed'

Only return campaigns with this status.

query, string

Filter campaigns 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.

campaign_type, 'standard' | 'search' | 'physical'

Only return campaigns of this type.

created_before, string

Only return campaigns created before this timestamp.

created_after, string

Only return campaigns 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

ad campaigns listed

object required
data, AdCampaign[] required
page_info, object required

Example response

{
  "data": [
    {
      "account": {
        "id": "biz_xxxxxxxxxxxxxx",
        "logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "route": "shine-time-auto-detailing",
        "title": "Shine Time Auto Detailing"
      },
      "added_to_cart_value": 12650,
      "added_to_carts": 165,
      "budget_amount": 50,
      "budget_amount_local": 50,
      "budget_currency": "usd",
      "budget_optimization": "ad_group",
      "budget_type": "daily",
      "campaign_type": "standard",
      "click_through_rate": 0.02,
      "clicks": 5500,
      "completed_registration_value": 1650,
      "completed_registrations": 55,
      "contact_value": 2640,
      "contacts": 88,
      "cost_per_added_to_cart": 8,
      "cost_per_click": 0.3,
      "cost_per_completed_registration": 24,
      "cost_per_contact": 15,
      "cost_per_lead": 10,
      "cost_per_mille": 6,
      "cost_per_purchase": 30,
      "cost_per_result": 40,
      "cost_per_schedule": 22,
      "cost_per_submitted_application": 120,
      "cost_per_unique_click": 0.4,
      "cost_per_viewed_content": 1.1,
      "created_at": "2026-01-01T12:00:00.000Z",
      "custom_conversions": 41,
      "custom_event_counts": {
        "gift_card_purchased": 5,
        "quote_requested": 33
      },
      "custom_event_values": {
        "gift_card_purchased": 750,
        "quote_requested": 0
      },
      "delivery_status": "learning",
      "desired_cost_per_result": 4.5,
      "ends_at": "2026-01-01T12:00:00.000Z",
      "id": "adcamp_xxxxxxxxxxxxxx",
      "impressions": 220000,
      "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": 3960,
      "leads": 132,
      "link_clicks": 4400,
      "objective": "sales",
      "purchase_value": 7920,
      "purchases": 44,
      "result_event": "custom",
      "result_event_name": "quote_requested",
      "results": 33,
      "return_on_ad_spend": 6,
      "schedule_value": 5400,
      "schedules": 60,
      "special_ad_categories": [
        "employment"
      ],
      "spend": 1320,
      "spend_currency": "usd",
      "starts_at": "2026-01-01T12:00:00.000Z",
      "status": "active",
      "submitted_application_value": 1320,
      "submitted_applications": 11,
      "title": "Spring launch",
      "unique_clicks": 3300,
      "updated_at": "2026-01-01T12:00:00.000Z",
      "viewed_content_value": 8400,
      "viewed_contents": 1200
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • warning

      added the new physical enum value to the data/items/campaign_type response property for the response status

    • info

      added the new enum value physical to the query request parameter campaign_type

    • info

      added the required property data/items/account/oneOf[#/components/schemas/StorefrontAccount]/banner_image_url to the response with the status