Enter code here...
<com.google.android.gms.ads.AdView
android:id="@+id/adBanBottHomeSmallay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adSize="SMART_BANNER"
ads:adUnitId="@string/adIDBanBottHomeSmallay"
/>
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.
activity_knigh_tbar_home);
lstHome = (ListView)findViewById(R.id.lstHome);
adBanBottHomeSmallay = (AdView)findViewById(R.id.adBanBottHomeSmallay);
stuffToDoWithAdBanBottHomeSmallay();
}
/**
* This method deals with most stuff involving
* the Ad in this Activity:
* AdBanBottHomeSmallay
*/
private void stuffToDoWithAdBanBottHomeSmallay() {
AdRequest adreqBanBottHomeSmallay =
new AdRequest.Builder()
.addTestDevice(AdRequest.
DEVICE_ID_EMULATOR)
.addTestDevice(getString(R.string.
adRequestTestCodeMyLGE400))
.build();
adBanBottHomeSmallay.loadAd(adreqBanBottHomeSmallay);
}
--
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.