Test Ads

This guide explains how to enable test ads for your ads integration. It's recommended that you enable test ads during development so you can test clickthrough behavior without affecting your reservation campaigns' stats or charging advertisers on Ad Exchange.


Sample ad units

The quickest way to enable testing is to use Google-provided test ad units. These ad units are not associated with your DFP account, so there's no risk of your account generating invalid traffic when using these ad units. Here are sample ad units that point to specific test creatives for each format:

Ad format Sample ad unit ID
Banner /6499/example/banner
Interstitial /6499/example/interstitial
Custom Rendering /6499/example/native
Rewarded Video /6499/example/rewarded-video

Send feedback about...

SDK for DFP Users on Android
Need help? Visit our support page.