Help Center > Manage Your Account > Serving Code

What is the serving code?

Serving code (ad tag, invocation code) is a small piece of HTML code that you copy and paste into your web pages where you want to display advertising.

The serving code looks something like this:


....

There are two types of serving code. You can get the serving code for each zone or for each ad:

  • Zone: rotate ads within this zone, or
  • Ad: no rotation, always display this particular ad

Generate the Serving Code

  • Sign into your account, follow the menu Ads/All or Zones/All
  • Click on an ad or a zone name
  • Click on the Serving Code tab
  • On this page, you can change ad serving settings and the HTML serving code will be generated so that you can copy and paste it into your website. Please note that ad serving settings do not automatically affect any existing ad serving code already on your website.

The advanced settings will help you set up: serving spot number, number of ads, reloading ad automatically after a number of seconds, SSL security, turning off error messages, generating XHTML compliant code and Custom Parameters.

Performance

Performance can be different between serving code formats. JavaScript ad tag will be loaded in sequence within the web page's HTML code while IFrame ad tag will be loaded independently (or in parallel) with the rest of the page. For multiple ad placements, the fastest and best method is loading multiple zones within a single request. Learn more about additional serving code formats.

You can use one serving code to serve ads of any dimension and mixing multiple ad dimensions together. Press Ctrl/Command key and select the dimension(s). Text link ads can also be mixed with image ads.

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 am extremely pleased with AdSpeed. Their technology has made our business shine with improved profits, mostly due to their unique ad server and amazing support. There is no other company I would even consider to compare to AdSpeed.

      Markus S.
      CEO, Dream Ware Enterprise

    • That was fast and works exactly right! Thanks again for your superb support!

      Dr Tom Bailey
      Aquarium Fish