Guest Tony Report post 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 Share this post Link to post Share on other sites
Ilya Ber 8 Report post 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 Share this post Link to post Share on other sites
Tony 0 Report post Posted December 13, 2013 great, that works! Thank you. Quote Share this post Link to post Share on other sites
Huge 0 Report post 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 Share this post Link to post Share on other sites
liviutudor 0 Report post 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 Share this post Link to post Share on other sites
janthonyeconomist 0 Report post 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 Share this post Link to post Share on other sites
bhupendra 0 Report post 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 Share this post Link to post Share on other sites
Moe 0 Report post 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 Share this post Link to post Share on other sites