Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Admob doesn't show ads.

$
0
0

admob version: 2.1.0 Target: Android

Hi, I have a simple code for testing admob

var Admob = require('ti.admob');
var win = Ti.Ui.createWindow({
 
});
 var ads = Admob.createView({
        height: 100,
        width: 500,
        backgroundColor: '#000',
        publisherId: "a1111111111eee4",
        test: true,
});
 
win.add(ads);
win.open();
but doens't work because I cannot get ads. Console log:
[INFO] :   Ads: Received ad url: <url: "http://googleads.g.doubleclick.net:80/mads/gma?preqs=0&session_id=11822228474011203271&u_sd=1.5&seq_num=1&u_w=320&msid=com.geppoz.voxpopuli&cap=m%2Ca&js=afma-sdk-a-v6.2.1&cipa=0&bas_off=0&format=320x50_mb&oar=0&net=ed&app_name=1.android.com.geppoz.voxpopuli&hl=en&gnt=3&u_h=533&carrier=310260&bas_on=0&ptime=0&u_audio=1&an=1.android.com.geppoz.voxpopuli&u_so=p&output=html&region=mobile_app&u_tz=0&client_sdk=1&ex=1&slotname=a1111111111eee4&gsb=3g&caps=interactiveVideo_th_autoplay_mediation_sdkAdmobApiForAds_di&isul=32&blob=ABPQqLE2_He9E5iGtlupo-BLBUi7bgqCC3rZtgMWx0sJpjX2QBNygyqU6kWN9EqYuHFylRQ85QLOxAg9rLFY9Jx8xY6ufN_NV_5qrVqsGL82tzrHrVdBhp4GvrbXLsUCK6PeGhRoHbL-t-9ByvkZI3opsI8ZhBLBOUpMeem398wpQmHq8gANOlzh6Y5jUh5fFuGAxRY6SAalr4_TO-LHTQQuKKmjutVBWZoKaggSWsiVNDxW4f0aaZTc7Xg8qpuOPrB_Ga-GzaUIvyJ_Iyc-UKeqrgwtPTnOOEDbEzQ2&et=32&jsv=88&urll=835" type: "admob" afmaNotifyDt: "null" useWebViewLoadUrl: "false">
[INFO] :   Ads: Request scenario: Online server request.
[WARN] :   Ads: No AdResponse found, <message: /log>
[DEBUG] :  webviewglue: nativeDestroy view: 0x9379540
[INFO] :   Ads: onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.)
[DEBUG] :  AdMobView: (main) [733,1053] onFailedToReceiveAd(): Ad request successful, but no ad returned due to lack of ad inventory.
How can I simply test admob? Thanks for attention.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>