Jump to content

How to use campaignId within Js Tag for Ad Delivery

Recommended Posts

Hi Revive,

 Generally  we get the JS tag with parameter 'zoneid' like this:

  * Revive Adserver Asynchronous JS Tag
  * - Generated with Revive Adserver v4.0.1

<ins data-revive-zoneid="1" data-revive-id="53126d71827fcba70ff68055b9a73ca1"></ins>
<script async src="//localhost/revive/www/delivery/asyncjs.php"></script>

above code will call revive server to get a banner for zone with zoneid=1


but  I've checked the code on Github,  there're still possibility that the browser will send campaignid :

$row = _adSelectDirect($what, $campaignid, $context, $source, $richmedia, $remaining == '');

so my question are :

1. how does the _adSelectDirect()  method work?  

2. how to config the revive adserver UI so that I can get the JS Tag that with campaignid parameter( will call the direct Ad select method) ?




Edited by huanxing.wu
more details
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...