Advertising Examples & Samples

A Gallery Showcase of Ad Tag Examples & Sample Code with Previews

Ad examples for students or business professionals to learn from. Browse our free online ad library collection of advertising examples and sample code. Explore HTML5 banners, VAST video ads, CTV/OTT creatives, rich media units, and third-party tag implementations with code samples.

Filter Examples

17 results
HTML5 Animated MREC Banner - Bannersnack Example
JavaScript
intermediate

HTML5 Animated MREC Banner - Bannersnack Example

Advanced HTML5 animated MREC ad example created with Bannersnack Banner Creator.

Dimensions: 300x250
File Size: ~150KB
Format: MREC
Duration: 8s
Last Updated: Dec 5, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
Advanced CSS3 animations
JavaScript ad tag
ClickTag support
+4 more
Bannersnack

Ad Tag source by Bannersnack

Visit Website
HTML5 Animated Half Page Banner - Bannersnack Example
Embedded
intermediate

HTML5 Animated Half Page Banner - Bannersnack Example

Advanced HTML5 animated Half Page ad example created with Bannersnack Banner Creator.

Dimensions: 300x600
File Size: ~57KB
Format: Half Page
Duration: 7s
Last Updated: Dec 5, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
Advanced CSS3 animations
Iframe embed code
ClickTag support
+4 more
Bannersnack

Ad Tag source by Bannersnack

Visit Website
Basic HTML5 Animated MREC Ad Example
Banner
intermediate

Basic HTML5 Animated MREC Ad Example

Basic HTML5 animated Medium Rectangle (MREC) ad example with CSS3 animations.

Dimensions: 300x600
File Size: 7KB
Format: Half Page
Duration: 15s
Last Updated: Dec 3, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
Basic CSS3 animations
Optimized for performance
Cross-browser compatibility
+2 more
Vudoo Interactive Shoppable Video
Embedded
basic

Vudoo Interactive Shoppable Video

An interactive shoppable HTML5 embedded iframe ad integrated with Vudoo for enhanced user engagement.

Dimensions: Responsive
Format: Native Video
Duration: 6m 20s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
Interactive hotspots
Product information overlays
In-ad shopping experience
+2 more
Vudoo

Ad Tag source by Vudoo

Visit Website
Adserver Online VAST Tag Example
CTV/OTT
basic

Adserver Online VAST Tag Example

An example VAST ad tag utilizing Adserver Online VAST service.

Dimensions: 640x360
Format: VAST
Duration: 15s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
Tracking and analytics
Cross-device compatibility
Multiple video formats supported
+6 more
Adserver Online

Ad Tag source by Adserver Online

Visit Website
Innovid VAST Tag Example
CTV/OTT
basic

Innovid VAST Tag Example

An example VAST ad tag utilizing Innovid's VAST service.

Dimensions: 640x360
Format: VAST
Duration: 15s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
Tracking and analytics
Cross-device compatibility
Multiple video formats supported
+5 more
Innovid

Ad Tag source by Innovid

Visit Website
Basic HTML5 Half Page Fitness Ad
Banner
basic

Basic HTML5 Half Page Fitness Ad

An HTML5 half page ad promoting a fitness product.

Dimensions: 300x600
File Size: 9KB
Format: Half Page
Duration: 15s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
Advanced CSS3 animations
Optimized for performance
Cross-browser compatibility
+1 more
Advanced Animation HTML5 Banner
Banner
advanced

Advanced Animation HTML5 Banner

An HTML5 banner ad showcasing advanced CSS3 animations.

Dimensions: 300x250
File Size: 7KB
Format: MREC
Duration: 15s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
Advanced CSS3 animations
Optimized for performance
Cross-browser compatibility
+1 more
Advanced Animation HTML5 Half Page
Banner
advanced

Advanced Animation HTML5 Half Page

An HTML5 half page ad showcasing advanced CSS3 animations.

Dimensions: 300x600
File Size: 7KB
Format: Half Page
Duration: 15s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
Advanced CSS3 animations
Optimized for performance
Cross-browser compatibility
+1 more
Google IMA Multi Ad Example
VAST
intermediate

Google IMA Multi Ad Example

A VAST example demonstrating Google Ad Manager multi-ad functionality.

Dimensions: 640x360
Format: VAST
Duration: 90s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
Google Ad Manager integration
Multi-ad functionality
Sequential ad playback
+1 more
Google SIMID Example
SIMID
advanced

Google SIMID Example

A SIMID ad example demonstrating Google Ad Manager SIMID functionality.

