How to Fetch Ad Units created in Ad Manager into my android app at run time

66 views
Skip to first unread message

K Ravi

unread,
Jun 13, 2023, 12:45:50 AM6/13/23
to Google Mobile Ads SDK Developers
Hello,

I am developing an android application where I am loading web views dynamically in my app. I want to fetch Ad units which are created in Ad Manager account, is there any API from which I can fetch those Ad units?

Note:
 I have single webViewActivity from which I am loading different screens using urls dynamically.

1. Now I have created different AdUnits in Ad Manager for different screens, and I need to get this ad unit mapping in my android app so that I can load this ad in my web view at specific screen

Can you please suggest or share reference documents?

Thanks & Regards
Ravi

Mobile Ads SDK Forum Advisor

unread,
Jun 15, 2023, 2:26:10 AM6/15/23
to ravikir...@gmail.com, google-adm...@googlegroups.com
Hello,

Thank you for reaching out to us.

To assist you in integrating these ad units into your WebView, I can recommend to you our Integrate the WebView API for Ads documentation: https://developers.google.com/ad-manager/mobile-ads-sdk/android/webview

Feel free to reach back to us if you have any further inquiries or concerns.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2mCJ6b:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages