Ad Source API

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. Ad Source entity API

3.1. Get Ad Source List

Retrieves a list of all ad sources in the network.

Request URL:
https://manage.aniview.com/api/adserver/adsource?format=json&expand[]=cap&expand[]=analytics&expand[]=averageCpm&expand[]=publisherId&expand[]=advertiserId&expand[]=originPublisherId&expand[]=zipTargetingListName&expand[]=coorTargetingListName&pager={"pageIndex":1,"pageSize":50}

Request Method:
GET

Status Code:
200 OK

Other Parameters (Optional):

Attribute

Description

expand[]

Add additional Data.

Options: cap,analytics, averageCpm,publisherId,advertiserId, zipTargetingListName, coorTargetingListName

pager

{"pageIndex":1,"pageSize":50}


3.2. Export Ad Source Data

Exports date from all ad sources in the network.

3.2.1 Export Channel association

Request URL:
https://manage.aniview.com/api/adserver/custom/download-adsources-channels-csv?format=json

Request Method:
GET

Status Code:
200 OK

3.2.2 Export Meta Data

Request URL:

Use True and False as necessary:

https://manage.aniview.com/api/adserver/custom/download-adsources-metadata-csv?format=json&fields={"id":true,"url":true,"name":true,"type":true,"status":true,"cookie_sync_id":false,"timeout":false,"auction_type":false,"placement":false,"interstitial":false,"playback_methods":false,"max_bitrate":false,"floor_price":false,"price_exception":false,"mime_types":false,"frameworks":false,"request":false,"frequency":false,"impression":false,"completion":false,"environment":true,"advertiser_id":false,"advertiser_name":true,"creative_type":false,"tpp_credentials":false,"tpp_status":false,"tpp_tppAsid":false,"tpp_last_sync":false,"sync_cpm":false,"owner_type":false}

Request Method:
GET

Status Code:
200 OK

3.3. Create Ad Source

Request URL:

https://manage.aniview.com/api/adserver/adsource?format=json

Request Method:
POST

Request Example payload:

