Update Campaign
PUT
/api/public/campaign/{request_id}
const url = 'https://backend.podscribe.ai/api/public/campaign/example';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"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"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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" ] }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”request_id
required
string
Campaign ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
type
Campaign type
string
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
expectedImpressions
Expected impressions of the campaign
number
itunesOrYtId
ITunes ID / YouTube Channel ID / YouTube Playlist ID
string
geo
Country
string
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
tags
Tags
Array<string>
teamMembers
Team members metadata
Array<string>
creativeIds
Creative IDs metadata
Array<string>
Responses
Section titled “Responses”OK
Unexpected error.
Media typeapplication/json
object
message
Nodejs Error
object
Examplegenerated
{ "message": {}}