Skip to content

Radio Report

POST
/api/public/radio
curl --request POST \
--url https://backend.podscribe.ai/api/public/radio \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "advertisers": [ "example" ], "fieldGrouping": [ "DMA" ], "fields": [ "Impressions", "No. of Ads", "Spend", "Visits", "Visitors", "Installs", "Signups", "Leads", "Purchases", "Revenue", "Cost per Ad", "Cost per Visit", "Cost per Visitor", "Cost per Install", "Cost per Signup", "Cost per Lead", "Cost per Purchase", "CPM", "CPA", "ROAS" ], "fieldMapping": { "Impressions": "delivery_imps", "DMA": "market" }, "formatting": { "numberFormatting": true, "summary": true }, "name": "example", "startDate": "2026-04-15", "endDate": "2026-04-15", "timeGrouping": "day", "weekStartsOn": "monday" }'

This endpoint utilizes a task system.

Please read the description of Get status of file processing to understand how it works.

Result CSV columns follow the request: the timeGrouping column first, then fieldGrouping dimensions in order, then metric columns in fields order.

Result file format:

Field Type Example Description
Day, Week, or Month string 2025-04-01 Column header is Day, Week, or Month depending on timeGrouping.
DMA string New York NY Designated Market Area.
Genre string News Radio genre.
Owner string Some owner Station or inventory owner.
Radio Station string Some radio station Radio station name.
Channel string CNBC Satellite Radio Channel (SXM only).
Ad ID string ad_7f3a2b Ad identifier.
ISCI Code string ABCD1234 Industry Standard Commercial Identifier.
Day Part string MIDDAY Daypart of the spot.
Publisher string Some publisher Name of the publisher.
Campaign string My Campaign Name of the advertising campaign.
Impressions number 123 Number of impressions.
No. of Ads number 123 Number of ad spots.
Spend number 123 Amount spent.
Visits number 123 Number of visits.
Visitors number 123 Number of visitors.
Installs number 123 Number of app installs.
Signups number 123 Number of signups.
Leads number 123 Number of leads.
Purchases number 123 Number of purchases.
Revenue number 123 Revenue generated.
Cost per Ad number 123 Cost per ad spot.
Cost per Visit number 123 Cost per visit.
Cost per Visitor number 123 Cost per visitor.
Cost per Install number 123 Cost per install.
Cost per Signup number 123 Cost per signup.
Cost per Lead number 123 Cost per lead.
Cost per Purchase number 123 Cost per purchase.
CPM number 123 Cost per thousand impressions.
CPA number 123 Cost per acquisition.
ROAS number 123 Return on advertising spend.
Media typeapplication/json
object
advertisers
required

A single-item array containing the advertiser name.

Array<string>
>= 1 items <= 1 items
fieldGrouping
required

Dimensions that define how rows are grouped in the export.

Array<string>
>= 1 items
Allowed values: DMA Genre Owner Radio Station Channel Ad ID ISCI Code Day Part Publisher Campaign
fields

Metric column display names; omit to use all metrics (default).

Array<string>
default: Impressions,No. of Ads,Spend,Visits,Visitors,Installs,Signups,Leads,Purchases,Revenue,Cost per Ad,Cost per Visit,Cost per Visitor,Cost per Install,Cost per Signup,Cost per Lead,Cost per Purchase,CPM,CPA,ROAS
Allowed values: Impressions No. of Ads Spend Visits Visitors Installs Signups Leads Purchases Revenue Cost per Ad Cost per Visit Cost per Visitor Cost per Install Cost per Signup Cost per Lead Cost per Purchase CPM CPA ROAS
fieldMapping

Object to customize column headers in the CSV output (keys are default header names).

object
key
additional properties
string
Example
{
"Impressions": "delivery_imps",
"DMA": "market"
}
formatting

Object to setup the formatting of CSV output.

object
numberFormatting

Smart-format as currency, percentage, or comma-separated values for readability.

boolean
summary

Include a report summary at the top of the report, featuring the Report Title, Advertiser, Publisher, and Dates

boolean
totals

Total all columns at the bottom of the report. Total reach will be queried separately.

boolean
Example
{
"numberFormatting": true,
"summary": true
}
name

Optional display name for the generated report. Shown in the Reports UI. Ignored when an identical cached report is reused; pass a new request (or wait for cache expiry) to apply a new name.

string
<= 255 characters
startDate

Start date timestamp (e.g., “2023-10-10”). Default is 3 months ago.

string format: date
endDate

End date timestamp (e.g., “2023-10-10”). Default is one week forward.

string format: date
timeGrouping

Time dimension used to bucket rows by period. Adds a corresponding Day, Week, or Month column to the result.

string
default: day
Allowed values: day week month
weekStartsOn

The day of the week to start the week. If not set, defaults to ‘Sunday’.

string
default: sunday
Allowed values: monday sunday

OK

Media typeapplication/json
object
id
string
status
string
url
string
Examplegenerated
{
"id": "example",
"status": "example",
"url": "example"
}

Invalid data

Unexpected error.

Media typeapplication/json
object
message

Nodejs Error

object
Examplegenerated
{
"message": {}
}