Uploaded display ads specifications

By the end of Q1 2023, some ad templates such as Single Image Ad and Custom HTML Ad will no longer be supported on Gmail. If you have active campaigns and budget that use these ad templates, you can do either of the following options to keep your ads running:

  • Stay within display campaigns: Make sure that you use supported ad templates and formats.
  • Move to new campaigns: Depending on your goals, you can choose Discovery campaigns or Performance Max campaigns.

Display ads capture people’s attention across the Google Display Network’s two million websites and apps. Google Ads gives you several ways to create responsive display ads and custom uploaded display ads. This article describes the size and dimension specifications of ads that you can upload on the Google Display Network. Learn more about how to Upload your own display ads.


Before you begin

Make sure that uploading custom display ads is the best choice for you. If not, you also have the option to create display ads that fit almost anywhere across the Display Network with responsive display ads. If you choose to upload your own ads, you still may want to upload assets to create responsive display ads in the spaces where your custom display ads may not fit. Learn more about how to Create a responsive display ad.

Keep in mind that you can run multiple kinds of ads, not just display ads, from the same Google Ads account and, in some cases, from the same campaign. Learn more About ad formats available in different campaign types.

Tip: Some ad sizes will show only in certain regions. Learn more about regionally available ad sizes.

Specifications

Animated and non-animated image ads

File types

 
Formats GIF, JPG, PNG
Max. size 150 KB

Ad sizes

 
Square and rectangle  
200 × 200 Small square
240 × 400 Vertical rectangle
250 × 250 Square
250 × 360 Triple widescreen
300 × 250 Inline rectangle
336 × 280 Large rectangle
580 × 400 Netboard
Skyscraper  
120 × 600 Skyscraper
160 × 600 Wide skyscraper
300 × 600 Half-page ad
300 × 1050 Portrait
Leaderboard  
468 × 60 Banner
728 × 90 Leaderboard
930 × 180 Top banner
970 × 90 Large leaderboard
970 × 250 Billboard
980 × 120 Panorama
Mobile  
300 × 50 Mobile banner
320 × 50 Mobile banner
320 × 100 Large mobile banner
*Animated ads (GIF) Animation length and speed:
Animation length must be 30 seconds or less
Animations can be looped, but the animations must stop after 30 seconds
Animated GIF ads must be slower than 5 FPS

AMPHTML ads

You can build ads with AMP (Accelerated Mobile Pages). AMPHTML ads load faster than regular ads, which makes them ideal for mobile devices. Learn more About AMPHTML ads.

AMPHTML ads created in Google Web Designer

Dimensions/meta tags

The dimensions of all AMPHTML ads must be declared with a <meta> tag in the document <head>:

<meta name="ad.size" content="width=W,height=H">

The supported ad dimensions are the same as those for HTML5.

Primary asset zip bundle

You may upload a ZIP file containing a single HTML document (the "primary asset"), and up to 39 media assets. The total size of the compressed ZIP should not be more than 150KB (153600 B).

Primary asset rules All AMPHTML ads must adhere to the AMPHTML ad format rules. To validate your ads, use the public AMP validator.
URLs All URLs must correspond to assets in the bundle, except for the following three exceptions:
  • AMP runtime and custom elements
  • Custom fonts in the href of a <link rel="stylesheet"> element
  • Embedded data: URLs 

Relative paths must be relative to the primary asset path, mirroring the structure of the ZIP. Absolute paths aren't allowed.

Supported AMP components
  • amp-accordion
  • amp-animation
  • amp-anim: Images must be relative references to assets in the ZIP bundle
  • amp-carousel
  • amp-fit-text
  • amp-font: CSS class names must not be used elsewhere in the document, for example the following would be forbidden:

<amp-font layout="nodisplay” font-family="My Font" timeout="1000" on-load-add-class="amp-font-class1"></amp-font> <div class="amp-font-class1"></div>

  • amp-gwd-animation
  • amp-img: Images must be relative references to assets in the ZIP bundle
  • amp-layout
Custom exits Custom exits, using either <amp-ad-exit> or <a href>, aren't allowed. Your entire ad will be clickable.
Disallowed values Elements should not have any the following class names:
  • amp-carousel-slide
  • amp-carousel-button
  • amp-carousel-button-next
  • amp-carousel-button-prev

An event action cannot use "AMP" as the event target, as in the following, which is forbidden:

<button on="tap:AMP.navigateTo(url='http://google.com')">

   
Likewise, 'tap' events are forbidden.

    <button on="tap:popup.toggleVisibility()">


HTML5 ads

You can build interactive and engaging ads for the Google Display Network with HTML5. You can also choose to connect HTML5 ads to your App campaigns. Review the requirements below to determine if HTML5 ads work for you. Learn more About HTML5/Playable ads for App campaigns.

