admob

Admob ads not showing - Android

我与影子孤独终老i 提交于 2019-12-30 09:54:12
问题 My ads don't display at all, I think I've followed the documentation correctly but they still won't show. The program is basically a webview and I want the ad to display at the bottom. Heres my layout file: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:myapp="http://schemas.android.com/apk/res/man.utd.headlines" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <WebView

AdMob in a fragment

房东的猫 提交于 2019-12-30 05:23:07
问题 I'm inserting an AdMob in my application. but I have a problem about it. when I inserted some codes about it in Eclipse, I can see an error message about "the constructor AdRequest() is not visible " in a fragment_03 and "error: Error parsing XML : unbound prefix" from " so I attached source for the AdMob as follows. Can you give me an advice ? Let me know if you have any question. Thanks fragment_03.java import com.google.ads.AdRequest; import com.google.ads.AdView; public class Fragment_03

Removing Ad's with in-app-purchase

风格不统一 提交于 2019-12-30 02:18:06
问题 I'm searching for a tutorial or an explanation on how to remove advertisement in my application with in-app purchase? I will put some ads with ad-mob in my app but I also want, that the user can disable the ads when he pays a little donation. Do you know a site or tutorial where I can find a step-by-step explanation how to do this? Or do I need to publish 2 versions of my app? One with ads and one without ads for paying? 回答1: Don't use the SharedPreferences method because if the user flushes

Use of same admob publisher id (Ad unit id) in more than one android application?

筅森魡賤 提交于 2019-12-29 07:06:16
问题 Is there any problem in using same ad unit for more than one android app ? (Am taking about admob ads) I mean, this violation to their terms or policy ? 回答1: For reporting sake, use different ad unit for each application. This helps you know how each application is performing in regards to eCPMs, requests and clicks. It will help you understand the market, adjust or improve your apps as needed. It's not against the policy if that's what you want. (Check this thread) 来源: https://stackoverflow

Use of same admob publisher id (Ad unit id) in more than one android application?

廉价感情. 提交于 2019-12-29 07:04:36
问题 Is there any problem in using same ad unit for more than one android app ? (Am taking about admob ads) I mean, this violation to their terms or policy ? 回答1: For reporting sake, use different ad unit for each application. This helps you know how each application is performing in regards to eCPMs, requests and clicks. It will help you understand the market, adjust or improve your apps as needed. It's not against the policy if that's what you want. (Check this thread) 来源: https://stackoverflow

AdMob ID created 24hours ago still not available on the app

一个人想着一个人 提交于 2019-12-29 02:07:14
问题 I created an AdMOb ad unit 24 hours ago. The test ID works fine in the app but the real one is still taking a lot of time. Here's what I have done on the mainactivity: AdView ads; @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); result= (EditText) findViewById(R.id.outputText); ads = (AdView) findViewById(R.id.adView); AdRequest adRequest = new AdRequest.Builder().build(); ads.loadAd(adRequest); } Here's

How to show CardView containing ads randomly but not before 3 cards and not after 7 cards?

倖福魔咒の 提交于 2019-12-29 02:06:51
问题 I'm following this tutorial to show cards and integrate Tinder-like swipe feature. In-between the cards I want to show ads and for that I'm using AdMob . Here's the code: @Layout(R.layout.ad_cards_view) public class AdCards { @View(R.id.adView) NativeExpressAdView nativeExpressAdView; private Context mContext; private SwipePlaceHolderView mSwipeView; public AdCards (Context context, SwipePlaceHolderView swipePlaceHolderView) { mContext = context; mSwipeView = swipePlaceHolderView; } @Resolve

AdMob test ads shows only on English devices

送分小仙女□ 提交于 2019-12-29 01:36:10
问题 After I installed Google Play Services APIs 6.4.1 to insert banners in my app, i had hard times to make it work. On my test device (nexus-S mounting JB 4.1.2, language set to Italian) i don't see any ads, with this logcat: 01-27 13:22:55.518: I/Ads(3463): Use AdRequest.Builder.addTestDevice("2CF3523D47F0CFC8A7523B041D9BB325") to get test ads on this device. 01-27 13:22:55.522: I/Ads(3463): Starting ad request. 01-27 13:23:43.998: I/Ads(3463): No fill from ad server. 01-27 13:23:44.409: W/Ads

Problems updating new version 10.2.0 of PlayServices and Firebase

浪子不回头ぞ 提交于 2019-12-28 06:17:46
问题 I develop an Android app using Android Studio and I got the message today that there is a new version of Google Play services and Firebase. From 10.0.1 to 10.2.0. I'm using Google play services analytics and ads that's all. I am already choose an API min 9 and Now I think the ads can't be show in API < 14 . My build.gradle File: apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.0" defaultConfig { applicationId "com.ilyo.x1application" minSdkVersion

Problems updating new version 10.2.0 of PlayServices and Firebase

只愿长相守 提交于 2019-12-28 06:17:12
问题 I develop an Android app using Android Studio and I got the message today that there is a new version of Google Play services and Firebase. From 10.0.1 to 10.2.0. I'm using Google play services analytics and ads that's all. I am already choose an API min 9 and Now I think the ads can't be show in API < 14 . My build.gradle File: apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.0" defaultConfig { applicationId "com.ilyo.x1application" minSdkVersion