是否可以在 UIWebView 中显示 adsense?
Is it possible that display adsense in UIWebView?
我试图在 UIWebView 中显示 adsense。喜欢...
NSString *test = @"
<script async src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'>
</script>
<ins class='adsbygoogle'
style='display:inline-block;width:300px;height:250px'
data-ad-client='ca-pub--------------'
data-ad-slot='-------'>
</ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
"
[webView loadHTMLString:test baseURL:nil];
只有空 space。
如何显示?
不,您不能在移动应用程序中使用 AdSense 移动版违反了 AdSense 政策。
https://support.google.com/adsense/answer/3394713?hl=en&ref_topic=1250104#2
我试图在 UIWebView 中显示 adsense。喜欢...
NSString *test = @"
<script async src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'>
</script>
<ins class='adsbygoogle'
style='display:inline-block;width:300px;height:250px'
data-ad-client='ca-pub--------------'
data-ad-slot='-------'>
</ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
"
[webView loadHTMLString:test baseURL:nil];
只有空 space。 如何显示?
不,您不能在移动应用程序中使用 AdSense 移动版违反了 AdSense 政策。
https://support.google.com/adsense/answer/3394713?hl=en&ref_topic=1250104#2