{"action":"created","issue":{"url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/76","repository_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free","labels_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/76/comments","events_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/76/events","html_url":"https://github.com/ratson/cordova-plugin-admob-free/issues/76","id":235008572,"number":76,"title":"Ads not show in an ionic 2 app","user":{"login":"gitmasta","id":1196235,"avatar_url":"https://avatars2.githubusercontent.com/u/1196235?v=4","gravatar_id":"","url":"https://api.github.com/users/gitmasta","html_url":"https://github.com/gitmasta","followers_url":"https://api.github.com/users/gitmasta/followers","following_url":"https://api.github.com/users/gitmasta/following{/other_user}","gists_url":"https://api.github.com/users/gitmasta/gists{/gist_id}","starred_url":"https://api.github.com/users/gitmasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitmasta/subscriptions","organizations_url":"https://api.github.com/users/gitmasta/orgs","repos_url":"https://api.github.com/users/gitmasta/repos","events_url":"https://api.github.com/users/gitmasta/events{/privacy}","received_events_url":"https://api.github.com/users/gitmasta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-10T15:19:09Z","updated_at":"2017-09-24T11:33:09Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nwhen i set the testing mode to true, the tests ads are shown. but when i set it off nothing is shown.\r\ncan you help me please"},"comment":{"url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/comments/331703975","html_url":"https://github.com/ratson/cordova-plugin-admob-free/issues/76#issuecomment-331703975","issue_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/76","id":331703975,"user":{"login":"f3k0","id":8690373,"avatar_url":"https://avatars3.githubusercontent.com/u/8690373?v=4","gravatar_id":"","url":"https://api.github.com/users/f3k0","html_url":"https://github.com/f3k0","followers_url":"https://api.github.com/users/f3k0/followers","following_url":"https://api.github.com/users/f3k0/following{/other_user}","gists_url":"https://api.github.com/users/f3k0/gists{/gist_id}","starred_url":"https://api.github.com/users/f3k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f3k0/subscriptions","organizations_url":"https://api.github.com/users/f3k0/orgs","repos_url":"https://api.github.com/users/f3k0/repos","events_url":"https://api.github.com/users/f3k0/events{/privacy}","received_events_url":"https://api.github.com/users/f3k0/received_events","type":"User","site_admin":false},"created_at":"2017-09-24T11:33:09Z","updated_at":"2017-09-24T11:33:09Z","author_association":"NONE","body":"Hi, I am having the same issue, the add works ok when running in emulator. However, it is not working in the published app.\r\n\r\nHere is a sample code, could you help please?\r\n\r\n\r\n        var admobid: AdMobType;\r\n        if (/(android)/i.test(navigator.userAgent)) {\r\n          admobid = { // for Android\r\n            banner: 'ca-app-pub-XXXXXX'\r\n          };\r\n        } else if (/(ipod|iphone|ipad)/i.test(navigator.userAgent)) {\r\n          admobid = { // for iOS\r\n            banner: 'ca-app-pub-XXXXXX'\r\n          };\r\n        } else {\r\n          admobid = { // for Windows Phone\r\n            banner: 'ca-app-pub-XXXXX'\r\n          };\r\n        }\r\n  \r\n        this.admob.createBanner({\r\n          adId: admobid.banner,\r\n          position: this.admob.AD_POSITION.BOTTOM_CENTER,\r\n          overlap:true,\r\n          //isTesting: true,// works on emulator\r\n          autoShow: true\r\n        })\r\n\r\napp: https://play.google.com/store/apps/details?id=com.pokethemeerkat\r\n\r\nThank you."}}
{"actor":{"display_login":"f3k0"}}