<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Adam,  in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003302#M31021</link>
    <description>&lt;P&gt;Hi Adam,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;What exactly is the issue with not being able to add it? Have you selected the plugin from the projects tab?&lt;/P&gt;

&lt;P&gt;We have a admob sample called 'Hello Admob' that ships with the XDK for you to refer if you are having any code related issues.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You can create the same within XDK or here is the link to its Git repo:&amp;nbsp;https://github.com/gomobile/sample-hello-admob&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2015 15:57:44 GMT</pubDate>
    <dc:creator>Anusha_M_Intel1</dc:creator>
    <dc:date>2015-07-09T15:57:44Z</dc:date>
    <item>
      <title>Intel XDK AdMob Problem</title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003301#M31020</link>
      <description>&lt;P&gt;Hi i have a problem with AdMob. I can´t add AdMob to my apk. I try everything. pleas help me :/&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 12:41:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003301#M31020</guid>
      <dc:creator>Adam_t_1</dc:creator>
      <dc:date>2015-07-08T12:41:37Z</dc:date>
    </item>
    <item>
      <title>Hi Adam, </title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003302#M31021</link>
      <description>&lt;P&gt;Hi Adam,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;What exactly is the issue with not being able to add it? Have you selected the plugin from the projects tab?&lt;/P&gt;

&lt;P&gt;We have a admob sample called 'Hello Admob' that ships with the XDK for you to refer if you are having any code related issues.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You can create the same within XDK or here is the link to its Git repo:&amp;nbsp;https://github.com/gomobile/sample-hello-admob&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 15:57:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003302#M31021</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2015-07-09T15:57:44Z</dc:date>
    </item>
    <item>
      <title>Anusha, the link you gave is</title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003303#M31022</link>
      <description>&lt;P&gt;Anusha, the link you gave is over the heads of coding newbies. Which folder do you look in to find the answers? gitignore? json? Some simple copy and paste code would be nice, or, to have the AdMob template simply work without a lot of re-coding.&lt;/P&gt;

&lt;P&gt;"removed AD-UNIT-ID from index.html" OK, so what does that mean to someone who can't get AdMob to work on an app they have already created? What code does it need, and where? The header, the body? I am at the point, I need to abandon XDK, and do something else if I want AdMob to work.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2015 20:13:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003303#M31022</guid>
      <dc:creator>Smith__J</dc:creator>
      <dc:date>2015-07-18T20:13:21Z</dc:date>
    </item>
    <item>
      <title>All the code you need is in:</title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003304#M31023</link>
      <description>&lt;P&gt;All the code you need is in:&amp;nbsp;&lt;SPAN itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb" style="box-sizing: border-box; color: rgb(118, 118, 118); font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 18px; line-height: 25.2000007629395px;"&gt;&lt;A data-branch="master" data-pjax="true" href="https://github.com/gomobile/sample-hello-admob/tree/master/www" itemscope="url" style="box-sizing: border-box; color: rgb(64, 120, 192); background-color: transparent;"&gt;&lt;SPAN itemprop="title" style="box-sizing: border-box;"&gt;www&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="separator" style="box-sizing: border-box; color: rgb(118, 118, 118); font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 18px; line-height: 25.2000007629395px;"&gt;/&lt;/SPAN&gt;index.html&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/gomobile/sample-hello-admob/blob/master/www/index.html" target="_blank"&gt;https://github.com/gomobile/sample-hello-admob/blob/master/www/index.html&lt;/A&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function initAdMob(){
            if ( window.plugins &amp;amp;&amp;amp; window.plugins.AdMob ) {
                //Login to &lt;A href="https://apps.admob.com" target="_blank"&gt;https://apps.admob.com&lt;/A&gt; to get AD-UNIT-ID
                var admob_key_banner = "ADD_YOUR_AD-UNIT-ID_HERE"; //Banner Ads 
                var admob_key_interstitial = "ADD_YOUR_AD-UNIT-ID_HERE"; //Interstitial Ads
                window.plugins.AdMob.setOptions( {
                    publisherId: admob_key_banner,
                    bannerAtTop: false, // set to true, to put banner at top
                    overlap: false, // set to true, to allow banner overlap webview
                    offsetTopBar: true, // set to true to avoid ios7 status bar overlap                    
                    interstitialAdId: admob_key_interstitial,
                    autoShow: true, // autoshow intertitial Ad
                    isTesting: false // receiving test ad
                });
            } else {
                alert("AdMob plugin not ready");
            }
        }
        
        function showAdMobBanner(){
            window.plugins.AdMob.createBannerView();
        }
        
        function showAdMobInterstitial(){
            window.plugins.AdMob.createInterstitialView();
        }
        &lt;/PRE&gt;

&lt;P&gt;Add initAdMob() to onDeviceReady function. Replace "&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 17.7381820678711px;"&gt;ADD_YOUR_AD-UNIT-ID_HERE" with your Unit ID taken from &lt;A href="https://www.google.com/admob/" target="_blank"&gt;https://www.google.com/admob/&lt;/A&gt;. Here you will create a profile for you app and retrieve Unit IDs for interstitial and banner ads. Replace it in the code. You should definitely try creating this app from within the XDK. So you can see how it works.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Go to start new project -&amp;gt; Samples and Demos -&amp;gt; General -&amp;gt; HTML5+Cordova -&amp;gt; Hello Admob. I have attached a screenshot for your reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 19:49:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-XDK-AdMob-Problem/m-p/1003304#M31023</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2015-07-20T19:49:32Z</dc:date>
    </item>
  </channel>
</rss>

