webview api

152 views
Skip to first unread message

강경림

unread,
Feb 24, 2023, 4:27:23 AM2/24/23
to Google Mobile Ads SDK Developers
I thought that the webview api was the only way that I could display ads on my hybrid app.
But you said it's not.
So I'm so confused about how to solve this issue.
As you said, I understand it's not in the scope of your group.
But I want to know the exact notion, purpose, usage of webview api. 

And as you said, there's no contact line to adsense that I can get a response right away like email.
1. Can you share the email of the adsense support team or anything else that I can get help from?
2. In the SDK aspect, can you tell me the purpose of the webview api?
3. Can you tell me some examples and situations of usage of webview api?
4. I thought that the webview api was for displaying ads in the webview of an app. Is it right?
5. Is there a SDK for hybrid apps or if there's no a separate SDK, then how can I display ads on a hybrid app? 
 

ikram Bağatur

unread,
Feb 24, 2023, 5:38:33 AM2/24/23
to Google Mobile Ads SDK Developers
İskenderun'da

24 Şubat 2023 Cuma tarihinde saat 12:27:23 UTC+3 itibarıyla 강경림 şunları yazdı:

ikram Bağatur

unread,
Feb 24, 2023, 5:39:05 AM2/24/23
to Google Mobile Ads SDK Developers
Hesabımın onaylamasını istiyorum hemen başlansın

24 Şubat 2023 Cuma tarihinde saat 12:27:23 UTC+3 itibarıyla 강경림 şunları yazdı:
I thought that the webview api was the only way that I could display ads on my hybrid app.

ikram Bağatur

unread,
Feb 24, 2023, 5:40:28 AM2/24/23
to Google Mobile Ads SDK Developers
Hesabımın onaylamasını istiyorum ve gereğini yerine getirmesini arz ediyorum bir an evvel ana sayfama dönüp diğer işlerimi halletmem gerekiyor B





u arada ız erişimi daha çok hızlı olursa işlemlerimi daha iyi halde hızlı bir şekilde devam ettirip yardımcı olabilirim Bu konuda bana yardım edin

24 Şubat 2023 Cuma tarihinde saat 13:39:05 UTC+3 itibarıyla ikram Bağatur şunları yazdı:

Mobile Ads SDK Forum Advisor

unread,
Feb 24, 2023, 11:09:44 AM2/24/23
to kyungl...@motiv-i.com, google-adm...@googlegroups.com

Hi 강경림,

Thank you for reaching out to us.

With regard to your concern, let me answer it below.



1. Can you share the email of the adsense support team or anything else that I can get help from?

  • To reach out to the Adsense support team, you may reach out to them using this link.

2. In the SDK aspect, can you tell me the purpose of the webview api?

  • For SDK perspective, as per our documentation, the WebView API enables in-app ad monetization using WebView. If you display web content that implements ads with AdSense code or Google Publisher Tag in your app through WebView, you should use this API to enable ads monetization.

3. Can you tell me some examples and situations of usage of webview api?

  • If your app uses WebView to display web content that serves ads from Ad Manager or AdSense, use the WebView API for Ads to register WebView objects with the Google Mobile Ads SDK.

4. I thought that the webview api was for displaying ads in the webview of an app. Is it right?

  • As per our documentation, yes, this is correct that the webview API helps to display ads in a webview in the app.

5. Is there a SDK for hybrid apps or if there's no a separate SDK, then how can I display ads on a hybrid app? 

  • For SDK for hybrid apps, we do have Flutter for implementation of Google mobile ads. You can check our documentation to know more about it.
Regards,
Google Logo Mobile Ads SDK Team


ref:_00D1U1174p._5004Q2jGIYg:ref

Mobile Ads SDK Forum Advisor

unread,
Feb 24, 2023, 11:10:33 AM2/24/23
to ikramb...@gmail.com, google-adm...@googlegroups.com

Hi Ikram,



Thank you for reaching out to us.

In looking over to your concern, I've seen that your concern is related to your account in AdMob. Kindly note that this forum only supports integration of the Google Mobile Ads SDK. For account related-related concern, we recommend raising this to Product Support Team to assist you better.

Regards,

강경림

unread,
Feb 26, 2023, 8:38:28 PM2/26/23
to Google Mobile Ads SDK Developers

Thank you so much for your reply. Things are getting clearer now thanks to your reply.

But I still have a few things to check to comply with the google ads policy.

I want to check with the situations that the webview url is not same with the url (www.example.com) that is approved by ad sense if it is okay with the policy in each case.

1. In the approved url (www.example.com), displaying ads appropriately with the adsense script, and use the same url on the app when loading a webview(www.example.com). I think it's okay. Is this right?

2. In the approved url (www.example.com), displaying ads appropriately with the adsense script, and use the url as a base url when on the app when loading  a local html asset of android app (local.html) in a webview (www.example.com/local.html). And insert the adsense script in the middle of the local.html to the position that i want to display. Is this okay?

3. In the approved url (www.example.com), not displaying in the exact same url, but use the url as a base url on the app when loading  a local html asset of android app (local.html) in a webview (www.example.com/local.html). And insert the adsense script in the middle of the local.html to the position that i want to display. (It means the adsense script doesn't exist on the www.example.com, and only exist on the local.html) Is this okay?

4. And in each of the cases (1,2,3), if it is okay with the google policy, is the registration of webview necessary in each case?

I'm sorry for bothering you, but I should accurately check these things before real implementation because there's no test script in ad sense.

Thank you.
2023년 2월 25일 토요일 오전 1시 9분 44초 UTC+9에 Mobile Ads SDK Forum Advisor님이 작성:

Mobile Ads SDK Forum Advisor

unread,
Feb 27, 2023, 4:51:12 AM2/27/23
to kyungl...@motiv-i.com, google-adm...@googlegroups.com

Hello,

I'm afraid we are unable to provide further answers to your questions as they are no longer in the scope of Google Mobile Ads SDK.

For further inquiries on AdSense with WebView, I would suggest following the AdSense Help Center and reaching out the AdSense support team.
 

Reply all
Reply to author
Forward
0 new messages