invertase / react-native-google-mobile-ads

React Native Google Mobile Ads enables you to monetize your app with AdMob.
https://docs.page/invertase/react-native-google-mobile-ads
Other
629 stars 121 forks source link

Feature Request: add events for when ad is clicked on #497

Closed jadfls closed 5 months ago

jadfls commented 6 months ago

What happened?

Feature Request

On the ad component we have the events for

They seem to only fire when the ad includes a call-to-action button. When the button is clicked, I see a popup showing up (iOS) and the onAdOpened event fires. When I close the popup, the onAdClosed event fires.

However, some ads only include pictures where each can be clicked individually and links to a specific target page, e.g. online shopping page. Here, no event fires.

What I am after is to have a event that fires each time some part of the ad is clicked and the user is taken out of the app. In my experience onAdLeftApplication rarely fires.

Platforms

Android and iOS

React Native Info

-

Are your using Typescript?

package.json

-

app.json

-

ios/Podfile

-

android/build.gradle

-

android/app/build.gradle

-

android/settings.gradle

-

AndroidManifest.xml

-
github-actions[bot] commented 5 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.