Jump to content

Variable Limits For Banner With Single Page Invocation


Recommended Posts

Yes of course. 

I am using this post (thank you!) 

 

http://www.reviveconsultant.com/articles/single-page-call-advanced-implementation/

 

I am able to load the zones on my website.

I have 8 zones per page, all of them present allways and I will use one or another depending on the campaign and the config on the adserver. 

 

My code is like this (but with 8 zones)

On head: 

http://www.reviveconsultant.com/articles/single-page-call-advanced-implementation/

 

header:

 

<script type='text/javascript'><!--// <![CDATA[
var OA_zones = {
'zone_name_1' : X,
'zone_name_2' : Y,
'zone_name_3' : Z
}
// ]]> --></script>
<script type='text/javascript'
src='http://www.example.com/revive/www/delivery/spcjs.php'></script>
 
Body:
<script type='text/javascript'><!--// <![CDATA[
OA_show('zone_name_1');
// ]]> --></script>

This works perfect. By the way.

 

Now I want to put the variables here to use them on my banners on the adserver. 

 

Example:

variable1=values

 

So I read all this on the forum related to JS: 

 

http://forum.revive-adserver.com/topic/4-custom-var-targeting/

http://forum.revive-adserver.com/topic/1547-displaying-banners-based-on-keywords-in-a-users-search-search-string/

http://forum.revive-adserver.com/topic/1581-requesting-ads-by-ad-theme-or-classification/

 

and this related to php

http://forum.revive-adserver.com/topic/1380-how-pass-custom-variables-in-php/

 
But If I use the 
document.write ("&amp;variable="value");

Suggested it only print that code on the page, not on the zone url, so it does not work. 

 

How should we add the variables using the single page call?

 

Thanks you!

 
Link to comment
Share on other sites

  • 3 years 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.

Guest
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...