error in displaying google ads
<p>I had declared google ads in xml as</p>

<pre><code>&lt;RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" &gt;


        &lt;com.google.ads.AdView
             xmlns:ads="http://schemas.android.com/apk/lib/com.admobdemo"
        android:id="@+id/adView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        ads:adSize="BANNER"
        ads:adUnitId="a150cb2e31846cf" 
        ads:loadAdOnCreate="true"
        ads:testDevices="AVD_for_4in_WVGA_Nexus_S,5554" /&gt;


    &lt;/RelativeLayout&gt;
</code></pre>

<p>I have declared the namespace in XML and in manifest file also. </p>

<p>And i am declaring in my activity as</p>

<pre><code>AdView adView = (AdView) findViewById(R.id.adView);
        AdRequest adRequest = new AdRequest();
        adRequest.setTesting(true);

        adView.loadAd(adRequest);
</code></pre>

<p>But when i run my app i am getting the RESPONSE as</p>

<pre><code>adRequestUrlHtml: &lt;html&gt;&lt;head&gt;&lt;script src="http://www.gstatic.com/afma/sdk-core-v40.js"&gt;&lt;/script&gt;&lt;script&gt;AFMA_buildAdURL({"preqs":0,"u_sd":1.5,"u_w":480,"simulator":1,"msid":"com.netserv.Pungry","cap":"m,a","js":"afma-sdk-a-v4.0.2","isu":"B3EEABB8EE11C2BE770B684D95219ECB","format":"320x50_mb","net":"ed","app_name":"4.0.2.android.com.netserv.Pungry","hl":"en","u_h":800,"testing":1,"u_so":"p","u_audio":4});&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;
</code></pre>

<p>But it's not displaying in the output and i am getting error as </p>

<pre><code>03-19 13:43:46.190: E/Ads(4983): AdView missing required XML attribute adUnitId.
</code></pre>

<p>Can i know what is the error in my code.</p>

<p>Thanks:)</p>
