I have the following problem with AdMob.
My app is published on Google Play, Opera Mobile Store and GetJar. It has 30 downloads from Opera Store, 120 from GetJar but AdMob is showing and counting only the impressions and clicks made from Google Play downloads. The problem is only with the other app stores 150 downloads for the last 1 week and not a single impression counted.
Any idea is something wrong with my code or it's something else?
I have removed the addTestDevice method calls.
private AdView adView;
@Override
protected void onCreate(Bundle savedInstanceState) {
...
adView = (AdView) this.findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
...
}
@Override
protected void onResume() {
...
if (adView != null) {
adView.resume();
}
super.onResume();
}
@Override
protected void onPause() {
if (adView != null) {
adView.pause();
}
super.onPause();
}
@Override
protected void onDestroy() {
super.onDestroy();
if (adView != null) {
adView.destroy();
}
}
<com.google.android.gms.ads.AdView
android:id="@id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adUnitId="ca-app-pub-*******/******"
ads:adSize="BANNER"/>