Baked-in ads

Create a new baked-in ad

Changed on

Identifies a podcast on which this campaign will run baked-in spots.

post/measurement/campaigns/{campaign_id}/baked_in_ads

Request

  • Base URL
    https://api.magellan.ai/v2
  • URL
    https://api.magellan.ai/v2/measurement/campaigns/{campaign_id}/baked_in_ads
  • Auth
    API key in header Authorization

Path parameters

campaign_idstring required
Example:0123456789abcdef

Request body

namestring required

The name of the ad.

uidstring

The unique identifier for the ad.

Example request

{
  "name": "The Pod Show - Mid-Roll",
  "uid": "ad-123-456"
}

Response

OK

idstring
namestring
uidstring

Example response

{
  "id": "0123456789abcdef",
  "name": "The Pod Show - Mid-Roll",
  "uid": "ad-123-456",
  "podcast": {
    "id": 1,
    "title": "The Pod Show"
  },
  "cohorts": [
    {
      "cohortName": "Creative",
      "subCohortName": "Holiday 30s"
    }
  ],
  "campaign": {
    "id": "0123456789abcdef",
    "name": "Brand Campaign Q2",
    "startDate": "2024-03-01",
    "endDate": "2024-03-01",
    "customEvents": [
      {
        "id": 1,
        "label": "Signup",
        "pattern": "example.com/sign_up"
      }
    ]
  },
  "flights": [
    {
      "id": 123,
      "startDate": "2024-03-01",
      "endDate": "2024-03-31",
      "expectedImpressions": 100,
      "cpm": 10,
      "uid": "qtr-1-flight-1"
    }
  ]
}

Changes