Guest Tony Posted December 11, 2013 Report Share Posted December 11, 2013 It will be great to have a possibility to target ads based on custom variables. For example - age, gender or any other "user profiling" variables. Usually such kind of vars are stored in cookies. So I figure that some kind of JS API will be needed to set the profiling vars. Quote Link to comment Share on other sites More sharing options...
Ilya Ber Posted December 11, 2013 Report Share Posted December 11, 2013 You should already be able to do this using Banner Delivery Options: The "Site - Variable" delivery limitation. Then you can just add the following bit to your regular JS zone invocation code: document.write ("&gender=male"); Quote Link to comment Share on other sites More sharing options...
Tony Posted December 13, 2013 Report Share Posted December 13, 2013 great, that works! Thank you. Quote Link to comment Share on other sites More sharing options...
Huge Posted March 2, 2014 Report Share Posted March 2, 2014 document.write ("&gender=male"); How would you include this in the javascript for the single page call websites/invocation code rather than the javascript for the zone invocation code? When I select websites/invocation code and have the page generated, it shows all the invocation codes that can be copied and pasted into my webpage that would call a banner .. but I don't see how to insert the document write variable. Quote Link to comment Share on other sites More sharing options...
liviutudor Posted January 26, 2015 Report Share Posted January 26, 2015 Hey guys, trying to make some sense of the site variables -- so is the idea that any key/value pair sent in the call issued by the zone tag can then be used in the site variables targeting? or is it to do with cookies? Quote Link to comment Share on other sites More sharing options...
janthonyeconomist Posted July 23, 2015 Report Share Posted July 23, 2015 I know Revive is a fork of OpenX, and it seems OpenX offers various different custom variable types http://docs.openx.com/ad_server/targeting_custom_variables.html. What interests me the most is list, as I have a variable category which could have multiple values; for example, "cat=dog,fish,rabbit", and I would like to target on "Contains only: dog" or "Contains any of: dog,cat" or even "Contains all of: horse,cow". Is this possible with Revive Adserver? Quote Link to comment Share on other sites More sharing options...
bhupendra Posted August 18, 2015 Report Share Posted August 18, 2015 (edited) hello Ilya,i am also stuck at the same (possibility to target ads based on custom variables) requirement [and document.write ("&gender=male"); is not working from my JS script].also if i try to access the banner from the url [with delivery limitation on: {revive ad server domain}/www/delivery/avw.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE&n=a26b580a&group=group1] it still show me all the banners. Thanks. Edited August 18, 2015 by bhupendra Quote Link to comment Share on other sites More sharing options...
Moe Posted November 18, 2015 Report Share Posted November 18, 2015 I know Revive is a fork of OpenX, and it seems OpenX offers various different custom variable types http://docs.openx.com/ad_server/targeting_custom_variables.html. What interests me the most is list, as I have a variable category which could have multiple values; for example, "cat=dog,fish,rabbit", and I would like to target on "Contains only: dog" or "Contains any of: dog,cat" or even "Contains all of: horse,cow". Is this possible with Revive Adserver?Hey try regular expression :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.