get https://api.pubnative.net/api/v3/vast?apptoken=&os=&osver=&devicemodel=&dnt=&al=&zoneid=&srvi=&ua=&ip=
Server-to-Server Integration
It is very important for us to understand where the ad request is coming from, either from the client or the server. Please express this with parameter "srvi".
- set "srvi" = 1 if sent from the server side (0 if client side)
- If "srvi" = 1, then "ua" and "ip" also need to be passed
NOTE: Even when server side requests, the confirmation of ALL beacons, especially click and impression beacons, still need to be done on the client side.
Ad layouts
Ad layout is a standardized way of requesting specific assets depending upon the size or type of your placement. Possible values are s
, m
, l
. (s = small, m = medium, l = large).
Each ad layout consists of a set of asset groups. Each asset group consists of a collection of assets.