Ad Groups

Retrieve an Ad Group

Changed on

Retrieves an ad group, with performance stats for the window set by stats_from and stats_to.

get/ad_groups/{id}

Request

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

Path parameters

id, string required

The ad group ID.

Query parameters

stats_from, string

Start of the stats window.

stats_to, string

End of the stats window.

time_zone, string

IANA timezone the stats window is interpreted in. 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.

Headers

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

Pins the request to a dated API version.

Response

ad group retrieved

AdGroup required
ad_campaign, AdEntityReference required

The ad campaign this ad group belongs to.

added_to_cart_value, number required

USD value attributed to add-to-cart events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.

added_to_carts, number required

Whop pixel-attributed add-to-cart events, last-click.

audiences, AdGroupAudiences required

Saved audiences this ad group delivers to or excludes.

bid_type, 'minimum_cost' | 'average_target' | 'maximum_target' | 'null' nullable required

How delivery bids are set in the ad auction. Target-based strategies use desired_cost_per_result.

budget_amount, number nullable required

This ad group's budget in USD, which is what it is stored and billed in. null when the budget is set on the campaign instead.

budget_amount_local, number nullable required

The same budget stated in budget_currency at today's exchange rate, for display in the account's ads reporting currency. null when budget_amount is.

budget_currency, string required

The ISO 4217 code budget_amount_local is in: the account's ads_reporting_currency preference. usd unless the account changed it.

budget_type, 'daily' | 'lifetime' | 'null' nullable required

Whether budget_amount is spent per day (daily) or over the ad group's full run (lifetime). A lifetime ad group also needs ends_at, at least 24 hours after it starts.

click_through_rate, number required

Clicks divided by impressions, between 0 and 1.

clicks, number required

The number of clicks.

completed_registration_value, number required

USD value attributed to complete-registration events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.

completed_registrations, number required

Whop pixel-attributed complete-registration events, last-click.

contact_value, number required

USD value attributed to contact events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.

contacts, number required

Whop pixel-attributed contact events, last-click.

conversion_event, union required

The pixel event optimized for. A standard event, or any custom pixel event name.

cost_per_added_to_cart, number nullable required

Spend divided by attributed add-to-cart events; null when they are not the goal and none are attributed.

cost_per_click, number required

Spend divided by clicks; 0 when there are no clicks.

cost_per_completed_registration, number nullable required

Spend divided by attributed complete-registration events; null when they are not the goal and none are attributed.

cost_per_contact, number nullable required

Spend divided by attributed contact events; null when contacts are not the goal and none are attributed.

cost_per_lead, number nullable required

Spend divided by attributed leads; null when leads are not a goal and none are attributed.

cost_per_mille, number required

Spend per 1,000 impressions; 0 when there are no impressions.

cost_per_purchase, number nullable required

Spend divided by attributed purchases; null when purchases are not a goal and none are attributed.

cost_per_result, number nullable required

Spend divided by Whop pixel-attributed results. For impressions, it's the spend per 1,000 impressions. null when nothing Whop-attributable is being optimized for.

cost_per_schedule, number nullable required

Spend divided by attributed schedule events; null when schedules are not the goal and none are attributed.

cost_per_submitted_application, number nullable required

Spend divided by attributed submit-application events; null when they are not the goal and none are attributed.

cost_per_unique_click, number nullable required

Spend divided by unique clicks; null when there are no unique clicks.

cost_per_viewed_content, number nullable required

Spend divided by attributed view-content events; null when they are not the goal and none are attributed.

created_at, string required

When the ad group was created, as an ISO 8601 timestamp.

custom_conversions, number required

Whop pixel-attributed custom (merchant-defined) conversion events, last-click, across all custom event names.

custom_event_counts, object required

Whop pixel-attributed custom conversions, keyed by your event name with its last-click count as the value. Empty when no named custom events are attributed. Custom events fired without a name are counted in custom_conversions but omitted here, so these values sum to at most custom_conversions.

custom_event_values, object required

