Help Center Manage Your Account Ad Tag

What are custom ad serving settings and variables?

These are additional settings available to the serving code for advanced functionality.

Custom Parameters

You can enter one of the following values, without the quotes, into the "Custom Parameters" field when generating the serving code. For example:

Pass-along Parameters

You can pass a variable into our ad tag and we will pass that variable to the ad. This is useful when the ad displays dynamic content based on certain input. For example, an ad displays today's interest rate for a mortgage loan that need the actual interest rate supplied from outside. Learn more

Special Variables

There are some special variables and macros that will be replaced with actual value at run-time.
  • "[cachebuster]", "[cache_buster]", "[random_number]" or "[timestamp]" will be replaced with the current timestamp and it can be used as a cache buster or a random number generator
  • "[referrer_url]" will be replaced with the ad request's referring URL, if provided by the browser
  • "[device_ua]" will be replaced with the visitor's User-Agent string, if provided by the browser
  • "[device_ip]" will be replaced with the visitor's IP address
  • "[ASZoneID]" will be replaced with the zone ID
  • "[ASAdID]" will be replaced with the ad ID

Other Articles in Ad Tag

This section describes the ad tag (serving code) with basic and advanced settings. It includes common ad serving setup instructions and answers frequently asked questions when integrating the ad tag into your site, blog or app.

Cannot find an answer for your question? Ask our Customer Care team

Related