Display ads
Destroy a display ad
Returns the attributes of the destroyed display ad, upon success.
delete/measurement/display_ads/{id}
Request
- Base URLhttps://api.magellan.ai/v2
- URLhttps://api.magellan.ai/v2/measurement/display_ads/{id}
- AuthAPI key in header Authorization
Path parameters
idstring required
Example:0123456789abcdef
Response
OK
Example response
{
"measurementDisplayAd": {
"id": "0123456789abcdef",
"name": "The Pod Show - Mid-Roll",
"uid": "ad-123-456",
"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"
}
],
"pixel": {
"id": "0123456789abcdef",
"name": "Attribution Pixel",
"brand": {
"crmBrandId": "brand_0123456789abcdef",
"name": "ACME Corp., Inc.",
"domain": "acme.com"
}
}
},
"meta": {
"pagination": {
"currentPage": 1,
"totalPages": 3,
"count": 25
}
}
}
}