Conversion value attributed to each custom event, keyed by event name like custom_event_counts. Sums the value passed to whop.track, normalized to USD; events fired without a value contribute 0.

delivery_schedule, AdGroupDeliverySchedule nullable required
delivery_status, 'rejected' | 'draft' | 'paused' | 'in_review' | 'processing' | 'revise_content' | 'issues' | 'scheduled' | 'completed' | 'learning' | 'active' required

Whether ads in this ad group are delivering right now, and if not, why. When several states apply at once, the highest-precedence one is returned.

demographics, AdGroupDemographics required

Age, gender, and automatic-audience targeting.

desired_cost_per_result, number nullable required

The cost per result the advertiser wants for this ad group, in USD. For an awareness campaign, it's the cost per 1,000 impressions. null when the ad group uses its campaign's desired_cost_per_result.

devices, AdGroupDevices required

Device platforms and operating systems targeted.

ends_at, string nullable required

When the ad group stops delivering, as an ISO 8601 timestamp. null when it runs until paused.

frequency, number nullable required

Impressions divided by reach.

id, string required

Unique identifier for the ad group, prefixed adgrp_.

impressions, number required

The number of impressions.

issues, AdPlatformIssue[] required
keywords, AdGroupKeyword[]
languages, string[] required
lead_value, number required

USD value attributed to lead events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.

leads, number required

Whop pixel-attributed leads, last-click.

learning_progress, AdGroupLearningProgress nullable required
link_clicks, number required

Page views on your destination from people who clicked the ad, recorded by the Whop pixel. Counted the same way on every ad platform.

medium, 'blimp' | 'billboard' | 'null' nullable required

The object that shows the ad group's ads. null outside a physical campaign.

purchase_value, number required

USD value of pixel-attributed purchases.

purchases, number required

Whop pixel-attributed purchases, last-click.

reach, number required

The number of unique people who saw this.

regions, AdGroupRegions required

Locations targeted and excluded.

result_event, 'purchase' | 'lead' | 'schedule' | 'submit_application' | 'contact' | 'complete_registration' | 'view_content' | 'add_to_cart' | 'custom' | 'messaging_conversation' | 'impressions' | 'null' nullable required

The Whop pixel event whose attributed count represents results. It's the optimization goal, or the highest-volume attributed event for a campaign that budgets per ad group. impressions counts reported impressions. null when the goal isn't a Whop-attributed event.

result_event_name, string nullable required

The merchant-defined event name when result_event is custom; null for the standard events.

results, number nullable required

The Whop pixel-attributed count behind result_event. When a campaign's ad groups optimize different goals there is no single result_event (it is null), and this is instead the sum of each ad group's own attributed results. Null when nothing Whop-attributable is being optimized for.

return_on_ad_spend, number required

Purchase value divided by spend, both in USD (a currency-neutral ratio); 0 when there is no spend.

schedule_value, number required

USD value attributed to schedule events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.

schedules, number required

Whop pixel-attributed schedule events, last-click.

spend, number required

The amount charged, in spend_currency.

spend_currency, string nullable required

The ISO 4217 currency code of all monetary metrics.

starts_at, string nullable required

When the ad group starts delivering, as an ISO 8601 timestamp. null when it starts as soon as it's active.

status, 'active' | 'paused' | 'rejected' | 'duplicating' required

Whether the ad group is enabled. active and paused are set by you; rejected means it failed ad review; duplicating is a copy still being filled in.

submitted_application_value, number required

USD value attributed to submit-application events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.

submitted_applications, number required

Whop pixel-attributed submit-application events, last-click.

title, string nullable required

Display name of the ad group.

unique_click_through_rate, number nullable required

Unique clicks divided by impressions, between 0 and 1.

unique_clicks, number required

People who clicked, reported by the Whop pixel, counted once per person.

updated_at, string required

When the ad group was last updated, as an ISO 8601 timestamp.

viewed_content_value, number required

USD value attributed to view-content events. Sums the value sent with each event, normalized to USD; events without a value contribute 0.

viewed_contents, number required

