This guide shows how to integrate Nexx360 Direct InApp with the Google Mobile Ads SDK on Android.
The Nexx360 Direct InApp call must be made before the Google Ad Manager ad request. The returned targeting key-values must be set on the AdManagerAdRequest before calling loadAd().
Create a helper class to call the Nexx360 endpoint and parse the response:
Step 3: Load a Banner Ad with Nexx360 Targeting
Step 4: Full Activity Example
Using Placement Instead of Tag ID
If your Nexx360 setup uses placements, pass the placement parameter instead of tag_id:
GDPR Consent
If your app collects GDPR consent (e.g., via a CMP), pass the consent string:
Always call the Nexx360 endpoint beforeloadAd(). The targeting key-values must be present in the AdManagerAdRequest for the bid to compete in Google Ad Manager.