{ "cpm": 1, "playerSettings": { "tagTimeout": 20000, "optimizedTimeout": false, "maxRPM": 0 }, "description": "111", "flight": { "isScheduled": true, "startDate": 1639483744, "endDate": 1639483744, "pViewValue": { "startDate": "2021-12-14T10:09:04.047Z", "endDate": "2021-12-14T10:09:04.047Z" } }, "impressionCap": { "frequency": 1, "sum": "111", "totalCompleted": 0, "dailyCompleted": 0, "monthlyCompleted": 0, "advancedCappingRules": { "conditions": [], "conditionType": "and" } }, "supplyImpressionCap": { "frequency": 4, "sum": 0, "totalCompleted": 0, "dailyCompleted": 0, "monthlyCompleted": 0, "servingMode": 1 }, "supplyRequestsPerDay": { "limit": 0, "hasLimit": false }, "frequencyCap": { "sum": "111", "frequency": 1, "servingMode": 1 }, "supplyFrequencyCap": { "sum": 0, "frequency": 4, "servingMode": 1, "propagateToDemand": false }, "optimizationSettings": { "limit": 0, "minFr": 0.5, "timeFrame": 3, "hasLimit": false }, "name": "1111", "provider": null, "requestsPerDay": { "limit": "11", "hasLimit": true, "servingMode": 1, "advancedCappingRules": { "conditions": [], "conditionType": "and" } }, "servingMode": 1, "source": { "type": 2, "url": "http://a", "clickThroughUrl": null, "mime": null, "bidder": null, "protocols": null, "at": null, "test": null, "timeout": null, "floorPriceType": 1, "prioritizeFP": false }, "status": 1, "targeting": { "customTargeting": [], "geography": { "isCountryView": true, "excludeUnknownGeo": false }, "geographyCoor": { "inclusion": true, "list": [] }, "geographyZip": { "inclusion": true, "list": [] }, "placement": { "inclusion": true, "excludeUnknown": false }, "dow": null, "adtxt": null, "domain": { "list": [], "inclusion": true }, "device": null, "os": null, "tag": null, "playerSize": null, "targetPlatform": null, "idfa": {}, "slot": null }, "type": 1, "accounting": { "type": 1, "value": 0.3 }, "ivt": {}, "publisherId": null, "origin": null, "platformLink": { "platform": 1, "environment": 1, "platformID": null }, "dTargeting": {}, "trackers": [], "dTrackers": [], "ignoreNetworkConnectionFloorPrice": false, "ignorePartnerConnectionFloorPrice": false, "useAdvertiserTargeting": false, "thirdPartyCost": { "type": 0, "subtractionType": 1, "value": 70, "enabled": true }, "priceException": { "type": 0, "value": 70, "cutModel": 1, "enabled": true, "max": 11 }, "ownerType": 1, "advertiserId": { "email": null, "accountingFeeId": null, "trackers": [], "frequencyCap": { "frequency": 4, "servingMode": null, "sum": 0, "lastDailyUpdate": null, "lastMonthlyUpdate": null, "lastDailyInit": null, "lastMonthlyInit": null, "totalCompleted": null, "dailyCompleted": null, "monthlyCompleted": null, "advancedCappingRules": { "conditions": [], "conditionType": null }, "propagateToDemand": false }, "adstxt": { "advertisers": null, "fileURL": null, "tabName": null, "fileMapping": { "approved": { "value": "", "keyMap": [] }, "domain": { "value": "", "keyMap": [] } }, "lines": [] }, "hasLimit": false, "limit": 1, "limitAllChannels": false, "targeting": { "domain": { "list": ["5ffc8d72695da10dad36c3fc"], "excludeEmptyDomain": false, "inclusion": true }, "geography": { "isCountryView": true, "excludeUnknownGeo": false, "inclusion": false, "list": [] }, "geographyZip": { "isCountryView": false, "excludeUnknownGeo": false, "inclusion": true, "list": [] }, "geographyCoor": { "isCountryView": false, "excludeUnknownGeo": false, "inclusion": true, "list": [] }, "device": null, "os": { "inclusion": true, "list": ["13", "14", "15", "16", "17", "18", "19", "20", "100"] }, "tag": null, "playerSize": null, "targetPlatform": null, "dow": null, "adtxt": { "inclusion": true, "list": ["5ff184f56837d76edf6a8008", "5ff1bcceb0a2657820601ecf"] }, "customRules": null, "idfa": [], "euConsent": null, "ccpa": null, "buyeruid": null, "euConsentRtb": null, "slot": null, "placement": { "inclusion": true, "excludeUnknown": false }, "customTargeting": null }, "priceException": { "type": 0, "enabled": null, "value": 70, "max": null, "cutModel": 1 }, "thirdPartyCost": { "type": 0, "enabled": null, "value": 70, "subtractionType": 1 }, "macro": null, "ownerType": null, "status": 1, "name": "test tal", "description": null, "publisherId": "5ff184f56837d76edf6a8008", "restoreFrom": null, "adsourceOriginId": null, "lastAuditTrailId": null, "id": null, "ownerPublisherId": { "_id": { "$oid": "5ff1bcceb0a2657820601ecf" }, "name": "gal_test_pub", "status": 1, "type": 102, "createdAt": 1609678030, "updatedAt": 1614153563, "customerId": "56b0a6ae181f46d4388b4568", "email": null, "route": "instance", "reqParams": null, "restangularized": true, "fromServer": true, "parentResource": null, "restangularCollection": false, "text": "gal_test_pub" }, "environment": 5, "tpp": { "tppId": 1, "tppRecordId": "", "tppAsid": "111" }, "cpmOld": 0, "pm": { "demand": 1, "supply": 4 } }

Ad Source Object Structure:

Attribute

Type

Description

type

int

Internal

name

string

The name of the adsource

advertiserID

string - AdvertiserID

The advertiser which entity connected to(optional)

description

string

Informative

createdAt

int

Auto field

createdBy

string

Auto field

updatedAt

int

Auto field

updatedBy

string

Auto field

id

string

Internal

fr

Float

Internal

flags

object

Internal

optData

array

Internal

provider

null

Internal

servingMode

int

Impression Serving Mode

ENUM ServingMode

1 - As Fast As Possible

2 - Evenly

publisherId

string

The account to which entity belongs to

status

int

The adsource status:

0 - PENDING

1 - ACTIVE

2 - PAUSED

4 - ARCHIVED

environment

int

Used to setup the environment of the adsource(informative):

ENUM Environment

1 - MOBILE_WEB

2 - DESKTOP

3 - IN_APP

4 - CTV

cpm

Float

The gross CPM collected from the demand side, will calculate the revenue by impressions in HIT time.

 

In RTB sources it will be the auction floor price per RTB 2.x spec.

The real cpm will be calculated based on the bidding response.

haCPM

string

Cpm which was hashed for third party pixel purpose - Auto field

cpr

Float

CPM request fee, will calculate the request fee by requests. Calculated based on the value. Not when the TRACK/HIT is being made.

impressionCap

object

Used to setup impression limitation on the ad source.

requestPerDay

object

Used to setup request limitation on the ad source.

flight

object

Option to define flight time for the ad source to be live.

source

object

Used to configure the actual ad source

targeting

object

Used to configure the ad source serving targeting limitations

playerSettings

object

Used to configure advanced setting on the behaviour of this specific ad source in the player.

trackers

Array of objects

Used to configure the third party Trackers for this adsource and should include an array of objects

ivt

object

 

IVT configuration for this specific adsource and should include an array of objects

 

 

3.2.1 Object: flight

Attribute

Type

Description

isScheduled

boolean

Turn on/off the flight settings

startDate

int

Define the start date.

EPOCH TIMESTAMP UTC

endDate

int

Define the end date.

EPOCH TIMESTAMP UTC

 

 

3.2.2 Object: requestPerDay

Attribute

Type

Description

limit

int

The amount of requests

hasLimit

boolean

Turn on/off the request cap

servingMode

int

ENUM ServingMode

1 - As Fast As Possible

2 - Evenly

totalSent

int

Informative - Read Only

lastDailyUpdate

date

deprecated

lastDailyInit

date

deprecated

 

3.2.3 Object: impressionCap

Attribute

Type

Description

frequency

int

The “sum” amount refers to the frequency period.

ENUM ImpressionCapFrequency

0 - total

1 - daily

2 - weekly

3 - monthly

4 - unlimited

sum

int

The amount of impressions

lastDailyUpdate

int

deprecated

lastMonthlyUpdate

int

deprecated

lastDailyInit

 

int

deprecated

lastMonthlyInit

int

deprecated

totalCompleted

int

Informative - Read Only

dailyCompleted

int

Informative - Read Only

monthlyCompleted

int

Informative - Read Only

 

3.2.4 Object: targeting

Attribute

Type

Description

domain

object

Domain Targeting Object

Section 3.2.4.1

geography

object

Country Targeting Object

Section 3.2.4.2

device

object

Device Targeting Object

Section 3.2.4.3

os

object

OS Targeting Object

Section 3.2.4.4

playerSize

object

Player Size Targeting Object

Section 3.2.4.5

dow

object

Day of Week Targeting Object

Section 3.2.4.6

adtxt

object

AdTXT Targeting Object

Section 3.2.4.7

customTargeting

objects array

(Array of objects)

Array of Custom Targeting Objects

Section 3.2.4.8

idfa

object

IDFA targeting Object

Section 3.2.4.9

slot

object

Content Player Slot Targeting Object

Section 3.2.4.10

 

3.2.4.1 Object: Domain targeting

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

string array

(Array of strings)

Domain List ID or values.

 

3.2.4.2 Object: Geography targeting

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

string array

(Array of strings)

ISO ALPHA-2 Code

isCountryVide

boolean

How to display the list in the UI

UI Only

 

3.2.4.3 Object: Device targeting

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

int array

(Array of integers)

ENUM Device

1 - PC

2 - Tablet

3 - Mobile

100 - Other

 

3.2.4.4 Object: OS targeting

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

int array

(Array of integers)

ENUM OS

1 - Andriod

2 - iOS/iPhone/iPod

3 - Windows

4 - OSX

5 - Linux

6 - Blackberry

7 - Windows Phone

8 - iOS/iPad

100 - Other

 

3.2.4.5 Object: Player Size targeting

 

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

int array

(Array of integers)

ENUM PlayerSize

2 - Small (width: < 400 px)

3 - Medium (width: 400 - 640 px)

4 - Large (width: > 640 px)

5 - Custom

 

custom

object

{height: {op: "$gte", value: 200}, width: {op: "$lte", value: 100}}

 

3.2.4.6 Object: Day Of Week targeting

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

object array

(Array of objects)

Object of day, start and end time

Section 2.5.4.6.1

 

3.2.4.6.1 Object: LIST - Day Of Week targeting

Attribute

Type

Description

day

int

The Day Number [0-6]

0 - Sunday

1 - Monday

2 - Tuesday

3 - Wednesday

4 - Thursday

5 - Friday

6 - Saturday

startHour

int

Start Hour [0-23] Included

endHour

int

End Hour [0-23] Included

 

3.2.4.7 Object: Ad TXT targeting

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

string array

(Array of strings)

Array List of my publishers ID’s or my network ID’s

The ID’s are whether to check ADS.txt when traffic comes from this publisher/me

 

3.2.4.8 Object: Custom Targeting

Attribute

Type

Description

key

string

The Targeting key to make the targeting on. Passed in query params.

list

string array

(Array of strings)

The selected Key list ID’s.

operator

int

How to act upon the value recieve in this macro.

1 - Include

2 - Exclude

 

3.2.4.9 Object: IDFA targeting

 

Attribute

Type

Description

inclusion

boolean

Whether to exclude/include empty IDFA

 

3.2.4.10 Object: Slot targeting

 

Attribute

Type

Description

inclusion

boolean

Whether to include the values or exclude

list

string array

(Array of strings)

ENUM PlayerSlot

0 - Preroll

1 - Midroll

-1 - Postroll

-2 - First in Session (Content Player)

 3.2.5 Object: source

Attribute

Type

Description

type

object

The type of the demand source

 

ENUM SourceType

1 - Video

2 - VAST/VPAID

3 - VPAID FLASH - Deprecated

4 - Platform Link

5 - RTB

6 - Non-Linear - Content Player

7 - Server To Server

8 - Prebid

url

string

The URL of the demand in VAST/VPAID, RTB, Non-Linear and Server To Server types

 

JSON string in Platform Link(custom env) and Prebid

 

AV MACROS SUPPORTED

clickThroughUrl

string

The click through. deprecated

platform

int

Only used in Platform Link or Prebid source objects. (Type = 4 || 8)

 

The Platform you want to integrate with

 

ENUM PlatformLinkPlatform

1 - SpotX

2 - Artimedia

3 - IMA VPAID

 

ENUM PlatformPrebid

1 - OpenX

2 - AppNexus

3 - Rubicon

platformId

string

Only used in Platform Link source objects. (Type = 4)

 

The platform link ID in non custom environment.

mode

object

Only used in Video source objects. (Type = 1)

 

The distribution of the traffic for the configured videos.

 

ENUM VideoSourceMode

0 - Even

1 - Manual

videos

Objects array

(Array of objects)

Only used in Video source objects. (Type = 1)

 

The direct videos sources.

MP4, etc…

should include an array of objects

Section 2.5.5.1

environment

int

Only used in Platform Link or Prebid source objects. (Type = 4 || 8)

 

ENUM PlatformLinkEnvironment

1 - Web

2 - In-App

3 - Custom

mimes

string array

(Array of strings)

Only used in RTB source objects. (Type = 5)

 

Video Object, (mimes field) per RTB 2.x spec

The Allowed mime types to be played

  • application/x-shockwave-flash

  • application/javascript

  • video/mp4

  • video/x-flv

  • video/ogg

  • video/webm

frameworks

int array

(Array of integers)

Only used in RTB source objects. (Type = 5)

 

Video Object, (api field) per RTB 2.x spec

 

API frameworks supported by the publisher

1 - VPAID 1.0

2 - VPAID 2.0

bidder

int

Only used in RTB source objects. (Type = 5)

protocols

int array

(Array of integers)

Only used in RTB source objects. (Type = 5)

 

Video Object, (protocols field) per RTB 2.x spec

 

1 - VAST 1.0

2 - VAST 2.0

3 - VAST 3.0

4 - VAST 1.0 Wrapper

5 - VAST 2.0 Wrapper

6 - VAST 3.0 Wrapper

at

int

Only used in RTB source objects. (Type = 5)

 

Bid Request object, (at field) Auction Type per RTB 2.x spec

1 - First Price

2 - Second Price Plus

test

int

Only used in RTB source objects. (Type = 5)

 

Bid Request Object, (test field) per RTB 2.x spec

1 - Live Mode

2 - Test Mode

tmax

int

Only used in RTB source objects. (Type = 5)

 

Bid Request Object, (tmax field) per RTB 2.x spec

 

Maximum Time to submit a bid.

Default - 250

protoVersion

string

Only used in RTB source objects. (Type = 5)

 

The RTB protocol version to be used.

“2.3”

“2.4”

“2.5”

placement

int

Only used in RTB source objects. (Type = 5)

 

Video Object, (placement field) per RTB 2.5 spec

 

1 - In-Stream Played before, during or after the streaming video content that the consumer has requested (e.g., Pre-roll, Mid-roll, Post-roll).

2 - In-Banner Exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.

3 - In-Article Loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.

4 - In-Feed - Found in content, social, or product feeds.

5 - Interstitial/Slider/Floating Covers the entire or a portion of screen area, but is always on screen while displayed (i.e. cannot be scrolled out of view). Note that a full-screen interstitial (e.g., in mobile) can be distinguished from a floating/slider unit by the imp.instl field.

 

3.2.5.1 Object: VideoSource

Attribute

Type

Description

type

int

Only 1 is supported.

ENUM SourceType

1 - Video

2 - VAST/VPAID

3 - VPAID FLASH - Deprecated

4 - Platform Link

5 - RTB

6 - Non-Linear - Content Player

7 - Server To Server

8 - Prebid

 

url

string

The link for the video. MP4, etc...

clickThroughUrl

string

The click through URL when user clicks on the video

name

string

The name of the video. Can be pulled in reports

viewability

int

The probability you would like the serving layer to choose this video.

Values can be [0-100]

The sum of all videos will be equal to 100%

 

3.2.6 Object: playerSettings

Attribute

Type

Description

loop

boolean

Whether to loop

optimizedTimeout

boolean

Whether to use Aniview Algorithem for optimized timeout

fp

boolean

Whether to use Flash Proxy

tagTimeout

int

The amount of time waiting for an ad in start/init ad

maxRPM

int

Maximum requests per minute

vpp

int

VPAID Player priority

Whether to give priority to JS or SWF or MP4

1- JS

2- Flash

3- JS before MP4

mips

int

The amount of impressions per session

mrqs

int

The amount of requests per one session

noSsl

boolean

Whether to not serve adsource in HTTPS/SSL. (Targeting)

vi

boolean

Run ad source only on View

nc

boolean

Whether to send http request with credentials header

ops

 

string

On Play String for play event callback

impCountOn

string

When to fire the impression.

Don’t use it.

Works only in VPAID’s that are malformed and third party didn’t fixed bug on their side.

vit

int

How much time the player need to be in view in a row. In order to send the Viewable impression pixel.

 

3.2.7 Object: trackers

Attribute

Type

Description

e

string

The event on which the tracker will be fired on

 

t

int

The type of tracker that was configured:

1 - Image

2 - JS

url

string

The tracker URL, should include http

 

3.2.8 Object: ivt

Attribute

Type

Description

postbids

objects array

(Array of objects)

Used to configure the IVT postbid and should include an object/an array of objects

Section 3.2.8.1

prebids

object

Used to configure the IVT prebid and should include an object

Section 3.2.8.2

 3.2.8.1 Object: postbids

Attribute

Type

Description

supplier

int

Define the postbid supplier:

1 - Aniview

2 - Custom

id

string

When the supplier is “Custom”, used to configure your IVT Account ID

environment

int

Used to configure on which environment the IVT will be triggered:

1 - Mobile Web

2 - Desktop

3 - In app

4 - CTV

sampling

int

The ratio of sampling from the activity

capKey

int

Define the cap range:

0 - TOTAL

1 - DAILY

2 - WEEKLY

3 - MONTHLY

4 - UNLIMITED

capValue

int

The amount of IVT pixels that will be triggered

3.2.8.2 Object: prebid

Attribute

Type

Description

action

int

Defines the prebid behaviour:

1 - Block

2 - Mark

active

boolean

Turns the IVT prebid on/off:

true/false

level

int

The level of IVT prebid that will be blocked:

1-5

supplier

int

Currently only one supplier:

1 - Aniview

 

3.4. Edit Ad Source

Request URL:

Request URL:https://manage.aniview.com/api/adserver/adsource/{$adsource_id}?format=json

Request Method:
Put

Status Code:
200 OK

Request payload:

{ "_id": { "$oid": "61b86d9161e7a662af5901a8" }, "cpm": 1, "averageCpm": null, "cpr": null, "fpOptimization": null, "haCpm": null, "flight": { "isScheduled": true, "startDate": 1639483744, "endDate": 1639483744, "pViewValue": { "startDate": "2021-12-14T10:09:04.000Z", "endDate": "2021-12-14T10:09:04.000Z" } }, "servingMode": 1, "requestsPerDay": { "limit": "11", "hasLimit": true, "servingMode": 1, "frequency": null, "totalSent": 0, "lastDailyUpdate": 1639476625, "lastDailyInit": 1639476625, "advancedCappingRules": { "conditions": [], "conditionType": "and" } }, "optimizationSettings": { "hasLimit": false, "minFr": 0.5, "limit": 0, "timeFrame": 3, "denyRatio": null }, "impressionCap": { "frequency": 1, "servingMode": null, "sum": "111", "lastDailyUpdate": 1639476625, "lastMonthlyUpdate": 1639476625, "lastDailyInit": 1639476625, "lastMonthlyInit": 1639476625, "totalCompleted": 0, "dailyCompleted": 0, "monthlyCompleted": 0, "advancedCappingRules": { "conditions": [], "conditionType": "and" }, "propagateToDemand": null }, "targeting": { "domain": { "list": [], "excludeEmptyDomain": false, "inclusion": true }, "geography": { "isCountryView": true, "inclusion": false, "excludeUnknownGeo": false }, "geographyZip": { "inclusion": true, "list": [] }, "geographyCoor": { "inclusion": true, "list": [] }, "device": null, "os": null, "tag": null, "playerSize": null, "targetPlatform": null, "dow": null, "adtxt": null, "customRules": null, "idfa": [], "euConsent": null, "ccpa": null, "buyeruid": null, "euConsentRtb": null, "slot": null, "placement": { "inclusion": true, "excludeUnknown": false }, "customTargeting": [] }, "source": { "type": 2, "url": "http://a", "clickThroughUrl": null, "platform": null, "platformId": null, "mode": null, "videos": null, "environment": null, "mimes": null, "frameworks": null, "bidder": null, "protocols": null, "at": null, "test": null, "tmax": null, "protoVersion": null, "placement": null, "prebid": null, "prebidServer": null, "platformLink": null, "rtb": null, "cookieSync": null, "floorPriceType": 1, "prioritizeFP": false, "useAppSiteTitle": null }, "provider": null, "advertiserId": { "email": null, "accountingFeeId": null, "trackers": [], "frequencyCap": { "frequency": 4, "servingMode": null, "sum": 0, "lastDailyUpdate": null, "lastMonthlyUpdate": null, "lastDailyInit": null, "lastMonthlyInit": null, "totalCompleted": null, "dailyCompleted": null, "monthlyCompleted": null, "advancedCappingRules": { "conditions": [], "conditionType": null }, "propagateToDemand": false }, "adstxt": { "advertisers": null, "fileURL": null, "tabName": null, "fileMapping": { "approved": { "value": "", "keyMap": [] }, "domain": { "value": "", "keyMap": [] } }, "lines": [] }, "hasLimit": false, "limit": 1, "limitAllChannels": false, "targeting": { "domain": { "list": ["5ffc8d72695da10dad36c3fc"], "excludeEmptyDomain": false, "inclusion": true }, "geography": { "isCountryView": true, "excludeUnknownGeo": false, "inclusion": false, "list": [] }, "geographyZip": { "isCountryView": false, "excludeUnknownGeo": false, "inclusion": true, "list": [] }, "geographyCoor": { "isCountryView": false, "excludeUnknownGeo": false, "inclusion": true, "list": [] }, "device": null, "os": { "inclusion": true, "list": ["13", "14", "15", "16", "17", "18", "19", "20", "100"] }, "tag": null, "playerSize": null, "targetPlatform": null, "dow": null, "adtxt": { "inclusion": true, "list": ["5ff184f56837d76edf6a8008", "5ff1bcceb0a2657820601ecf"] }, "customRules": null, "idfa": [], "euConsent": null, "ccpa": null, "buyeruid": null, "euConsentRtb": null, "slot": null, "placement": { "inclusion": true, "excludeUnknown": false }, "customTargeting": null }, "priceException": { "type": 0, "enabled": null, "value": 70, "max": null, "cutModel": 1 }, "playerSettings": { "tagTimeout": 20000, "optimizedTimeout": false, "maxRPM": 0 }, "thirdPartyCost": { "type": 0, "enabled": null, "value": 70, "subtractionType": 1 }, "macro": null, "ownerType": null, "status": 1, "name": "test tal", "description": null, "publisherId": "5ff184f56837d76edf6a8008", "restoreFrom": null, "adsourceOriginId": null, "lastAuditTrailId": null, "id": null, "_id": { "$oid": "60dc35d7baf19e0feb53fe75" }, "createdAt": 1625044439, "updatedAt": 1637167290, "iUpdatedAt": 1637167290, "createdBy": "gal.l@aniview.com", "updatedBy": "gal.l@aniview.com", "text": "test tal" }, "ownerPublisherId": { "_id": { "$oid": "5ff1bcceb0a2657820601ecf" }, "name": "gal_test_pub", "status": 1, "type": 102, "createdAt": 1609678030, "updatedAt": 1614153563, "customerId": "56b0a6ae181f46d4388b4568", "email": null, "text": "gal_test_pub" }, "useAdvertiserTargeting": false, "accountingFeeId": null, "type": 1, "fr": null, "playerSettings": { "loop": "#null#", "optimizedTimeout": false, "fp": "#null#", "tagTimeout": 20000, "maxRPM": 0, "vpp": "#null#", "mips": "#null#", "mrqs": "#null#", "wsec": "#null#", "noSsl": "#null#", "vi": "#null#", "frvi": "#null#", "nc": "#null#", "sdk4": "#null#", "ops": "#null#", "impCountOn": "#null#", "vit": "#null#", "vibd": "#null#", "vitd": "#null#", "prvi": "#null#", "vpm": "#null#", "cycleFreq": "#null#", "timeSpan": "#null#", "completionRate": "#null#", "noCb": "#null#", "viewabilityThreshold": "#null#", "impwt": "#null#", "impwc": "#null#", "impwr": "#null#" }, "trackers": [], "flags": null, "ivt": { "prebid": null, "postbids": [] }, "environment": 5, "optData": null, "dailyData": null, "frequencyCap": { "frequency": 1, "servingMode": 1, "sum": "111", "lastDailyUpdate": null, "lastMonthlyUpdate": null, "lastDailyInit": null, "lastMonthlyInit": null, "totalCompleted": null, "dailyCompleted": null, "monthlyCompleted": null, "advancedCappingRules": null, "propagateToDemand": null }, "tpp": { "tppId": 1, "sync": null, "tppAsid": "111", "tppRecordId": "" }, "priceException": { "type": 0, "enabled": true, "value": 70, "max": 11, "cutModel": 1 }, "isOno": null, "ownerType": 1, "thirdPartyCost": { "type": 0, "enabled": true, "value": 70, "subtractionType": 1 }, "pm": { "supply": 4, "demand": 1 }, "ignoreNetworkConnectionFloorPrice": false, "ignorePartnerConnectionFloorPrice": false, "blockingAttributes": null, "status": 3, "name": "555", "description": "111", "publisherId": "5ff184f56837d76edf6a8008", "restoreFrom": null, "adsourceOriginId": null, "lastAuditTrailId": null, "id": null, "createdAt": 1639476625, "updatedAt": 1639476625, "iUpdatedAt": 1639483769, "createdBy": "gal.l@aniview.com", "updatedBy": "gal.l@aniview.com", "dTargeting": {}, "dTrackers": [], "accounting": { "type": 0, "value": 70 } }

3.4. Delete Ad Source

Request URL:

Request URL: http://manage.aniview.com/api/adserver/adsource/{adsource_id}?format=json

Request Method:
Delete

Status Code:
200 OK