Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
--url https://api.tagdeliver.com/v1/tag/{uid}/config/{id} \
--header 'Authorization: Bearer <token>'{
"results": {
"domain": "example.com",
"id": 8388,
"uid": 18620,
"label": "MPU 1",
"stack": 338,
"config": {
"disable_branding": false,
"in_view": true,
"limit": 1,
"refresh": true,
"single_serve": false,
"sizes": {
"desktop": [
"200x200",
"250x250",
"300x250"
],
"mobile": [
"200x200",
"250x250",
"300x100",
"300x250",
"300x50"
],
"tablet": [
"200x200",
"250x250",
"300x250"
]
},
"target": "[position=\"mpu_mobile\"][variant=\"1\"]",
"target_injection": "inside",
"url_filter": {
"matches": [
"/my-account*"
],
"type": "exclude"
},
"ymal_text": "ADVERTISEMENT",
"viewport_filter": {
"type": "include",
"matches": [
"≤1422px"
]
},
"unit": "iab"
},
"revision": 10,
"date_added": "2023-11-02 20:34:52",
"date_updated": "2024-05-30 11:10:13",
"status": 1,
"in_experiment": false
},
"success": true
}Fetches a single publisher config (ad unit)
curl --request GET \
--url https://api.tagdeliver.com/v1/tag/{uid}/config/{id} \
--header 'Authorization: Bearer <token>'{
"results": {
"domain": "example.com",
"id": 8388,
"uid": 18620,
"label": "MPU 1",
"stack": 338,
"config": {
"disable_branding": false,
"in_view": true,
"limit": 1,
"refresh": true,
"single_serve": false,
"sizes": {
"desktop": [
"200x200",
"250x250",
"300x250"
],
"mobile": [
"200x200",
"250x250",
"300x100",
"300x250",
"300x50"
],
"tablet": [
"200x200",
"250x250",
"300x250"
]
},
"target": "[position=\"mpu_mobile\"][variant=\"1\"]",
"target_injection": "inside",
"url_filter": {
"matches": [
"/my-account*"
],
"type": "exclude"
},
"ymal_text": "ADVERTISEMENT",
"viewport_filter": {
"type": "include",
"matches": [
"≤1422px"
]
},
"unit": "iab"
},
"revision": 10,
"date_added": "2023-11-02 20:34:52",
"date_updated": "2024-05-30 11:10:13",
"status": 1,
"in_experiment": false
},
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?