...
Parameter | Type | Description | ||
e |
| Tracker type or event. | ||
url | String | Tracker URL. | ||
t | 1:Image, 2:JS,3:Iframe,4:Google Analytics | Tacker method. | ||
tsp | Number between 0-100 | Precentage of events on which the tracker will be exacuted. |
3.3. Edit App/Site
Request URL:
Request URL: https://manage.aniview.com/api/adserver/channelpublishers/{$App/Siter_ID}?format=json
Request Method:
Put
Status Code:
200 OK
Request payload:
Code Block |
---|
{
"email": "email@email.com",
"trackers": [
{
"e": "impression",
"t": 1,
"url": "https://www.website.co.il",
"offset": null,
"eventAction": null,
"eventActionSwitch": false,
"eventCategory": null,
"eventCategorySwitch": false,
"eventLabel": null,
"eventLabelSwitch": false,
"eventValue": null,
"tsp": 100
}
],
"sid": "app_site_id",
"domain": "website.com",
"macro": "macro=1",
"sellerType": "PUBLISHER",
"isOno": true,
"isConfidential": true,
"isExcludedFromSJson": true,
"isIncludeInJson": false,
"adstxt": {
"advertisers": {},
"fileURL": null,
"tabName": null,
"fileMapping": {
"approved": {
"value": "",
"keyMap": {}
},
"domain": {
"value": "",
"keyMap": {}
}
},
"lines": []
},
"priceList": null,
"status": 1,
"name": "App Site example21",
"description": "description",
"publisherId": "publisherId",
"restoreFrom": null,
"adsourceOriginId": null,
"lastAuditTrailId": null,
"id": null,
"frequencyCap": {
"frequency": 4,
"sum": 0
},
"playerSettings": {
"tagTimeout": 20000,
"optimizedTimeout": false,
"maxRPM": 0
}
} |
3.4. Delete App/Site
Request URL:
Request URL: https://manage.aniview.com/api/adserver/channelpublishers/${App/Site_ID}?format=json
Request Method:
Delete
Status Code:
200 OK