Requirements for using HTML5 ads

You should be able to gain access to HTML5 ads in your Google Ads account once your account has met the following requirements:

  • Account has been open for more than 90 days.
  • Account has more than £9,000 GBP total lifetime spend.
  • Account has a good history of policy compliance.

Bear in mind, that meeting the requirements above doesn’t always guarantee access to HTML5 ads.

If HTML5 ads are unavailable in your account, you can apply for access by filling out the Apply for HTML5 access form. Before you submit your application, make sure that your account meets the eligibility criteria listed below. You'll receive an email notification with a status update within seven working days of your application submission.

  • Account has a good history of policy compliance.
  • Account has a good payment history.
  • Account has more than £1,000 GBP total lifetime spend.

To maintain continued access to HTML5 ads, make sure that you don't violate our policies and sustain a good history of policy compliance.

In the meantime, you can use other options like uploaded AMPHTML ads or responsive display ads.

Make sure that you follow the correct display ads specifications.

If you've already created an HTML5 ad, you can check your ad using the Google Ads HTML5 validator.

All HTML5 ads

File types

Formats: ZIP containing HTML and optionally CSS, JS, GIF, PNG, JPG, JPEG, SVG

Supported ad sizes

 
Square and rectangle  
200 × 200 Small square
240 × 400 Vertical rectangle
250 × 250 Square
250 × 360 Triple widescreen
300 × 250 Inline rectangle
336 × 280 Large rectangle
580 × 400 Netboard
Skyscraper  
120 × 600 Skyscraper
160 × 600 Wide skyscraper
300 × 600 Half-page ad
300 × 1050 Portrait
Leaderboard  
468 × 60 Banner
728 × 90 Leaderboard
930 × 180 Top banner
970 × 90 Large leaderboard
970 × 250 Billboard
980 × 120 Panorama
Mobile  
300 × 50 Mobile banner
320 × 50 Mobile banner
320 × 100 Large mobile banner
Supported file size

1 MB or smaller

HTML5 ads created in Google Web Designer
Ad environment When creating your ad in Google Web Designer, you must specify the 'Google Ads' environment.
Static and dynamic ads

HTML5 ads can be both static and dynamic. Dynamic ads use information in a data feed to determine which images, text and other information will be shown.

To create a dynamic ad, you create an ad using placeholder elements for each piece of image or text that you want to be dynamically generated, then bind data objects to each element. When the data feed changes, the elements that are bound to the data will reflect those changes automatically.

Supported components
  • 360° Gallery
  • Carousel Gallery
  • Gallery Navigation
  • iFrame
  • Image Button
  • Image Effect
  • Particle Effects
  • Spritesheet
  • Star Ratings
  • Swipeable gallery
  • Tap Area
  • Transition Gallery
Publishing for Google Ads In Google Web Designer:
  1. Click the Publish button.
  2. Select Publish locally.
  3. Upload the resulting ZIP file to Google Ads.
Limitations
  • All images used in HTML5 ads must be local images, not referenced images, and should be part of the assets that comprise the ZIP file.
  • Expandable ads aren't supported.
  • For environment target actions, timer and multiple exits aren't supported.
  • Local storage methods cannot be used in HTML5 ads.
  • Only Google web fonts are supported. Other web fonts aren't supported.

All other HTML5 ads

HTML requirements HTML5 ads must include:
  • <!DOCTYPE html> declaration
  • <html> tag
  • <body>tag
  • Ad format size meta tag within the <head> tag. For example:
    <meta name="ad.size" content="width=300,height=250">

Explicit end tags (inline ending tags won't be accepted):

  • Example of valid end tags: <path></path>
  • Example of what not to do: <path> or <path />

Alternatively, you can extract the inline svg into a separate file.

Upload requirements All code and assets must be referenced using a relative path to resources included in the ZIP file. No external references are allowed except references to:

Keep in mind that no more than 40 files may be included in a ZIP folder.

Important: UTF-8 must be used for non-ASCII characters.

Regionally available ad sizes

The following table includes more image ad sizes that you can use, depending on the region where you show your ad.

Ad type Dimension Size limit Regional use
PL billboard 750 x 100 150 KB Poland
PL double billboard 750 x 200 150 KB Poland
PL triple billboard 750 x 300 150 KB Poland
Vertical rectangle 240 x 400 150 KB Russia
Panorama 980 x 120 150 KB Sweden
Top banner 930 x 180 150 KB Denmark
Triple widescreen 250 x 360 150 KB Sweden
Netboard 580 x 400 150 KB Norway

Related links

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
8958681197000138770
true
Search Help Centre
true
true
true
true
true
73067
false
false
false