The App/Site entity is an alternative to the publisher entity. It allows custimizing customizing sellers id, macros, trackers, and more that will be uniqe to the spacific publsiher site or appfor each app or site that are used in the platform.
1. Login
To log in - the general login API is used. Example - https://aniviewwiki.atlassian.net/wiki/spaces/HELP/pages/155975720/Reporting+API#Login-API
...
https://manage.aniview.com/api/adserver/channelpublishers?format=json
Request Method:
POST
Minimal Request Example payloadPayload:
Code Block |
---|
{ "status": 1, "frequencyCap": { "frequency": 4, "sum": 0 }, "playerSettings": { "tagTimeout": 20000, "optimizedTimeout": false, "maxRPM": 0 }, "adstxtname": "app/site name" } |
Full Request Example Payload:
Code Block |
---|
{ "status": 1, "advertisersfrequencyCap": {} "frequency": 4, "linessum": 0 [], }, "fileMappingplayerSettings": { "tagTimeout": 20000, "approvedoptimizedTimeout": false, { "maxRPM": 0 }, "valuename": "App Site example2", "sid": "site id", "domain": "site_domain.com", "keyMapsellerType": {}"PUBLISHER", "email": "email@email.com", }"description": "description", "macro": "macro=1", "domaintrackers": [ { { "valuee": "impression", "url": "https://www.mako.co.il", "keyMapt": 1, {} "tsp": }100 } ], "isOno": }true, "nameisConfidential": true, "0isExcludedFromSJson": true } |
Main
Parameter | Type | Description |
name | String | App/Site name. |
String | App/Site email. | |
description | String | App/Site description. |
macro | String | Use to pass one or more values for reporting and/or targeting purposes. |
sid | String | Seller ID |
domain | String | Site domain |
sellerType | "PUBLISHER|"/"BOTH"/ "INTERMEDIARY" | Seller type |
isOno | Boolean | Set true if owned and operated |
isConfidential | Boolean | Set true if confidential |
isExcludedFromSJson | Boolean | Set true if you want to exclude this App/Site from the sellers.json |
status | Active:1, Archived:2 | App/Site status in the system. |
...