Aniview Prebid Adapter
Aniview prebid adapter requires prebid version 3.18 and above support working with RTB, video, and vast server-side demand tags.
Follow the instructions below in order to work with the adapter.
Instructions
Setting up the channel
Inside the channel’s Configuration It is required to set up the Type as Prebid. Please contact Aniview if this option is not available
In a Prebid channel, it is possible to add:
RTB ad sources
VPAID ad sources
Server-side vast ad sources. Please verify that your vast ad sources are really server-side before adding them. Server-side vast tags mean that the calls to those tags take place from Aniview servers.
Setting Up Prebid Tag
{ bidder: 'aniview', params: { AV_PUBLISHERID: '', AV_CHANNELID: '', AV_FLOOR: 1 } }
The minimum configuration includes AV_PUBLISHERID and AV_CHANNELID. Additional AV macros can be added
No need for AV_URL and AV_CONSENT/AV_CCPA, those should be handled automatically by prebid setup
When sending AV_FLOOR, the value is used as the floor CPM for RTB demand
Prebid Rendering
The rendering of demand can be decided by a publisher. It can use its own player or renderer or use the renderer defined by each adapter.
Aniview has a default renderer that renders the outstream tag as defined in the prebid ad unit code attribute.
The default renderer will render the ad and close.
It is possible to define a custom renderer that uses Aniview’s short tag setup:
Only if there is a bid from the prebid tag, the renderer is called
Only if the publisher chooses to use the Aniview renderer it is called
The renderer always uses the position id defined in the prebid setup
It is possible to define a channel in the custom renderer and the channel will execute after running the bid from the prebid so basically, it runs the prebid and then continues to work as usual as it's loaded on the page.
Custom renderer setup:
{ bidder: 'aniview', params: { AV_PUBLISHERID: '55b78633181f4603178b4568', AV_CHANNELID: '5e9354521f78746eab47e8d8', AV_FLOOR: 1, rendererConfig: { tagUrl: "https://play.aniview.com/…. your short tag.js", tagId: "must match the scriptId in the tag.js" } } }
Both tagUrl and tagId are mandatory
tagId must match the scriptId in the template used otherwise it will not work
Note that you should update the publisher that your custom script is taking over the prebid defined placement in order to avoid possible conflicts with prebid
Demos
Default renderer
Custom renderer