Dimensions: 640x360
Format: VAST
Duration: 30s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
Google Ad Manager integration
SIMID ad functionality
Interactive ad features
+1 more
MREC Rich Media HTML5 Example
Rich Media
advanced

MREC Rich Media HTML5 Example

An example of an animated rich media HTML5 ad in MREC format.

Dimensions: 300x250
File Size: 11KB
Format: MREC
Duration: 15s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this HTML5 ad tag in the AdMeIn HTML5 Tester.

Analyze in HTML5 Tester
CSS3 animations
User engagement features
Optimized for performance
VAST Video Ad with Icon Overlay
VAST
advanced

VAST Video Ad with Icon Overlay

A VAST 4.0 compliant video ad featuring an icon overlay for enhanced branding and interactivity.

Dimensions: 640x360
Format: VAST
Duration: 30s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
VAST 4.2 compliance
Icon overlay integration
Click-through functionality
+3 more
Multi Ad Example - Ad pod example
VAST
advanced

Multi Ad Example - Ad pod example

A VAST ad pod example featuring multiple ads in a single playback session.

Format: VAST
Duration: 90s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
VAST ad pod structure
Multiple ads in one session
Sequential ad playback
+1 more
VAST VPAID Example Tag
VPAID
basic

VAST VPAID Example Tag

A VAST 4.0 compliant ad tag demonstrating VPAID integration for interactive video ads.

Dimensions: 640x360
Format: VAST
Duration: 30s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
VAST 4.0 compliance
VPAID integration
Interactive ad features
+3 more
Single Wrapper Example
VAST
basic

Single Wrapper Example

A simple VAST wrapper example provided by AdMeIn for testing purposes.

Dimensions: 640x360
Format: VAST
Duration: 30s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
VAST wrapper structure
Basic implementation
Testing and educational use
+1 more
Companion Ads Example
VAST
intermediate

Companion Ads Example

A VAST example showcasing companion ads alongside video content.

Dimensions: 640x360
Format: VAST
Duration: 30s
Last Updated: Dec 2, 2025

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Analyze in VAST Validator
VAST companion ad integration
Enhanced branding opportunities
Interactive ad elements
+1 more

Learn from Real Ad Examples and Get Ad Ideas

Strengthen your advertising skills or simply just browse our ad tag examples and code samples. Our gallery features a wide range of ad formats to help you understand how different ad types are built and implemented.

HTML5 Ad Examples and Templates

Our HTML5 ad examples showcase modern web advertising techniques using CSS3 animations, responsive design principles, and interactive elements. Each example includes clean, production ready code that you can download and customize for your campaigns. Learn how to create engaging banner ads that work across all devices and browsers while maintaining optimal file sizes and loading performance.

VAST Video Ad Samples and Implementation

Explore comprehensive VAST (Video Ad Serving Template) examples that demonstrate IAB-compliant video advertising implementations. Our samples cover VAST 2.0, 3.0, and 4.0 specifications, including pre-roll, mid-roll, and post-roll placements. Each example includes proper tracking implementation, error handling, and quartile event reporting essential for campaign measurement and optimization.

CTV and OTT Advertising Examples

Connected TV (CTV) and Over-The-Top (OTT) advertising requires specialized approaches. Our CTV ad examples are optimized for streaming platforms, featuring large typography, simplified navigation, and remote control compatibility. These samples demonstrate best practices for reaching audiences on smart TVs, streaming devices, and connected TV platforms.

Rich Media and Interactive Ad Samples

Rich media advertising pushes the boundaries of user engagement through interactive elements, video content, and dynamic creative optimization. Our rich media examples include expandable banners, interactive overlays, gamified ad units, and VPAID implementations. Each sample demonstrates advanced techniques for creating memorable ad experiences that drive higher engagement rates.

Third-Party Tag Implementation Guide

Master the art of third-party ad tag implementation with our comprehensive examples covering JavaScript tags, iframe implementations, and asynchronous loading techniques. Learn how to integrate ads from various ad networks while maintaining page performance, implementing proper fallback mechanisms, and ensuring GDPR compliance.

Ad Testing and Validation Workflows

Successful ad campaigns require thorough testing and validation. Our examples demonstrate how to test ad creatives across different environments, validate tracking implementation, and troubleshoot common issues. Learn industry-standard testing methodologies that ensure your ads perform optimally across all platforms and devices.

Have your own ads you want to test?

Try our comprehensive ad testing tools to validate your creative implementations