Reputation: 1
Can I put the Admob Ad ID into variables on Android? I want to make this app that when I input the adunit ID in my app. It will change the adunit to whatever ad ID that I input.
Thank you.
Upvotes: 0
Views: 214
Reputation: 4678
Yes, you can. Although I have not tested, but it will work. Use below code
mAdView.setAdUnitId(AD_UNIT_ID);
Hope that helps you.
Upvotes: 1