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 Demand Gen campaigns or Performance Max campaigns.
- Demand Gen campaigns are customizable and can run ads on Gmail, YouTube, and Google Discover feed. Learn more About Demand Gen campaigns .
- Performance Max campaigns use automation and can run ads across all Google Ads channels. Learn more About Performance Max campaigns .
Display ads capture people’s attention across the Google Display Network’s 2 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 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 .
Specifications
File types |
|
Formats | GIF, JPG, PNG |
Max. size | 600KB |
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 shorter 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
The dimensions of all AMPHTML ads must be declared with a <meta>
tag in the document <head>:
The supported ad dimensions are the same as those for HTML5.
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 150KiB (153600 B).
- 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.
- 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
- 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 .
HTML5 ads requirements
Your Google Ads account must fulfill the minimum requirements below to be eligible to use HTML5 creatives:
- Account has been open for more than 90 days
- Account has more than $9,000 USD total lifetime spend
- Account has a good history of policy compliance
If you meet the minimum requirements, you can Apply for HTML5 access . You’ll receive an email notification with a status update within 7 business days of your application submission.
If your account meets the additional eligibility criteria below, your application may be approved for HTML5 access:
- Account has a good history of policy compliance
- Account has a good payment history
- Account has more than $1,000 USD total lifetime spend
Meeting these requirements doesn’t guarantee access to HTML5 ads. You’ll need to avoid violating our policies, maintain a good history of policy compliance, and follow the correct display ads specifications to continue using HTML5 ads.
If you don’t meet the requirements for using HTML5 ads, you can use other options like uploaded AMPHTML ads or responsive display 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 | 600 KB or smaller |
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 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.
- 360° Gallery
- Carousel Gallery
- Gallery Navigation
- iFrame
- Image Button
- Image Effect
- Particle Effects
- Spritesheet
- Star Ratings
- Swipeable Gallery
- Tap Area
- Transition Gallery
- Click the Publishbutton.
- Select Publish locally .
- Upload the resulting ZIP file to Google Ads.
- 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
-
<!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 notto do:
<path>
or<path />
Alternatively, you can extract the inline svg into a separate file.
- Google Fonts
- Google-hosted CreateJS
- https://s0.2mdn.net/ads/studio/cached_libs/
tweenjs_1.0.0_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
easeljs_1.0.0_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
createjs_2019.11.15_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
preloadjs_1.0.0_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
soundjs_1.0.0_min.js
- https://s0.2mdn.net/ads/studio/cached_libs/
- Google-hosted Greensock (files should work regardless of version)
- https://s0.2mdn.net/ads/studio/cached_libs/
tweenlite_1.18.0_56fa823cfbbef1c2f4d4346f0f0e6c3c_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
tweenmax_1.18.0_499ba64a23378545748ff12d372e59e9_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
cssplugin_1.18.0_71489205621d46cbe88348eeb8fe493f_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
easepack_1.18.0_ed5816e732515f56d96a67f6a2a15ccb_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
timelinelite_1.19.0_13e3bd0e510d63fd5e5ef9bf9dac7017_min.js - https://s0.2mdn.net/ads/studio/cached_libs/
timelinemax_1.19.0_4cba7b163d6263b39d53727ed4c7bb6f_min.js
- https://s0.2mdn.net/ads/studio/cached_libs/
- Google-hosted jQuery
Keep in mind that no more than 40 files may be included in a ZIP folder.
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
|
750x100 | 150 KB | Poland |
PL double billboard
|
750x200 | 150 KB | Poland |
PL triple billboard
|
750x300 | 150 KB | Poland |
Vertical rectangle
|
240x400 | 150 KB | Russia |
Panorama
|
980x120 | 150 KB | Sweden |
Top banner
|
930x180 | 150 KB | Denmark |
Triple widescreen
|
250x360 | 150 KB | Sweden |
Netboard
|
580x400 | 150 KB | Norway |