Android AdWhirl & AdSense 3.1

≡放荡痞女 提交于 2019-12-06 06:30:39

问题


AdSense (Google AdSense SDK 3.1) alone works fine in my app.

When I use AdWhirl I see in my Log always:

:WARN/AdWhirl SDK(562): AdSense company name and app name are required parameters 

How do I send this params right so also AdWhirl transfer it to AdSense?? (I didn't delete the params I used for ONLY ADSENSE.. so they are still there??)


回答1:


Found the Solution :)

just simple add:

AdWhirlAdapter.setGoogleAdSenseAppName("Application Name");
AdWhirlAdapter.setGoogleAdSenseCompanyName("Developer Name");
AdWhirlAdapter.setGoogleAdSenseChannel("xxxxxxx");
AdWhirlTargeting.setKeywords("My keywords");



回答2:


I think for this, you need to create an account on AdWhirl and then add your app to the account, enable adsense over there, provide your adsense api key on their web interface. They'll give you an AdWhirl api key. Then you can use adsense ads in your app using adwhirl api key.



来源:https://stackoverflow.com/questions/3543218/android-adwhirl-adsense-3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!