Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Type

Description

e

Code Block
FIRST_QUARTILE: "firstQuartile",
MID_POINT: "midpoint",
THIRD_QUARTILE: "thirdQuartile",
COMPLETE: "complete",
START: "start",
SUPPLY_ERROR: "supplyError",
MUTE: "mute",
UNMUTE: "unmute",
PAUSE: "pause",
RESUME: "resume",
IMPRESSION: "impression",
CLICK: "clickThrough",
INVENTORY: "inventory",
SYNC: "sync",
CLOSE: "close",
PROGRESS: "progress",
VIEWABLE_IMPRESSION: "viewableImpression"

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. Get info on App/Site

Request URL:

Request URL: https://manage.aniview.com/api/adserver/channelpublishers/{$App/Siter_ID}?format=json

Request Method:
Get

Status Code:
200 OK

3.4. Edit App/Site

Request URL:

Request URL: https://manage.aniview.com/api/adserver/channelpublishers/{$App/Siter_ID}?format=json

...

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.

...

5. Delete App/Site

Request URL:

Request URL: https://manage.aniview.com/api/adserver/channelpublishers/${App/Site_ID}?format=json

...