Test Your Advanced Bidding Integration
Test your Advanced Bidding integration using a test ad unit before enabling Advanced Bidding on your production ad units. To make testing easy, MoPub will allowlist your test ad units so they can return test ads from our Advanced Bidding partners to ensure that you have fill while testing.
Important: Never integrate test ad units into a production version of your app.
Test your integration via Charles Proxy. If you are unfamiliar with Charles Proxy, your account team will provide you with setup instructions.
Create a Test Ad Unit
In the Apps tab, create a new app for each platform, named “Advanced Bidding [OS] Testing” (for example: “Advanced Bidding iOS Testing” or “Advanced Bidding Android Testing”).
Create one ad unit for each ad format you plan to take live in the Beta. We support all formats from each network.
Target the Advanced Bidding Beta line items you already created to your newly created ad units by navigating to the line item in the MoPub UI, clicking Edit line item, and choosing your new ad unit in the Ad unit targeting section.
Enable the bidding network in Mediation Test Mode - Integration Test to test the ad unit.
Start Charles Proxy and set up focused hosts by navigating to View → Focused Hosts → Add. Filter for MoPub requests via focused hosts as shown:
Select the Focused option to begin using Focused Hosts.
Make an ad request. Navigate to the Request JSON Text and verify that the ad request is passing the advanced bidding token, passed via the
abtparameter in the request.
Verify that the MoPub SDK version is 5.5+. The MoPub SDK version is passed in the
Confirm that the request is using Advanced Bidding. Check this by navigating to the ad request Response JSON Text and verifying that the
admfield is passed.
Note: If your ad requests are not making it down far enough in the waterfall to reach the advanced bidders, contact your account team and we can provide instructions to force line items to serve via Charles rewrites.
Show the ad to ensure that it renders and tracks correctly. You will see the MoPub impression tracker fire if the impression was tracked. The MoPub impression tracker looks like this:
How can we make this article better for you?
Last updated June 07, 2021
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2021 MoPub (a division of Twitter, Inc.)