Help Center Manage Your Account Ad Tag
Why doesn't the provided HTML serving code work?
If you paste the provided serving code into your web page and an appropriate ad does not show up, here is a basic checklist:- Make sure you get the complete code with no extra line breaks
- Make sure you set ad weight greater than zero for at least one of your banners in the zone or you'll see an error banner
- Make sure the ad restrictions and targeting allow at least one ad to display
- If there is an error banner, you can click on it to see further troubleshooting instructions
- If the problem persists, please contact us and include descriptions about the problem, name of the associated ad/zone, the online URL where this serving code is placed so we could investigate the problem
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 formats of serving code?
- 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?
Cannot find an answer for your question? Ask our Customer Care team
Related
- How can I turn off ad serving error messages?
"By default, an error message will display when the zone does not have any active ad or the ad is ..."
- How do I troubleshoot "Restrictions Failed" error?
"This error message is displayed when one or more restrictions (targeting criteria) for an ad, zone, or campaign have failed ..."
- 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 ..."
- What is the serving code or ad tag?
"Ad Tag (serving code, invocation code) is a small piece of HTML code that you copy and paste into your ..."
- How do I troubleshoot "No Ad Found In Rotation" error?
"If you see this error message, it means that there is no available ad in the rotation pool to display. ..."