{"action":"created","issue":{"url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/347","repository_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro","labels_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/347/comments","events_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/347/events","html_url":"https://github.com/floatinghotpot/cordova-admob-pro/issues/347","id":145035101,"number":347,"title":"Smart Banner from DFP is not centered","user":{"login":"lucianomlima","id":1580205,"avatar_url":"https://avatars.githubusercontent.com/u/1580205?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianomlima","html_url":"https://github.com/lucianomlima","followers_url":"https://api.github.com/users/lucianomlima/followers","following_url":"https://api.github.com/users/lucianomlima/following{/other_user}","gists_url":"https://api.github.com/users/lucianomlima/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianomlima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianomlima/subscriptions","organizations_url":"https://api.github.com/users/lucianomlima/orgs","repos_url":"https://api.github.com/users/lucianomlima/repos","events_url":"https://api.github.com/users/lucianomlima/events{/privacy}","received_events_url":"https://api.github.com/users/lucianomlima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-31T22:26:13Z","updated_at":"2016-04-01T02:42:22Z","closed_at":null,"body":"I'm add a banner from DFP with Smart Banner adSize.\r\nIn DFP panel, banner is configured as SMART_BANNER and the image has 320x50.\r\nWhen isTesting is true, the banner (from AdMob network) is centered, but when I disable isTesting option and try banner from DFP, always show left aligned.\r\n\r\n```\r\n\t\tAdMob.createBanner({\r\n\t\t\tadId: myDFPTag,\r\n\t\t\tadSize: AdMob.AD_SIZE.SMART_BANNER,\r\n\t\t\tposition: AdMob.AD_POSITION.BOTTOM_CENTER,\r\n\t\t\toffsetTopBar: true,\r\n\t\t\toverlap: true,\r\n\t\t\tbgColor: 'white',\r\n\t\t\tautoShow: true,\r\n\t\t\tisTesting: false\r\n\t\t});\r\n```"},"comment":{"url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/comments/204220244","html_url":"https://github.com/floatinghotpot/cordova-admob-pro/issues/347#issuecomment-204220244","issue_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/347","id":204220244,"user":{"login":"floatinghotpot","id":2339512,"avatar_url":"https://avatars.githubusercontent.com/u/2339512?v=3","gravatar_id":"","url":"https://api.github.com/users/floatinghotpot","html_url":"https://github.com/floatinghotpot","followers_url":"https://api.github.com/users/floatinghotpot/followers","following_url":"https://api.github.com/users/floatinghotpot/following{/other_user}","gists_url":"https://api.github.com/users/floatinghotpot/gists{/gist_id}","starred_url":"https://api.github.com/users/floatinghotpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatinghotpot/subscriptions","organizations_url":"https://api.github.com/users/floatinghotpot/orgs","repos_url":"https://api.github.com/users/floatinghotpot/repos","events_url":"https://api.github.com/users/floatinghotpot/events{/privacy}","received_events_url":"https://api.github.com/users/floatinghotpot/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T02:42:22Z","updated_at":"2016-04-01T02:42:22Z","body":"please pass argument to showBanner(position), for example:\r\n```javascript\r\nAdMob.showBanner(AdMob.AD_POSITION.BOTTOM_CENTER);\r\n```\r\n"}}