Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Question:Unity Input Events were called when the user swiped on the native overlay ad on iOS

96 views
Skip to first unread message

toza

unread,
Mar 14, 2025, 2:15:35 AMMar 14
to Google Mobile Ads SDK Developers
Hello,

On iOS, Unity Input Events, such as OnBeginDrag, OnDrag, OnEndDrag were called when the user swiped on the native overlay ad.
it made Unity UI(Button/Scroller) under the ad was worked.
On Android, input events on the native overlay ad are not notified to Unity.

In addition, the argument of the Unity input events, PointerEventData, was improper.
PointerEventData.position.y was set -7126225000.

I want Input Events on the native overlay advertisement be not notified to Unity, like Android.
Or,I want to get the correct PointerEventData.

Could you let me know how to address this issue?

[supplement]
I already asked a question on the issue tracker below, but have not received a response, so I contacted Google Mobile Ads SDK Developers.
https://github.com/googleads/googleads-mobile-unity/issues/3730

Environment
  • Unity version: 2022.3.50f1
  • Google Mobile Ads Unity plugin version: 9.4.0
  • Plugin installation method: Unity package manager
  • Platform: iOS
  • Platform OS version: iOS 18.1.1
  • Any specific devices issue occurs on: no
  • Mediation ad networks used, and their versions: none
Steps to reproduce:

Step1. Render a native overlay ad on the scroll rect.
Step2. Swipe up and down on the ad.
Step3. Verify that Unity Input Events are called and PointerEventData.position.y is improper.

Mobile Ads SDK Forum Advisor

unread,
Mar 14, 2025, 5:04:20 PMMar 14
to ta-o...@flypenguin.jp, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

Please note that It’s always advisable to use the latest version to prevent conflicts, so ensure you’ve integrated the most recent version.

Could you please confirm if you are able to reproduce the issue in our google sample application. If yes please share the following details with us for further investigation:

  • Steps to reproduce the issue in Google sample project
  • If no, please share your sample application where the issue is reproducible

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 via reply to author option or 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=5004Q00002vH9XDQA0&entry.80707362=00294123

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

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

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-03-14 21:03:37Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH9XD:ref" (ADR-00294123)



toza

unread,
Mar 17, 2025, 7:41:48 AMMar 17
to Google Mobile Ads SDK Developers
Hi,

I have uploaded an unitypackage, DebugNativeOverlay.unitypackage, that can reproduce the problem, based on the sample project. Steps to reproduce: 1. Import the DebugNativeOverlay.unitypackage. 2. Add the GoogleNativeOverlayAdScene.unity to Scenes In Build. 3. Build for iOS. 4. Boot on iOS device. 5. Click Load Ad button. 6. Click Render Ad button. 7. Swipe up/down on Native Overlay Ad. 8. Verify that Unity Input Events are called. Environment Unity version: 2022.3.50f1 Google Mobile Ads Unity plugin version: 9.6.0 Plugin installation method: Unity package manager Platform: iOS Platform OS version: iOS 18.1.1 Any specific devices issue occurs on: no Mediation ad networks used, and their versions: none

2025年3月15日土曜日 6:04:20 UTC+9 Mobile Ads SDK Forum Advisor:

Asad Farid

unread,
Mar 17, 2025, 1:54:00 PMMar 17
to toza, Google Mobile Ads SDK Developers

Ok


--

---
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 visit https://groups.google.com/d/msgid/google-admob-ads-sdk/70bd78d4-d20d-4a96-8508-8eb88d923369n%40googlegroups.com.

Mobile Ads SDK Forum Advisor

unread,
Mar 17, 2025, 7:30:52 PMMar 17
to asadwattooa...@gmail.com, ta-o...@flypenguin.jp, google-adm...@googlegroups.com

Hi Asad,

Thank you for providing the steps to reproduce the issue.

I tried to replicate the reported issue in our Google samples but I am facing some issue at our end while running Google sample project with the provided code. Could you share us with the sample project that includes the unity input events when the user swipes on native overlay ad?

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-17 23:29:44Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH9XD:ref" (ADR-00294123)



expres...@gmail.com

unread,
Mar 17, 2025, 9:20:18 PMMar 17
to Mobile Ads SDK Forum Advisor, asadwattooa...@gmail.com, ta-o...@flypenguin.jp, google-adm...@googlegroups.com
❤️

expres...@gmail.com

unread,
Mar 17, 2025, 9:22:27 PMMar 17
to Mobile Ads SDK Forum Advisor, ta-o...@flypenguin.jp, google-adm...@googlegroups.com
👍

Mobile Ads SDK Forum Advisor

unread,
Mar 18, 2025, 4:07:26 AMMar 18
to ta-o...@flypenguin.jp, google-adm...@googlegroups.com

Hi toza,

I apologize for the mistake.

As requested earlier, Could you share the sample project privately that includes the unity input events when the user swipes on native overlay ad?

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 via reply to author option or 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=5004Q00002vH9XDQA0&entry.80707362=00294123

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.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-18 08:06:45Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH9XD:ref" (ADR-00294123)



Mobile Ads SDK Forum Advisor

unread,
Mar 18, 2025, 2:35:12 PMMar 18
to ta-o...@flypenguin.jp, google-adm...@googlegroups.com
Hi Toza,

Thank you for providing the sample project that reproduces the issue.

I will check this issue "unity input events are called when the user swipes on native overlay ad" with the wider team and inform you once we have an update. 

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-18 18:34:18Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH9XD:ref" (ADR-00294123)



Reply all
Reply to author
Forward
0 new messages