admob

Native Admob Ads in Xamarin.Forms. Are there any ready-made solutions / examples?

梦想的初衷 提交于 2021-02-15 07:08:33
问题 I need to implement Native Ads in Xamarin.Forms. But I did not find any examples on Xamarin.Forms. Maybe someone has an example of using Native Ads on Xamarin.Forms and can share. My example of what I was trying to do: Android: [assembly: Dependency(typeof(NativeAd))] namespace Ads.Droid.Platform.Renderers.Ad { public class NativeAd : AdListener, INativeAd { Context context = Android.App.Application.Context; NativeExpressAdView mAdView; public void Show() { var videoOptions = new VideoOptions

Separate AdMob banner from application content with border

我们两清 提交于 2021-02-11 12:14:46
问题 I read on this Google support page that it is against policy to have ads overlap application content, and that ads should be separated from the content with a border. Currently, below is how I'm showing a banner ad in my app. I think this results in a breach of policy, where the ad is overlapping my content (even if the portion of the screen it overlaps is blank). activity_main.xml : <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas

Admob refresh rate between activities

人走茶凉 提交于 2021-02-10 22:31:32
问题 I've been uploading apps to the Google Play for a couple of months now. I've added Admob banner ads in all of my ~30apps. I'm getting my first payment this month, and I'll get a "big" one (+2000$) in January. So, I've been doing my research. I've found AdMob closed LOTS of profitable accounts this year, so I'm a bit scared. I'm following their rules: no fraud clicks, banner always at the bottom of the app (shown in a fixed region, no matter if ad is served or not). My only "but" is the

Admob refresh rate between activities

谁都会走 提交于 2021-02-10 22:20:03
问题 I've been uploading apps to the Google Play for a couple of months now. I've added Admob banner ads in all of my ~30apps. I'm getting my first payment this month, and I'll get a "big" one (+2000$) in January. So, I've been doing my research. I've found AdMob closed LOTS of profitable accounts this year, so I'm a bit scared. I'm following their rules: no fraud clicks, banner always at the bottom of the app (shown in a fixed region, no matter if ad is served or not). My only "but" is the

Admob interstitial ad still open when user comes back from clicking it

纵然是瞬间 提交于 2021-02-10 12:01:28
问题 When a user clicks an interstitial ad, the browser will open or whatever. When he navigates back to my app, the interstitial ad is still open and he has to close it. How can I prevent an interstitial ad from still being displayed after the user clicked it and navigates back to my app? 回答1: Add the following to your AndroidManifest.xml : <activity android:name="com.google.android.gms.ads.AdActivity" android:noHistory="true"/> What noHistory does: Whether or not the activity should be removed

Admob interstitial ad still open when user comes back from clicking it

倾然丶 夕夏残阳落幕 提交于 2021-02-10 12:00:46
问题 When a user clicks an interstitial ad, the browser will open or whatever. When he navigates back to my app, the interstitial ad is still open and he has to close it. How can I prevent an interstitial ad from still being displayed after the user clicked it and navigates back to my app? 回答1: Add the following to your AndroidManifest.xml : <activity android:name="com.google.android.gms.ads.AdActivity" android:noHistory="true"/> What noHistory does: Whether or not the activity should be removed

Admob interstitial ad still open when user comes back from clicking it

北慕城南 提交于 2021-02-10 12:00:11
问题 When a user clicks an interstitial ad, the browser will open or whatever. When he navigates back to my app, the interstitial ad is still open and he has to close it. How can I prevent an interstitial ad from still being displayed after the user clicked it and navigates back to my app? 回答1: Add the following to your AndroidManifest.xml : <activity android:name="com.google.android.gms.ads.AdActivity" android:noHistory="true"/> What noHistory does: Whether or not the activity should be removed

Google Admob Android: Working on only one device

只愿长相守 提交于 2021-02-10 07:36:56
问题 I have set up an admob adview in my android app: The manifest: <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-123456567787889990"> My xml: <com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto" android:id="@+id/adView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" ads:adSize="BANNER" ads:adUnitId="ca-app-pub-0987784576567456234511" ads:layout

AdMob consent form not showing up?

空扰寡人 提交于 2021-02-10 06:15:29
问题 I don't understand why the Google-rendered consent form is not showing up. It says that it loads successfully, but then it doesn't show up. (I am in Europe, so my location is not a problem). I have tried both on simulators and real devices, I have manually selected only 12 ad providers. Here is the code in question: PACConsentInformation.sharedInstance.debugIdentifiers = ["4FDF7D7F-8F56-4E65-8570-103100943386"] PACConsentInformation.sharedInstance.debugGeography = PACDebugGeography.EEA

AdMob consent form not showing up?

一曲冷凌霜 提交于 2021-02-10 06:15:20
问题 I don't understand why the Google-rendered consent form is not showing up. It says that it loads successfully, but then it doesn't show up. (I am in Europe, so my location is not a problem). I have tried both on simulators and real devices, I have manually selected only 12 ad providers. Here is the code in question: PACConsentInformation.sharedInstance.debugIdentifiers = ["4FDF7D7F-8F56-4E65-8570-103100943386"] PACConsentInformation.sharedInstance.debugGeography = PACDebugGeography.EEA