Jump to content
Guest Tony

Custom Var Targeting

Recommended Posts

Guest Tony

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. 

Share this post


Link to post
Share on other sites

You should already be able to do this using Banner Delivery Options:  The "Site - Variable" delivery limitation. 

 

Screen+Shot+2013-12-11+at+16.56.30.png

Then you can just add the following bit to your regular JS zone invocation code:

document.write ("&gender=male");

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 by bhupendra

Share this post


Link to post
Share on other sites

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 :) 

Share this post


Link to post
Share on other sites

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