capacitor-community / admob

Community plugin for using Google AdMob
MIT License
213 stars 66 forks source link

How to show ADS in a specific view location #253

Open kubermario opened 1 year ago

kubermario commented 1 year ago

Description I have a use case where my ads shall be rendered as an element of a ion-list. More in general, I would like to put the ads banner in a specific

of my application. Is that use case feasible?

To Reproduce Steps to reproduce the behavior:

  1. Implements a ion-list
  2. Inside a element of list , add the ads html code

Expected behavior I expect that the ads is being shown in the row of the list which I have chosen. More in general, I expect that the ads is being shown in the view I have chosen. The view could also scroll.

Screenshots Attached a screenshot of the expected behaviour. In the image, I've highlighted the ads I want to show and the location were I desire they appear. In green the ads which we are able to render; in red the ones we are not capable of creating.

IMAGE 2023-06-07 11:00:26

Smartphone

  • OS: Android and iOS
  • Browser (not required)
  • Version: Android > (minSDKVersion) 22 and iOS > 13

Additional context No additional context.

distante commented 1 year ago

This is currently not supported. I think there is another issue also with this.

In theory, it is possible but I think it is not stable or easy to implement tbh

kubermario commented 1 year ago

This is currently not supported. I think there is another issue also with this.

In theory, it is possible but I think it is not stable or easy to implement tbh

Oh ok, thanks for the fast reply. It would be really a great feature to be developed as it is a usual use case for mobile application. What is the already open issue? I've not found it.

Thanks, again.

kubermario commented 1 month ago

Ciao community, is there any news in relation to this matter?

Thanks, m

kubermario commented 2 weeks ago

This is currently not supported. I think there is another issue also with this.

In theory, it is possible but I think it is not stable or easy to implement tbh

Ciao @distante , would you mind pointing me on this tentative fix? Extremely thanks, this would be really appreciated.

pakygta commented 2 weeks ago

I am also interested in this feature. Are there any updates regarding its feasibility?

mic-cyber commented 1 week ago

I am interested in this feature too. Any updates regarding its implementation?

Titos17 commented 1 week ago

I'm also interested in this feature. Do you have any updates on its implementation?

kiranraj1430 commented 5 days ago

I am also interested in this update because there is only 3 position is there Top, Center, Bottom. But if we showing any list data in components, we need to insert the admob ad inside the html component in specific area in data list. Any way is there? If i place adpostion as center the admob ad is floating. Bottom don't need because already i have bottom fixed navbar and clickable buttons,

kubermario commented 2 days ago

I am also interested in this update because there is only 3 position is there Top, Center, Bottom. But if we showing any list data in components, we need to insert the admob ad inside the html component in specific area in data list. Any way is there? If i place adpostion as center the admob ad is floating. Bottom don't need because already i have bottom fixed navbar and clickable buttons,

Ciao Kiranraj, we are on this issue since the first comment we wrote. I went through the plugin code and I ended-up in pushing on this because I see a technological limitation due to the ionic nature of the build.

Basically, the fact is that the Ionic app is natively rendered within WebView. This plugin, could achieve only one AD unit, and only on specific position, because the reference is the Android WebView, or for iOS the WebKit view. I think there's no chance to get this working but I would like the community plugin owner to confirm that.

kiranraj1430 commented 2 days ago

I am also interested in this update because there is only 3 position is there Top, Center, Bottom. But if we showing any list data in components, we need to insert the admob ad inside the html component in specific area in data list. Any way is there? If i place adpostion as center the admob ad is floating. Bottom don't need because already i have bottom fixed navbar and clickable buttons,

Ciao Kiranraj, we are on this issue since the first comment we wrote. I went through the plugin code and I ended-up in pushing on this because I see a technological limitation due to the ionic nature of the build.

Basically, the fact is that the Ionic app is natively rendered within WebView. This plugin, could achieve only one AD unit, and only on specific position, because the reference is the Android WebView, or for iOS the WebKit view. I think there's no chance to get this working but I would like the community plugin owner to confirm that.

I to feel the same, i created custom plugin to insert like that but can't even do that. But if we can show admob ad inside webview means its a great feature for independent developers