The reporting API returns the same daily summary you see on the Prebid Analytics cards, so you can pull it into your own dashboards, spreadsheets or BI tools. Requests are authenticated with an API key from your organization.
From the sidebar, navigate to Connect > API Keys. This page requires admin permission.
Click Create new secret key. Each key is listed with its ID, when it was created and when it was last used. From the same table you can show the key, regenerate it or disable it.
| Action | Effect |
|---|---|
| Show API key | Displays the secret key so you can copy it. |
| Regenerate Secret Key | Replaces the key. Requests using the old key stop working. |
| Disable | Rejects all requests made with the key until you enable it again. |
Keep the key on your server. Anyone with the key can read your organization's reporting data.
Open Administration > Organization and go to the settings of your organization. The organization ID is the part of the page URL after /setup/org/, for example https://app.biddingstack.com/setup/org/ORG_ID/settings.
A key only works for the organization it was created in. Requests for another organization return 403.
Pass the secret key as-is in the Authorization header, without a Bearer prefix.
curl -H "Authorization: YOUR_SECRET_KEY" \
https://app.biddingstack.com/api/open/ORG_ID/prebid
| Endpoint | Returns |
|---|---|
GET /api/open/ORG_ID/prebid | A list of your website projects, sorted by page views. Each item has website_id, domain and a summary object. |
GET /api/open/ORG_ID/projects/PROJECT_ID/prebid | The summary object for one project. Use the website_id from the list as PROJECT_ID. |
A missing, wrong or disabled key returns 403 with an empty body.
The summary covers yesterday. Fields ending in _old hold the same figure for the same day one week earlier, so you can calculate the week-on-week change.
| Field | Meaning |
|---|---|
pv | Page views. |
rpm | Page RPM. Calculated from Google Ad Manager revenue when Ad Manager is connected, otherwise from header bidding revenue. |
viewability | Viewable share of impressions, in percent. |
content | Number of distinct URLs that received page views. |
impression, impppv | Total ad impressions, and impressions per page view. |
prebid, prebid_rate | HB Impressions, and HB Impression Share in percent. |
cpm_avg | HB eCPM. |
revenue | Header bidding revenue recorded by Prebid. |
bidders, timeout | Number of bidders with activity, and number of timeouts. |
When Google Ad Manager is connected and yesterday's Ad Manager data is complete, the summary also includes:
| Field | Meaning |
|---|---|
gam_revenue, gam_revenue_old | Total revenue across all Ad Manager channels. |
gam_ecpm | GAM eCPM across all channels. |
hb_revenue_share | HB Revenue Share: header bidding's share of all Ad Manager revenue, in percent, calculated on gross revenue. |
gam_diff | Prebid vs GAM: how far Prebid's recorded revenue is from the header bidding revenue Ad Manager reports, in percent. |
gam_net | true when part of the revenue comes from Transfon's Ad Manager network and gam_revenue, rpm and gam_ecpm are net of the Transfon revenue share. |
Invalid traffic is excluded by default, as with the Exclude IVT switch in the dashboard. Add ?exclude_ivt=0 to include all traffic:
curl -H "Authorization: YOUR_SECRET_KEY" \
"https://app.biddingstack.com/api/open/ORG_ID/projects/PROJECT_ID/prebid?exclude_ivt=0"
See how to filter IVT and bot traffic for how traffic is flagged.
Header bidding, yield, and ad tech insights for publishers. A few emails a month, no spam.