android - AdMob ads not showing up at all -


so downloaded latest admob sdk. followed instructions importing project, etc.

then did thing allows ads in 2.3.3 changing project.properties target android-13 , set min-sdk 10.

also declared in manifest :

<activity android:name="com.google.ads.adactivity"                        android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode|screensize|smallestscreensize"/> 

declared adview in xml :

<com.google.ads.adview android:id="@+id/adview"                      android:layout_width="wrap_content"                      android:layout_height="wrap_content"                      ads:adunitid="xxxxxx"    <!--replaced xxxxxx publisher id-->                      ads:adsize="banner"                      ads:testdevices="xxxxx"  <!--replaced xxxxx device id-->                      ads:loadadoncreate="true"/> 

after of ad doesnt show up!! in grapical layout says class not instantiated

where have gone wrong?

do include admob.jar file in project libs directory?


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -