Generate mobile tag code in AdX for direct implementation with the SDK
You can generate code that helps you connect to the Google Mobile Ads SDK to serve ads into mobile apps. Here’s how:
- Sign in to DoubleClick for Publishers.
- Click Inventory Ad Exchange inventory Tags.
To access this feature from Ad Exchange instead of DFP, click Inventory Tags.
In the sidebar, click Mobile In-App.
Click + New tag. The “New tag” prompt window opens.
Enter a meaningful name that clearly identifies the mobile tag.
A tag ID (e.g., 4938177565) is automatically assigned to the mobile tag.
From the "Tags list" page, locate the tag and click the Get SDK code link next to it.
A popup window opens.
Copy and paste the tag code as the “adUnitId” in the SDK.