By Campaign Custom Grouping
Note: With Campaign grouping, alone or with Show, Show and Episode, Country, Region, DMA, ZIP or Creative, and the Media Type column included, a Podscribe DSP campaign that buys both podcast and streaming may return two rows per period: Streaming first, then Podcast. Spend and Delivered Contracted Impressions are split between them by impressions, and their Reach can add up to more than the campaign’s combined reach. Clicks, promo codes and landing URL metrics go to a Streaming row and are omitted when there is no matching Streaming row.
Impressions, spend and attribution grouped by any combination of campaign, show, episode, publisher, creative, app, device and location, with the same filters and attribution settings as the other reports.
This endpoint utilizes a task system.
Please read the description of Get status of file processing to understand how it works.
Columns
- Each selected grouping adds its column: Campaign, Show, Episode, Publisher, Creative ID, App, Device, Country, Region, DMA or ZIP. Metrics keep their usual names (Spend, Podcast & Streaming Impressions, optional Delivered Contracted Impressions).
- Episode grouping always adds Episode; when
fieldsleaves it out, it is appended at the end. - Show grouping adds Show ID at the end by default; an explicit
fieldslist decides whether it is included. - Creative grouping also adds Creative Name: the saved name, or the Creative ID when there is none.
fieldsandfieldMappingapply to it. - Campaign with one location grouping uses the Geo column; an explicit
fieldslist decides whether it is included.
Groupings
publisheris the publisher assigned to the purchase, as in By Publisher, not the one received in a pixel. With Show groupings, Publisher and Publisher ID come from purchases that contributed to that show or episode, run-of-network included, and fall back to the show’s publisher when none is found.- Campaign + Publisher gives one row per campaign, publisher and period, with spend summed and rounded to two decimals.
appis the listener application. Missing App and Device values are exported as Unknown; delivery stays in its original group.
Size limit
A request over the report complexity limit returns HTTP 400. Complexity grows with the groupings, the date range and the time grouping; Episode + ZIP also counts the selected campaigns and episodes, and Delivered Contracted Impressions adds to it. Shorten the date range, select fewer campaigns or episodes, or drop a grouping. Excluding campaigns does not lower it.
const url = 'https://backend.podscribe.ai/api/public/reports/custom-grouping';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"advertiser":["example"],"startDate":"2026-04-15","endDate":"2026-04-15","groupings":["campaign"],"timeGrouping":"all","aggregateEpisodicBuysPerShow":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}import requests
url = "https://backend.podscribe.ai/api/public/reports/custom-grouping"
payload = { "advertiser": ["example"], "startDate": "2026-04-15", "endDate": "2026-04-15", "groupings": ["campaign"], "timeGrouping": "all", "aggregateEpisodicBuysPerShow": True}headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())curl --request POST \ --url https://backend.podscribe.ai/api/public/reports/custom-grouping \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "advertiser": [ "example" ], "startDate": "2026-04-15", "endDate": "2026-04-15", "groupings": [ "campaign" ], "timeGrouping": "all", "aggregateEpisodicBuysPerShow": true }'Request Bodyrequired
Section titled “Request Bodyrequired”Combine episodic buys for the same campaign and show instead of separating episode rows.
Response Body
Section titled “Response Body”File-processing task created or reused.
{ "id": "example", "status": "example", "url": "example"}