BookmarkSubscribeRSS Feed

Can I use dynamic tokens in SAS Intelligent Advertising for Publishers?

Started ‎12-22-2015 by
Modified ‎12-22-2015 by
Views 834

Yes, SAS Intelligent Advertising for Publishers supports dynamic tokens for string replacement in creative code content. For example, an ad call can pass in a key=value pair such as "/toys=nerfgun":

http://crtl.aimatch.com/customername/hserver/site=toycatalog/size=728x90/toys=nerfgun


The creative content can then use the token %%TOYS%% to get the associated value "nerfgun":

<a href="%%CLICKURL%%?%%TOYS%%"><img src="%%MEDIA%%" width=728 height=90>

- where %%TOYS%% is replaced with "nerfgun" in the querystring of the click URL. 

Notes:

  • "toys" does not have to be a targeting tag in the SAS Intelligent Advertising for Publishers system for this feature to work.
  • The dynamic token must have %% in front of and after the string.
  • The dynamic token must be uppercased in the creative code ["%%TOYS%%"].

Appending ":URLENCODED" [for example, "%%DATETIME:URLENCODED%%"] will URL-encode the token value. Similarly, appending ":URLDECODED" will decode a URL-encoded string.

Read Usage Note 53300: Using dynamic tokens in SAS Intelligent Advertising for Publishers to check for updates to this information.

 

Contributors
Version history
Last update:
‎12-22-2015 03:43 PM
Updated by:

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags