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
2. Logout
To log out - the general logout API is used. Example - https://aniviewwiki.atlassian.net/wiki/spaces/HELP/pages/155975720/Reporting+API#Logout-API
3. Domains entity API
3.1. Domain Lists
Retrieves a list of all domain lists in the logged network.
Request URL:
https://manage.aniview.com/api/adserver/domain?format=json&filter={"status":1}
Request Method:
GET
Status Code:
200 OK
3.2. Get Domain List Info
Request URL:
https://manage.aniview.com/api/adserver/domainhost?format=json&domainId={id}&pager={"pageIndex":,"pageSize":}
Request Method:
GET
Status Code:
200 OK
3.3. Create Domain List
Request URL:
Request Method:
POST
Request payload:
Notes:
Status Code:
200 OK
3.4. Edit Domain List
3.4.1 Add Domains to list
Request URL:
https://manage.aniview.com/api/adserver/domainhost/{$list_id}?format=json
Request Method:
PUT
Request payload:
JSON with array containing the hosts, for example:
{ "hosts": [ "aniview.com", "testav.com" ] }
3.4.2 Remove Domains from list:
Request URL:
http://manage.aniview.com/api/adserver/public-publisher/{$publisher_id}?format=json
Request Method:
PUT
Request payload:
JSON object of params described in section 3.6
Notes:
Status Code:
200 OK
3.4.3 Add Targeted Adsources
https://manage.aniview.com/api/adserver/custom/associate-domains-to-adsources?format=json
{"adsourcesIds":["617ab4cec5c99c691e45e0f4","6159b5de6bbb791fde69aac2"],"domainsListId":"618102cc9c8e4e4010781254"}
3.4.4 Remove Targeted Adsources
3.5. Archive Domain List
Request URL:
Request Method:
DELETE
Status Code:
200 OK
Attribute | Type | Description |
---|