Aniview prebid adapter v___ and above support working with RTB demand tags.
Follow the below instructions in order to work with the adapter
Instructions
Setting up the channel
It is required to setup server side channel. Please contact Aniview if this option is not available
In a server side channel, it is possible to add
RTB ad sources
Server side vast ad sources. Please verify if you vast ad sources are really server side before adding them. Server side vast tags mean that the calls to those tags takes place from Aniview servers.
MP4 video ad sources
Setting Up Prebid Tag
Prebid tag example:
{
bidder: 'aniview',
params: {
AV_PUBLISHERID: '',
AV_CHANNELID: '',
}
}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
Prebid Rendering
Rendering of demand can be decided by the 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 use Aniview short tag setup:
Only if there is a bid from the prebid tag, the renderer is called
Only if the publisher choose to use the Aniview renderer it is called
The renderer always use the position id defined in prebid setup
It is possible to define a channel in the custom renderer and the channel will execute after running the bid from prebid so basically it runs the prebid and than continues to work as usual as its loaded in the page.
Custom renderer setup:
{
bidder: 'aniview',
params: {
AV_PUBLISHERID: '55b78633181f4603178b4568',
AV_CHANNELID: '5e9354521f78746eab47e8d8',
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