Help Center > Manage Your Account > Serving Code

How do I add current timestamp into the serving code?

When creating and setting up a new ad, you can put an always-changing timestamp variable into the ad code for cache busting or random number generating. This [timestamp] tag will be replaced by our ad server for each serving. The timestamp is the number of seconds since January 1, 1970.

URLs used when creating a new ad

  • For the image URL:
    http://www.adspeed.com/ad.gif?[timestamp]
  • For the destination URL:
    http://www.adspeed.com/landing.page?[timestamp]

URLs used by our ad server when the ad is displayed

  • The image to be displayed:
    http://www.adspeed.com/ad.gif?106737238
  • Clicking on this ad redirects to the following URL:
    http://www.adspeed.com/landing.page?106737238

This variable is used by DoubleClick's DART ad server and other ad serving systems to avoid ads being cached by the client's browser.

Other Articles in Serving Code

Understand advanced ad serving settings for standard, pop-up/pop-under, and interstitial serving code
Search Help Center
There was a problem with your submission. Please correct the following items:

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

    Related Articles

    Have questions? Contact Us

    Testimonials for our Ad Servers

    • I have to say I am very impressed with the new version of your site. Great work!

      Chinedu E
      HopStop

    • I've signed up for the trial run but am confident that I'll continue. Great service!

      Wade W
      Cycling Tips Blog