Hi,
i'm having problems with the adMob ads, I don't know what else have to do.
My app showme the ads in the emulator, but not in my mobile.
What am I doing wrong?
This is the code of my activity:
My Manifest:
My main:
Please help!
Thanks!
i'm having problems with the adMob ads, I don't know what else have to do.
My app showme the ads in the emulator, but not in my mobile.
What am I doing wrong?
This is the code of my activity:
Code:
private AdView adView_cuchillas;
...
adView_cuchillas = (AdView) findViewById(R.id.anuncio);
adView_cuchillas.setVisibility(AdView.VISIBLE);
AdRequest request = new AdRequest();
adView_cuchillas.loadAd(request);
My Manifest:
Code:
<activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation">
<meta-data android:value="XXXXXXXXXXXXXXX" android:name="ADMOB_PUBLISHER_ID" />
</activity>
My main:
Code:
<com.google.ads.AdView
android:id="@+id/anuncio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adUnitId="XXXXXXXXXXXXXXX"
ads:adSize="BANNER"
ads:loadAdOnCreate="true"/>
Please help!
Thanks!