admob

Google AdMob TBannerAd LoadAd exception after upgrading to Delphi v10.2.3

流过昼夜 提交于 2019-12-12 20:09:31
问题 My application was originally written using Delphi v10.2.2 and TBannerAd worked just fine. Without any code changes and after upgrading Delphi to v10.2.3 (by installing over the existing v10.2.2 using the ISO without changing anything in the installation dialogs), calling TBannerAd's "LoadAd" method started triggering this exception: Project myproject.apk raised exception class EJNIException with message 'java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml

RewardedVideoAd - AdMob Mediation with Vungle - ErrorCode: 3

放肆的年华 提交于 2019-12-12 18:37:45
问题 This is my first time working with video ads. I have followed the AdMob guide of implementing RewardedVideoAd from here and the documentation of Vungle from here. I did all the steps written in these guides. However, when I deploy my app on my mobile, the RewardedVideoAd always fails to load. I tested it on my mobile and the emulator, and none of them worked. It always calls onRewardedVideoAdFailedToLoad. I have the latest Google Play Services installed on both devices. My app is still not

AdMob - Ad not displayed - Error 2

笑着哭i 提交于 2019-12-12 18:22:39
问题 I am building an android application that has two versions.One with Ad. and one with out Ad. . I've successfully integrated the AdMob in the application. but the Ads are not getting displayed on the screen. Here's my build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.myapp" minSdkVersion 9 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles

NativeExpressAdView - Failed to load ad: 0

ぐ巨炮叔叔 提交于 2019-12-12 18:19:47
问题 I use NativeExpressAdView but I can't get ad within this warning: 06-15 09:47:32.557 13810-14512/com.bangdev.wifichua W/Ads: There was a problem getting an ad response. ErrorCode: 0 06-15 09:47:32.557 13810-13810/com.bangdev.wifichua W/Ads: Failed to load ad: 0 This is my ad layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:ads="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android

admob ads doesn't show up

五迷三道 提交于 2019-12-12 15:05:46
问题 I made a simple app and added inside it an ad but it doesn't show up in the device. and there is no errors in my code: xml page: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/RelativeLayout1" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" > <com.google.android.gms.ads.AdView xmlns:app="http:/

XML FrameLayout has lowered my OpenGL SurfaceView framerate (fps)

☆樱花仙子☆ 提交于 2019-12-12 13:07:21
问题 I have extended the GLSurfaceView and implemented my own GLSurfaceView.Renderer to create my first relatively simple 2D OpenGLES game for android. I have been testing my game using the following code on the activities onCreate method which sets the surface view as the content view, from which I have obtained a constant 60fps. 60fps activity : mGLView = new OpenGLTest1SurfaceView(this); setContentView(mGLView); However now I have moved to an XML layout so I can place an admob overlay in the

AdMob Refresh Requests

末鹿安然 提交于 2019-12-12 12:45:15
问题 I have several questions that I'm confused with: Who is best responsible for ad refreshing? After I load the request bannerView.load(GADRequest()) is it best practice to let the developer or Google monitor it? Should the refresh times be as little as 30 seconds or a minimum of 60 seconds? It seems odd that they recommend 60 seconds but give you the option to choose 30 seconds. I've read on different threads that you can get penalized for all sorts of things and your AdMob account will get

How to show AdMob banner in inappbrowser using Cordova/Ionic

一个人想着一个人 提交于 2019-12-12 12:06:00
问题 I'm using ionic-framework . I can create an admob banner, but when I load inappbrowser the banner is not shown until I close the inappbroswer . Is there a way to show the AdMob banner when inappbrowser is open? 回答1: I reccomend you to use this plugin which I'm maintaining. You can see detailed examples on how to initiate admob when cordova is loaded: https://github.com/appfeel/admob-google-cordova/wiki/Angular.js,-Ionic-apps var app = angular.module('myApp', ['admobModule']); app.config([

AdMob API and keywords

被刻印的时光 ゝ 提交于 2019-12-12 11:26:20
问题 Does anyone manage to get relevant advertisement from AdMob server when setting keywords or search query ? My application runs on Android and I manage to retrieve ads from the AdMob server. I try several solutions but they do not seem to work. Solution 1: use the methods setKeywords( String keywords ) or setSearchQuery( String searchQuery ) from the AdView class and then, call requestFreshAd() . When a request is currently in progress, a call to requestFreshAd() generate the following message

AdMob real ads are not showing, only test ads are displayed

▼魔方 西西 提交于 2019-12-12 10:57:03
问题 I have tested the ad feature on my phone. Only the test ad are show. When I replace the unit id with my which I got from AdMob, the real ads are not displayed. What is the problem? Here is my code: <string name="banner_ad_unit_id">ca-app-pub-11*************1/7********5</string> for xml i used <com.google.android.gms.ads.AdView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" ads:adSize=