Help Center Manage Your Account Ad Tag
How can I mix ad dimensions or mix banners with text-link ads?
You can mix banners of different dimensions (eg: 120x300, 120x600) and text-link ads together in the same placement.Example
In this example, we want to show either: four text-link ads, two 120x300 ads or a single 120x600 in one single ad space.Setup
To setup the serving code for this advanced ad serving option, you can enter the following value into the "Custom Parameters" field when generating the serving code:&dim=0x0x4|120x300x2|120x600
- Four text ads side-by-side, or
- Two 120x300 ads, or
- One full 120x600 skyscaper banner
Demo
Demo for mixing text ads with banner adsStyling
You can change the styling for the ad units using CSS. Learn moreOther 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 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?
- Why doesn't the provided HTML serving code work?
Cannot find an answer for your question? Ask our Customer Care team
Related
- How can I combine multiple ads in the same placement?
"For your convenience and better performance, you can display multiple ads in a zone using a single ad tag. Each ..."
- Ad Tag and Serving Code
"Rotating Multiple Ads or Serving One Specific Ad You can choose between two types of rotation: rotate multiple ads within ..."
- How can I serve multiple ad dimensions in the same place?
"When generating the serving code for a zone, you can choose to display: Any dimension (default) A specific dimension. For ..."
- 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 ..."
- Text Link Ads
"Publishers can serve text ads with just a few simple steps. When creating a new ad, choose the ad type ..."