Table of Contents

Method UseSampleAdUnits

Namespace
Titipi.MocaLib2

UseSampleAdUnits()

Replaces all ad unit IDs with Google's public sample IDs so any device can load test ads, without needing real ad unit IDs or device registration. Call before InitializeAsync(AdMobModuleConfig) in development builds only. Remove before shipping.

public static void UseSampleAdUnits()

Remarks

Use this during early development when you don't yet have real ad unit IDs, or when you want ads to load on any device without adding it to AdMobModuleConfig.TestDevices. For testing on a specific device with your real unit IDs, use EnableTestAds(List<TestDevice>) instead.