hello
i have problem with admob game
this AD_INTERSTITIAL_UNIT_ID Not show he show message field
i now this 2 admob The same advertising but this to show you what a problem
and the AD_UNIT_ID not show after add admob code AD_INTERSTITIAL_UNIT_ID = "ca-app-pub-1141613635835332/7968365003";
i have problem with admob game
this AD_INTERSTITIAL_UNIT_ID Not show he show message field
Code:
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.InterstitialAd;
import com.mohaapp.layers.CCScene;
import com.mohaapp.nodes.CCDirector;
import com.mohaapp.opengl.CCGLSurfaceView;
import android.app.Activity;
import android.content.SharedPreferences;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.v4.view.ViewPager.LayoutParams;
import android.util.DisplayMetrics;
import android.view.KeyEvent;
import android.widget.RelativeLayout;
import android.widget.Toast;
public class MainActivity extends Activity {
private CCGLSurfaceView mGLSurfaceView;
//<!-- Admob Ads Using Google Play Services SDK -->
private static final String AD_UNIT_ID = "ca-app-pub-1141613635835332/7968365003";
private static final String AD_INTERSTITIAL_UNIT_ID = "ca-app-pub-1141613635835332/7968365003";
/** The Admob ad. */
private InterstitialAd interstitialAd = null;
public AdView adView = null;
public static MainActivity app;
public void onCreate(Bundle savedInstanceState)
{
app = this;
super.onCreate(savedInstanceState);
// set view
mGLSurfaceView = new CCGLSurfaceView(this);
i now this 2 admob The same advertising but this to show you what a problem
and the AD_UNIT_ID not show after add admob code AD_INTERSTITIAL_UNIT_ID = "ca-app-pub-1141613635835332/7968365003";