Hand cursor character squashing an overstuffed folder to shrink a GIF banner ad's file size

To run an animated GIF banner on Google Ads it must be 150 KB or smaller, stop animating within 30 seconds, and run slower than 5 frames per second. Most GIFs fail on weight, not design. This guide shows how to plan frames, colours and timing so a GIF lands under the limit first time.

We still build GIFs every week: as backups for HTML5 banners, for publishers that don’t take HTML5, and for email. See our GIF ad production service.

Key Takeaways

  • Google Ads: GIF, JPG or PNG up to 150 KB; animation 30 seconds or shorter and slower than 5 fps. Other networks set their own limits, so check the plan.
  • Weight comes from three things: frame count, colour count and how much of the image changes between frames.
  • Plan 4 to 8 key frames with holds, not smooth motion. GIF is a slideshow format.
  • Flat colour, big type and a fixed background compress far better than photos and gradients.
  • If the animation needs to be smooth, rich or interactive, build HTML5 and use the GIF as the backup.
What adds weightWhyWhat to do
More framesEvery frame is storedUse 4 to 8 frames with long holds; avoid tweened in-between frames
More coloursGIF stores up to 256 colours per frameLimit the palette to 32 to 128 colours; use flat brand colours
Photos and gradientsThey need many colours and ditheringUse a small product cut-out on a flat background
Big changes between framesOnly changed pixels can be skippedKeep the background and logo fixed; change only the message area
DitheringAdds noise that compresses badlyTurn it off or keep it low; check edges by eye

What Are the Rules for GIF Banner Ads?

On Google Ads, uploaded image ads (GIF, JPG or PNG) must be 150 KB or smaller. Animated GIFs must stop within 30 seconds (they can loop, but must stop by then) and run slower than 5 frames per second. HTML5 ads are allowed up to 600 KB, which is one reason HTML5 is often the better choice for anything ambitious.

Other ad servers, DSPs and publishers set their own limits. Many still sit around 150 KB, and some apps and AMP placements are stricter. Always check the media plan.

How Do You Plan a GIF That Stays Under 150 KB?

  1. Write the frames, not the animation. A GIF banner is usually 3 to 5 messages: hook, product, benefit, offer, call to action. One frame each, plus a few transition frames at most.
  2. Set the timing to the rules. With holds of 2 to 4 seconds per message, a 5-frame banner runs about 12 to 15 seconds per loop. Two loops then stop on the end frame, inside 30 seconds.
  3. Lock the layout. Keep the logo, background and CTA button in the same place on every frame so only the message area changes.
  4. Design in flat colour. Brand colours, solid shapes and large text. Use a product cut-out rather than a full-bleed photo.
  5. Export and measure early. Export the largest size (often 300 x 600 or 970 x 250) first. It’s the hardest to get under the limit, so solve it before building the rest.
Standard static display banner advertisement shown on mobile news website
Standard static display banner advertisement shown on mobile news website

Export Settings That Make the Difference

  • Colours: start at 64 and go up only if banding is visible. Try 32 for flat designs.
  • Palette: “selective” or “adaptive” usually beats “perceptual” for brand colours. Lock the exact brand colours into the palette.
  • Dither: none or very low. Dithering on large flat areas adds weight fast.
  • Lossy compression: a small amount (for example 5 to 15 in tools that support it) cuts weight with little visible change. Check text edges.
  • Frame optimisation: make sure only changed pixels are saved between frames (sometimes called “optimise by difference” or transparency optimisation).
  • Loop count: set the number of loops so the animation stops inside 30 seconds, ending on the frame with the brand and CTA.

When Should You Use HTML5 Instead?

If the design needs photography, gradients, smooth movement, video or anything people can tap, HTML5 will look better and often weigh less for the same animation. Use the GIF as the backup image every HTML5 banner needs, or for placements that only accept images. We compare the two in how HTML5 banner ads work.

Mobile display banner advertisement shown on a smartphone screen within a news website
Mobile display banner advertisement shown on a smartphone screen within a news website

GIF Banner Delivery Checklist

  • Every size on the media plan, named by size and version.
  • Each file under the plan’s weight limit (150 KB for Google Ads).
  • Animation stops within 30 seconds and ends on the brand and CTA.
  • Frame rate slower than 5 fps for Google Ads.
  • No text smaller than about 10 px on screen; brand colours checked against the guidelines.
  • A 1 px border if the background is white or very light, so the ad is visible on a white page.

For creative ideas see GIF banner ideas and animated banner techniques.

Get Your GIF Banners Made

We build GIF sets to every network’s weight limit, alongside HTML5 versions and backups. See our GIF ad production service or send us your sizes.

FAQ

On Google Ads, uploaded GIF, JPG and PNG image ads must be 150 KB or smaller. Other ad servers and publishers set their own limits, so check the media plan.

The animation must stop within 30 seconds. It can loop, but it must stop by 30 seconds, and animated GIFs must run slower than 5 frames per second.

Use fewer frames with longer holds, reduce the palette to 32 to 128 colours, turn dithering off, keep the background and logo fixed between frames, and apply a little lossy compression.

GIFs work almost everywhere, including email, but are limited to 256 colours and can’t be interactive. For photos, smooth motion or interactivity, HTML5 usually looks better and is allowed up to 600 KB on Google Ads.

For Google Ads, animated GIFs must be slower than 5 fps. In practice most GIF banners use a few frames with holds of 2 to 4 seconds each.

Need help with
creative production?

If you’re planning a campaign or need reliable digital creative production at scale, we can help. Send us your requirements and we’ll advise on formats, builds and delivery.

Need GIF banners that pass every weight limit? We build them with your HTML5 set, scoped and priced upfront.

Banner Squad mascot Harry Clickton pointing to the right

    Your Name*
    Your Email*

    Telephone*
    Company*

    Your Message*