{ "id": "159904", "key": "AC-3571", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-05-04T06:12:45.000+0000", "created": "2016-04-29T20:18:53.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "54502", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "166424", "key": "MOD-2327", "fields": { "summary": "Android: Ti.Admob - Ad not received on 6.0.2.GA with latest Admob 3.0.1", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-05T17:56:25.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "[INFO] : Ads: Starting ad request.\r\n[WARN] : Ads: There was a problem getting an ad response. ErrorCode: 1\r\n[WARN] : Ads: Failed to load ad: 1\r\n[DEBUG] : AdMobView: (main) [289,131089] onAdFailedToLoad(): 1\r\n[INFO] : ad not received\r\n \r\n\r\nAdMob event listener : not reving ads.\r\nadMobView.addEventListener(Admob.AD_NOT_RECEIVED,function(){\r\n //alert(\"ad not received\");\r\n Ti.API.info(\"ad not received\");\r\n});\r\n", "attachment": [], "flagged": false, "summary": "Ti.Admob : ad not received", "creator": { "name": "bpawar", "key": "bpawar", "displayName": "Bhushankumar pawar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bpawar", "key": "bpawar", "displayName": "Bhushankumar pawar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android", "comment": { "comments": [ { "id": "384541", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nI am unable to reproduce this issue. I am able to display banner ads with {{ti.admob 2.1.5}}.\r\n*Steps:*\r\n1. Create a default classic project.\r\n2. Ad ti.admob 2.1.5 module in that project.\r\n3. Replace app.js with following.\r\n{code}\r\n/**\r\n * Copyright (c) 2011 by Studio Classics. All Rights Reserved.\r\n * Author: Brian Kurzius\r\n * Licensed under the terms of the Apache Public License\r\n * Please see the LICENSE included with this distribution for details.\r\n */\r\n\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor: \"#FFFFFF\"\r\n});\r\n\r\n// require AdMob\r\nvar Admob = require('ti.admob');\r\n\r\n// then create an adMob view\r\nvar adMobView = Admob.createView({\r\n publisherId:\"your ad id \",\r\n testing:false, // default is false\r\n //top: 10, //optional\r\n //left: 0, // optional\r\n //right: 0, // optional\r\n bottom: 0, // optional\r\n adBackgroundColor:\"FF8855\", // optional\r\n backgroundColorTop: \"738000\", //optional - Gradient background color at top\r\n borderColor: \"#000000\", // optional - Border color\r\n textColor: \"#000000\", // optional - Text color\r\n urlColor: \"#00FF00\", // optional - URL color\r\n linkColor: \"#0000FF\" //optional - Link text color\r\n //primaryTextColor: \"blue\", // deprecated -- now maps to textColor\r\n //secondaryTextColor: \"green\" // deprecated -- now maps to linkColor\r\n \r\n});\r\n\r\n\r\n//listener for adReceived\r\nadMobView.addEventListener(Admob.AD_RECEIVED,function(){\r\n // alert(\"ad received\");\r\n Ti.API.info(\"ad received\");\r\n});\r\n\r\n//listener for adNotReceived\r\nadMobView.addEventListener(Admob.AD_NOT_RECEIVED,function(){\r\n //alert(\"ad not received\");\r\n Ti.API.info(\"ad not received\");\r\n});\r\n\r\n\r\nvar adRequestBtn = Ti.UI.createButton({\r\n title:\"Request an ad\",\r\n top:\"10%\",\r\n height: \"10%\",\r\n width: \"80%\"\r\n});\r\n\r\nadRequestBtn.addEventListener(\"click\",function(){\r\n adMobView.requestAd();\r\n});\r\n\r\nvar adRequestBtn2 = Ti.UI.createButton({\r\n title: \"Request a test ad\",\r\n top: \"25%\",\r\n height: \"10%\",\r\n width: \"80%\"\r\n});\r\n\r\nadRequestBtn2.addEventListener(\"click\",function(){\r\n adMobView.requestTestAd();\r\n});\r\n\r\nwin.add(adMobView);\r\nwin.add(adRequestBtn);\r\nwin.add(adRequestBtn2);\r\nwin.open();\r\n{code}\r\n4.Give banner ad id in {{publisherId:}}.\r\n5. Build and run the app.\r\n6. Click \"REQUESR AN AD\" button.\r\n7. Following console log is given also ad is shown.\r\n{code}\r\n[INFO] : Ads: Scheduling ad refresh 60000 milliseconds from now.\r\n[INFO] : Ads: Ad finished loading.\r\n[INFO] : ad received\r\n{code}\r\n\r\nThanks\r\n\r\n\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexus7 (android 6.0.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.2.GA and 5.2.1.GA\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5\r\n*Appcelerator CLI Version:* 5.2.2\r\n*Appcelerator Studio:* 4.5.0", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-03T06:17:55.000+0000", "updated": "2016-05-03T06:17:55.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }