Loading
Back

Google Interactive Display Ads – Scratch Card

01 . The Challenge

Transforming a simple display impression into a playful interaction through a lightweight HTML5 scratch card experience.

This interactive display ad reimagines the traditional banner format as a scratch-to-reveal experience. Users can scratch directly with a mouse or finger to uncover hidden campaign content, rewards or promotional messages before continuing to the campaign CTA. The experience was designed to remain lightweight, responsive and intuitive across desktop and mobile devices while preserving the fast loading performance required for digital advertising environments. Interaction logic, reveal progression and CTA behaviour were carefully separated to ensure the experience feels natural without interfering with the campaign click-through journey.

  1. Natural Scratch Interaction Across Devices
    Scratch behaviour needed to feel consistent with both finger gestures on mobile and mouse movement on desktop. Pointer and touch input were unified into a single interaction system, with brush size and movement interpolation adjusted to create a smoother and more natural scratching experience.
  2. Accurate Reveal Percentage Detection
    The experience needed to know when enough of the scratch layer had been removed before revealing the next campaign state. Canvas pixel sampling and reveal thresholds were used to estimate scratched coverage while avoiding expensive calculations on every pointer movement.
  3. Lightweight Performance for Display Ads
    Interactive ads operate under tighter asset and loading constraints than standard web pages. Images, scripts and effects were kept lightweight, while unnecessary dependencies and heavy animation were avoided to reduce initial load time and runtime processing.
  4. Responsive Scratch Area Scaling
    The scratch surface had to remain correctly aligned with the underlying reward artwork across different banner dimensions and device pixel ratios. Canvas dimensions, CSS scaling and pointer coordinates were normalized so that the interaction remained accurate after resizing.
  5. Separating Interaction From Click-Through
    A normal display ad encourages immediate clicking, while a scratch experience requires users to interact first. Scratch gestures and campaign CTA actions were separated to prevent accidental navigation while still providing a clear path to the advertiser's destination once the reveal was complete.
  6. Clear Progress Without Over-Explaining
    Users needed to understand immediately that the surface could be scratched without adding excessive instructions inside a limited advertising area. Visual texture, micro-copy and subtle interaction feedback were used to communicate the mechanic quickly.
  7. Reusable Campaign Configuration
    Different campaigns may require different background artwork, scratch textures, reward messages and destinations. The experience was structured so these elements can be replaced through configuration rather than rebuilding the scratch interaction for every campaign.

02 . The Solution

A lightweight HTML5 scratch-card module was developed using a canvas-based masking system that responds naturally to both touch and mouse input. The scratch layer progressively clears as users interact, with reveal percentage detection controlling when the hidden content and CTA become fully accessible. Assets and animation were optimized for fast loading, while responsive scaling ensures the interaction remains usable across multiple advertising sizes and screen densities. The final solution combines gamification, campaign messaging and conversion into a compact interactive format that can be adapted for promotions, coupons, product launches and reward-based campaigns.

Google Interactive Display Ads – Scratch Card Demo

Run the interactive HTML5 demo below

Interactive demo is stopped

Press Run Demo to start the scratch card interactive experience.