简体   繁体   中英

android adview admob ad back button wont return to original activity

I put an admob ad at the bottom on my app's Activity, and when the ad is clicked/pressed it brings up the phone's browser with the ad's url. When you click the back button from here it returns to the phone's home screen not my app's activity. I have seen other apps with ads in them that when you click on the ad and then click back it brings you back to the app not the phone's home screen. I want the back button to bring the user back to my app. Does anyone have any idea what might be wrong...

I think this is an issue with the specific ad creative. If you try clicking the AdMob test ad (you can specify adRequest.addTestDevice(AdRequest.TEST_EMULATOR) to get test ads on an emulator), it goes back into the app upon pressing the back button.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM