adUnitId
An adUnitId is a unique identifier assigned by an ad serving platform to a specific ad unit within an app or website. It is used by demand sources and reporting systems to distinguish one placement from another, enabling targeted delivery and performance tracking.
In practice, adUnitId is used by advertising SDKs to request ads from the platform. The value tells
Examples of formats vary by platform. In Google AdMob, ad unit IDs typically appear as ca-app-pub-XXXXXXXXXXXXXXXX/NNNNNNNNN.
Creation and management: Ad units are created in the platform’s console, assigned to an app or site,
Best practices: use test adUnitIds during development to avoid invalid traffic, replace them with production IDs
Security and privacy: adUnitIds are configuration data rather than secrets, but they should be handled carefully