{"id":6917,"date":"2014-05-11T17:44:07","date_gmt":"2014-05-11T17:44:07","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/11\/cant-see-admob-banners-in-libgdx-app-collection-of-common-programming-errors\/"},"modified":"2014-05-11T17:44:07","modified_gmt":"2014-05-11T17:44:07","slug":"cant-see-admob-banners-in-libgdx-app-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/11\/cant-see-admob-banners-in-libgdx-app-collection-of-common-programming-errors\/","title":{"rendered":"can&#39;t see admob banners in libgdx app-Collection of common programming errors"},"content":{"rendered":"<p>I added the code as it is written here<\/p>\n<p>But I can&#8217;t see banners with ads in my game. My app is published. But the current version is not published yet. I&#8217;ve added to manifest:<\/p>\n<pre><code>\n\n<\/code><\/pre>\n<p>There is a similar thread here<\/p>\n<p>But I could not understand the answer there. They wrote: <strong><em>You don&#8217;t need to have an app already on the market to get a Publisher ID for a new app. In the Android Package URL field that&#8217;s on the &#8220;Add Site\/App&#8221; form, just enter &#8220;market:\/\/details?id=your.package.name&#8221;. You&#8217;ll of course want to replace the &#8216;your.package.name&#8217; with your app&#8217;s actual package name. The viewWidth warnings are fine and you will likely still see them after inserting your Publisher ID.<\/em><\/strong><\/p>\n<p>I don&#8217;t understand where should I include &#8220;market:\/\/details?id=your.package.name&#8221;.<\/p>\n<p>Logcat shows me the following errors: <strong><em>w\/Ads (3200) Invalid unknown request error: Cannot determine request type. Is your ad unit id correct? w\/webcore(3200): can&#8217;t get the viewwidth after the first layout<\/em><\/strong><\/p>\n<p>My publisher key is correctly inserted to the code. BTW it was printed in logcat. (Is it possible to exclude printing it?)<\/p>\n<p>Thanks<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I added the code as it is written here But I can&#8217;t see banners with ads in my game. My app is published. But the current version is not published yet. I&#8217;ve added to manifest: There is a similar thread here But I could not understand the answer there. They wrote: You don&#8217;t need to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6917","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6917"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6917\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}