Whop pixel-attributed view-content events, last-click.

Example response

{
  "ad_campaign": {
    "id": "adcamp_xxxxxxxxxxxxxx"
  },
  "added_to_cart_value": 12650,
  "added_to_carts": 165,
  "audiences": {
    "exclude": [
      "adaud_xxxxxxxxxxxxxx"
    ],
    "include": [
      "adaud_xxxxxxxxxxxxxx"
    ]
  },
  "bid_type": "average_target",
  "budget_amount": 60,
  "budget_amount_local": 60,
  "budget_currency": "usd",
  "budget_type": "daily",
  "click_through_rate": 0.02,
  "clicks": 5500,
  "completed_registration_value": 1650,
  "completed_registrations": 55,
  "contact_value": 2640,
  "contacts": 88,
  "conversion_event": "purchase",
  "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_schedule": {
    "friday": [
      {
        "end": "12:00",
        "start": "10:00"
      }
    ],
    "monday": [
      {
        "end": "12:00",
        "start": "10:00"
      }
    ],
    "saturday": [
      {
        "end": "12:00",
        "start": "10:00"
      }
    ],
    "sunday": [
      {
        "end": "12:00",
        "start": "10:00"
      }
    ],
    "thursday": [
      {
        "end": "12:00",
        "start": "10:00"
      }
    ],
    "tuesday": [
      {
        "end": "12:00",
        "start": "10:00"
      }
    ],
    "wednesday": [
      {
        "end": "12:00",
        "start": "10:00"
      }
    ]
  },
  "delivery_status": "paused",
  "demographics": {
    "gender": "all",
    "maximum_age": 64,
    "minimum_age": 21
  },
  "desired_cost_per_result": 40,
  "devices": {
    "operating_systems": [
      {
        "minimum_version": "18.0",
        "os": "ios"
      }
    ],
    "platforms": [
      "mobile"
    ]
  },
  "ends_at": "2026-01-01T12:00:00.000Z",
  "id": "adgrp_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"
    }
  ],
  "keywords": [
    {
      "match_type": "broad"
    }
  ],
  "languages": [
    "en"
  ],
  "lead_value": 3960,
  "leads": 132,
  "link_clicks": 4400,
  "medium": "blimp",
  "purchase_value": 7920,
  "purchases": 44,
  "regions": {
    "exclude": {
      "cities": [
        {
          "key": "2418046",
          "name": "Austin"
        }
      ],
      "countries": [
        "US"
      ],
      "country_groups": [
        "north_america"
      ],
      "custom_locations": [
        {
          "distance_unit": "mile",
          "latitude": 30.2672,
          "longitude": -97.7431,
          "name": "4180 Burnet Rd, Austin TX 78756",
          "radius": 25
        }
      ],
      "regions": [
        "US-TX"
      ],
      "zips": [
        "US:78756"
      ]
    },
    "include": {
      "cities": [
        {
          "key": "2418046",
          "name": "Austin"
        }
      ],
      "countries": [
        "US"
      ],
      "country_groups": [
        "north_america"
      ],
      "custom_locations": [
        {
          "distance_unit": "mile",
          "latitude": 30.2672,
          "longitude": -97.7431,
          "name": "4180 Burnet Rd, Austin TX 78756",
          "radius": 25
        }
      ],
      "regions": [
        "US-TX"
      ],
      "zips": [
        "US:78756"
      ]
    }
  },
  "result_event": "custom",
  "result_event_name": "quote_requested",
  "results": 33,
  "return_on_ad_spend": 6,
  "schedule_value": 5400,
  "schedules": 60,
  "spend": 1320,
  "spend_currency": "usd",
  "starts_at": "2026-01-01T12:00:00.000Z",
  "status": "active",
  "submitted_application_value": 1320,
  "submitted_applications": 11,
  "title": "Austin ceramic coating — repeat customers",
  "unique_clicks": 3300,
  "updated_at": "2026-01-01T12:00:00.000Z",
  "viewed_content_value": 8400,
  "viewed_contents": 1200
}

Changes