Help Center Manage Your Account Ad Tag
What are different formats of serving code?
We make different formats for the serving code so you can choose which format works for your situation.Comprehensive
The goal of this serving code is to compatible with all available web browsers. It combines IFrame, JavaScript and regular IMG tag to support 3 levels of fallback:- An enhanced IFrame: a regular IFrame with tracking information provided by JavaScript.
- A regular IFrame: if JavaScript is disabled, ads are still get served without some additional tracking details.
- Regular IMG tag: if the browser does not support IFrame and JavaScript, a regular IMG tag with hyperlink is used to display the ad.
JavaScript
This ad tag only uses JavaScript and not IFrame. If your site layout or certain ad delivery requirement demands embedding of ad code directly into the current HTML document, you can choose the ad serving format to be JavaScript. Some examples include multiple ad sizes with one serving code, using of companion/competitive placement, expanding ads.IFrame
This ad tag uses only IFRAME tag and no JavaScript. If you have concerns about visitors with JavaScript off then you can use this tag. Iframe tag requires a specific dimension and cannot be used if you want to mix different ad dimensions in one placement.Simplified (For Email)
This ad tag is designed only to serve advertising embedded in an HTML email or newsletter. Email software do not support Iframe, JavaScript for security and privacy reasons.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.
- Accelerated Mobile Pages Project - AMP Ad Tag
- Can I have ads refresh automatically without a page reload?
- How can I avoid document.write warning in Chrome?
- How can I avoid duplicate ads on the same page?
- How can I combine multiple ads in the same placement?
- How can I defer ads until after the page has finished loading?
- How can I display an ad only when it is visible on screen?
- How can I measure ad viewability?
- How can I mix ad dimensions or mix banners with text-link ads?
- How can I put ads into my blog/website?
- How can I serve multiple ad dimensions in the same place?
- How can I serve multiple zones with a single server request?
- How can I support click tracking for external ad servers?
- How can I turn off ad serving error messages?
- How do I add current timestamp into the serving code?
- How do I display mobile ads using Android WebView?
- How do I display mobile ads using Apple iOS WKWebView?
- How do I integrate AdSpeed mobile ad serving API?
- How do I make ads responsive on mobile devices?
- How do I pass custom data and variables into the ad?
- How do I set up advertising on WordPress?
- How do I setup a companion ad in video ad serving?
- How do I setup a passback ad tag?
- How do I switch to secure SSL/https ad serving?
- Should I use protocol-relative URLs in ad tags?
- What are custom ad serving settings and variables?
- What are different types of ad tag?
- What are the effects of ad blocking software?
- What is the pop-up and pop-under ad tag?
- What is the serving code or ad tag?
- What is WMODE for SWF ads? How can I change it?
- Where is the publisher-side file for iframe busting?
- Why doesn't the provided HTML serving code work?
Cannot find an answer for your question? Ask our Customer Care team
Related
- Where is the publisher-side file for iframe busting?
"If the publisher serves ads via an iframe-based invocation code, an expandable ad would not be able to "jump" out ..."
- HTML5 Ad from a ZIP file
"If your client sends a ZIP file that contains all the creative assets (image, JavaScript, HTML, etc.), you can create ..."
in Ad Gallery - How do I make ads responsive on mobile devices?
"Visitors view your website through many different types of Internet-enabled devices: desktops, laptops, netbooks, tablets, smartphones, TVs, etc. That means ..."
- Skin Background Ad
"A skin ad (also called a background ad, a site takeover ad, or a bookend ad) appears in the background ..."
in Ad Gallery - How do I troubleshoot "Invalid Ad Type" error?
"This error happens when a Flash/SWF, textlink, or 3rd-party/HTML ad is forced to display within the <img> tag. These formats ..."