January 2020 | Programming Guide

How to implement a simple Ad to activity with a simple design

STEP1: Create google AdMob Account on  https://www.google.com/intl/de_de/adsense/start/ get your publisher id  it looks like this: ca-app-pub-12345678912345667778901123 (SAMPLE)NEVER USE your pub id for test purpopeses!your account may be banned !!!!For test purposes use a test pub id:https://developers.google.com/admob/android/test-ads STEP2: Create new Empty Activity and add to strings.xml <string name = “google_app_id” translatable=”false”>ca-app-pub-3940256099942544/6300978111</string> (test sample)  STEP3: ADD to manifest following parameters: Dont […]