Admob ads with Android application with multiple processes.

263 views
Skip to first unread message

Francisco Zurita

unread,
Mar 24, 2022, 11:29:47 PM3/24/22
to Google Mobile Ads SDK Developers
Hello, I seem to have run into an issue that I can't figure out. I'm using admob through playwire and seem to be having issues when attempting to click on ads under certain situations.

For some background, my application consists of multiple processes, so the admob library has to be initiated more than once, once per process (I presume). On both processes there are activities and one activity in each process has ads.

My problem is the following: Clicking on ads works correctly when they are clicked on the first starting process. When I click on ads on the second process though, the screen acts like a secondary activity should be getting launched, but something is failing along the way and the ad click fails.

Please see the attached video for demonstration:

Mobile Ads SDK Forum Advisor

unread,
Mar 25, 2022, 6:46:20 AM3/25/22
to fzu...@gmail.com, google-adm...@googlegroups.com

Hi Francisco,

 

Thank you for reaching out to us.

 

Can you provide us your sample app where this behavior is happening so that we can further check this in our end?

 

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002YrKaFQAV&entry.80707362=00098921

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Regards,

Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2YrKaF:ref
Message has been deleted
Message has been deleted

Francisco Zurita

unread,
Mar 25, 2022, 8:59:28 AM3/25/22
to Google Mobile Ads SDK Developers
I have attached two files, one is the APK and the other is a V64 file that needs to be loaded into the app before ads will be shown.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/7b2ce857-8eba-430a-b752-131f64eb48a4n%40googlegroups.com.

Mobile Ads SDK Forum Advisor

unread,
Mar 28, 2022, 6:34:54 AM3/28/22
to fzu...@gmail.com, google-adm...@googlegroups.com

Hi Francisco,

Thank you for getting back to us.

Can you confirm what development platform were you using on your application? Also, what ad format have you implemented in your app? In addition to that, can you provide us the steps to replicate this behavior on the apk you provided?

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2YrKaF:ref

Francisco Zurita

unread,
Apr 3, 2022, 7:54:54 PM4/3/22
to Google Mobile Ads SDK Developers
I'm not exactly sure what you mean by "development platform". I am using the latest Android studio though with the latest Android SDK and latest playwire provided libraries.

I'm using 320x50 add units and 300x250 add units.

The ones that don't work are the 2nd ones in the video which are 300x250.

To reproduce the issue, select the hamburger menu on the top left and select "Refresh ROMs". In there select the provided v64 file. Once the provided v64 file is loaded, select the file in the gallery to start the emulation process. You will see the ad not working when clicked there.

Francisco Zurita

unread,
Apr 8, 2022, 2:01:56 PM4/8/22
to Google Mobile Ads SDK Developers
I figured it out. I forgot to include this:


<activity android:name="com.google.android.gms.ads.AdActivity" android:multiprocess="true"/>

Francisco Zurita

unread,
Apr 8, 2022, 2:04:18 PM4/8/22
to Google Mobile Ads SDK Developers
Also, the answer for this was very hard to find, google search was not giving any obvious answers.

Mobile Ads SDK Forum Advisor

unread,
Apr 11, 2022, 6:43:56 AM4/11/22
to fzu...@gmail.com, google-adm...@googlegroups.com

Hi Francisco,

Thank you for your response.

I'm glad that you're able to find out the fix for your issue. If you have any other concerns related to the implementation of Google Mobile Ads SDK, kindly provide us the details. We'll be happy to assist you.

Reply all
Reply to author
Forward
0 new messages