EXAMPLE - GAM Passback
Overview
This guide explains how to configure Mobkoi tags with a passback setup in Google Ad Manager (GAM). The passback mechanism ensures zero impression wastage by automatically calling your AdX demand when Mobkoi does not fill an impression.
1. Primary Creative (Mobkoi Tag)
Create a Third-Party Custom Creative in GAM.
Paste the provided Mobkoi tag code (which includes the passback logic).
Traffic this creative through a line item targeting your desired inventory.
2. Passback Ad Unit
Create a dedicated passback ad unit in GAM. Example:
/[YourNetworkID]/[Publisher]/passback/mobkoiTarget your AdX demand (or other fallback) to this ad unit.
Provide the full ad unit path to Mobkoi so it can be included in the tag.
How It Works
Your GAM serves the Mobkoi tag.
If Mobkoi fills, the ad displays.
If Mobkoi doesn’t fill, the tag triggers the
onNoAdCallbackfunction.The callback:
Dynamically injects a GPT container (
div).Calls your dedicated passback ad unit via GPT.
Your AdX demand fills through the passback ad unit.
Important Notes
The passback configuration must be set up in GAM (not on Mobkoi’s side). The callback runs within your ad environment to call your AdX demand.
No developer changes are required beyond the initial GAM setup.
Ensure the passback ad unit is trafficked and active with AdX demand.
Example Mobkoi Passback Tag
Example Flow Diagram
Last updated