Skip to content

Update Campaign

PUT
/api/public/campaign/{request_id}
curl --request PUT \
--url https://backend.podscribe.ai/api/public/campaign/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "type": "Baked-in", "startDate": "2026-04-15T12:00:00Z", "endDate": "2026-04-15T12:00:00Z", "expectedDate": "2026-04-15T12:00:00Z", "totalCost": 1, "cpm": 1, "currency": "USD", "expectedImpressions": 1, "itunesOrYtId": "example", "geo": "GLOBAL", "expectedUnits": [ [ { "position": "pre", "length": 1 } ] ], "promo": "example", "expectedLandingUrl": "example", "product": "example", "initiative": "example", "mediaType": "podcast", "tags": [ "example" ], "teamMembers": [ "example" ], "creativeIds": [ "example" ] }'
request_id
required
string

Campaign ID

Media typeapplication/json
object
type

Campaign type

string
Allowed values: Baked-in DAI
startDate

Start of the campaign in ISO format for DAI campaigns

string format: date-time
endDate

End of the campaign in ISO format for DAI campaigns

string format: date-time
expectedDate

Expected date in ISO format for Baked-in campaings

string format: date-time
totalCost

Rate of the campaign

number
cpm

Cpm rate of the campaign

number
currency

Currency code (USD, EUR, GBP). Exchange rate is calculated automatically on the backend.

string
Allowed values: USD EUR GBP
expectedImpressions

Expected impressions of the campaign

number
itunesOrYtId

ITunes ID / YouTube Channel ID / YouTube Playlist ID

string
geo

Country

string
Allowed values: GLOBAL US GB CA AU DE FR MX IE JP ES IN BR IT AR KR SA AE ID EG SG AT NL
expectedUnits

Expected units of the campaign

Array<Array<object>>
promo

The discount code

string
expectedLandingUrl

Expected landing URL of the campaign

string
product

Product metadata

string
initiative

Initiative metadata

string
mediaType

Media type of the campaign

string
Allowed values: podcast youtube simulcast streaming sai ott_ctv display video twitter twitch tiktok instagram
tags

Tags

Array<string>
teamMembers

Team members metadata

Array<string>
creativeIds

Creative IDs metadata

Array<string>

OK

Unexpected error.

Media typeapplication/json
object
message

Nodejs Error

object
Examplegenerated
{
"message": {}
}