These are the main steps for getting started with Ad Exchange Mobile In-app:
Step 1: Decide how Ad Exchange will be incorporated
Publishers can call Ad Exchange directly from the GMA SDK in the native app, or via the Google Ad Manager ad server. It’s also possible to mediate to Ad Exchange from other ad networks or ad servers, as long as the app integrates with the Google Mobile Ads SDK.
Step 2: Determine your ad strategy
Before beginning, you need a plan for what sizes to use in your app and ad placements. With Ad Exchange In-app, you have the choice between IAB banner sizes (like 320x50 or 300x250), MRAID ads, custom sizes, native, or even interstitial ads. Learn more.
Step 3: Design your inventory structure
Design the inventory structure to use minimal additional tags (if any) and instead leverage Ad Exchange’s powerful targeting capabilities to distinguish app inventory. If you use Google Ad Manager, you could reuse Google Ad Manager ad units, placements, and key/values in Ad Exchange targeting. Learn more.
Step 4: Verify your Ad Exchange setup and trafficking
Create the necessary rules for pricing, blocking, and opt-in to match your desktop environment. If you’re using Google Ad Manager, easily traffic the Ad Exchange in-app creative in Google Ad Manager as well. Learn more.
Step 5a: If you’re calling Ad Exchange via Google Ad Manager:
- If you’re not already calling Google Ad Manager from your app, check the Google Ad Manager implementation checklist to get started.
- Depending on your ad strategy and inventory structure, you can request ads for Google Ad Manager ad units in various supported sizes and formats (e.g., banners, interstitials, and native).
- Follow these steps to traffic Ad Exchange In-app into Google Ad Manager.
Step 5b: If you’re calling Ad Exchange via GMA SDK directly or mediating to Ad Exchange via another network/ad server:
- Download the Google Mobile ads (GMA) SDK for Android or iOS.
As of January 23, 2018, we no longer support Android and iOS Google Mobile Ads SDKs lower than version 7.0.0.
- Use the Android or iOS developer documentation to integrate the GMA SDK into your app.
- Depending on your ad strategy and inventory structure, you can request for Ad Exchange In-app ads in various supported sizes and formats (e.g., banners, interstitials, and native).
- Per your inventory structure, create the relevant tags in Ad Exchange. The required tag code can be generated with the Get SDK code option.
Step 6: Determine if you want to pass additional signals in the app
If you want to take advantage of additional signals such as content URL, audience, PPID, location, and child-directed settings, it’s best to determine and incorporate those as part of the initial implementation in the app. Learn more.
Step 7: Test your setup
You’re now ready to test your app and see some ads serving. Click here for some recommended ways to test your app.