Google Play Console Error Advertising ID can help me please


#1

Good evening, I use google translator sorry for my English. Below leaving my mother asks, Spanish language.

Implement these mediation MoPub days ago … and in this day Google play console given me the notice attached below in the image.

They say: “We have determined that your application uses a library or SDK (com.google.android.gsm.internal) that violates the policy Developer Program … … climb applications that comply with the advertising ID clause …”

Admob google when I implemented only had no problems id advertising.
I was wondering if you could help me. The only difference I have noticed is that in the xml files where are the banners, using admob must refer to … “xmlns: ads =” http://schemas.android.com/apk/res-auto "
And MoPub mediation instructions do not say anything about it … I in my source code using MoPub not I added.
Maybe that’s why the error ??

Can help me?? attached my codes
The only thing I can think is missing to implement the line mentioned above in xml, xmlns: ads =" http://schemas.android.com/apk/res-auto " may be?

Manifiest:

</activity>
    
    <meta-data android:name="com.google.android.gms.version"
		    android:value="@integer/google_play_services_version" />

		<activity android:name="com.mopub.mobileads.MoPubActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
		<activity android:name="com.mopub.mobileads.MraidActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
		<activity android:name="com.mopub.common.MoPubBrowser" android:configChanges="keyboardHidden|orientation|screenSize"/>
		<activity android:name="com.mopub.mobileads.MraidVideoPlayerActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
		<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
		<activity android:name="com.millennialmedia.android.MMActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:configChanges="keyboardHidden|orientation|keyboard" />
		<activity android:name="com.millennialmedia.android.VideoPlayer" android:configChanges="keyboardHidden|orientation|keyboard" />  

    
   <service android:name="com.ironsource.mobilcore.MobileCoreReport" android:enabled="true"

android:exported=“false” android:process=":mcServiceProcess">


Activitymain:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_menu"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >

<ImageView
    android:id="@+id/imageView1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_above="@+id/b_enter"
    android:layout_alignParentTop="true"
    android:layout_centerHorizontal="true"
    android:src="@drawable/panel" />

<ImageView
    android:id="@+id/b_enter"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/imageView1"
    android:layout_alignParentBottom="true"
    android:layout_marginBottom="15dp"
    android:src="@drawable/enter" />

<ImageView
    android:id="@+id/b_market"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignRight="@+id/imageView1"
    android:layout_alignTop="@+id/b_enter"
    android:src="@drawable/market" />

<com.mopub.mobileads.MoPubView
    android:id="@+id/adView"
    android:layout_width="fill_parent"
    android:layout_height="50dp"
    android:layout_alignBottom="@+id/imageView1"
    android:layout_alignLeft="@+id/imageView1"
    android:layout_marginBottom="32dp"
    android:gravity="bottom" >
</com.mopub.mobileads.MoPubView>

fragactivity:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000"
android:orientation="vertical"
tools:context=".MainActivity" >

<fragment
    android:id="@+id/frg_imagen"
    android:name="com.funappdev.lovequotes.FrgImagen"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1" />

<com.mopub.mobileads.MoPubView
android:id="@+id/adView2"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="20dp"
android:gravity=“bottom” >
</com.mopub.mobileads.MoPubView>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal" >

    <ImageView
        android:id="@+id/imagePrev"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:background="@color/holo_green_dark"
        android:onClick="onClickImage"
        android:src="@drawable/ic_menu_prev" />

    <ImageView
        android:id="@+id/imageShare"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:background="@color/holo_green_light"
        android:onClick="onClickImage"
        android:src="@drawable/ic_menu_share" />

    <ImageView
        android:id="@+id/imageNext"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:background="@color/holo_green_dark"
        android:onClick="onClickImage"
        android:src="@drawable/ic_menu_forward" />
</LinearLayout>

Main…java

public class MainActivity extends Activity implements InterstitialAdListener {
 private StartAppAd startAppAd = new StartAppAd(this);
 private MoPubView moPubView;
 private MoPubInterstitial mInterstitial;


@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	
	StartAppSDK.init(this, "000000000", "000000000", true);
	MobileCore.init(this, "000000000000000000000000", LOG_TYPE.DEBUG, AD_UNITS.INTERSTITIAL);
	
	
	requestWindowFeature(Window.FEATURE_NO_TITLE);
	setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

	setContentView(R.layout.activity_main);
	String path = Environment.getExternalStorageDirectory().toString();
	
	mInterstitial = new MoPubInterstitial(this, "000000000000000000000000000000000000000000");
	mInterstitial.setInterstitialAdListener(this);
    mInterstitial.load();


	moPubView = (MoPubView) findViewById(R.id.adView);
	moPubView.setAdUnitId("0000000000000000000000000000000000000000000000");
	moPubView.loadAd();

fragactivity.java

public class MainFragActivity extends FragmentActivity implements InterstitialAdListener {

 private StartAppAd startAppAd = new StartAppAd(this);
 private MoPubView moPubView;
 private MoPubInterstitial mInterstitial;

public static ArrayList<String> data = null;

public static int idImageCount = 0;
private int variable = 20;

@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	
	StartAppSDK.init(this, "000000000", "000000000", true);
	StartAppAd.showSplash(this, savedInstanceState);
	MobileCore.init(this, "000000000000000000000000000", LOG_TYPE.DEBUG, AD_UNITS.INTERSTITIAL);

	
	
	setContentView(R.layout.frg_main_activity);
	
	moPubView = (MoPubView) findViewById(R.id.adView2);
	moPubView.setAdUnitId("00000000000000000000000000000000000000"); 
	moPubView.loadAd();
		
	mInterstitial = new MoPubInterstitial(this, "0000000000000000000000000000000000000000000000000000000");

}

Because the console tells me google that do not read the advertising id ??

Thanks and sorry my bad English, i use google translator, sorry…

Thanks
Sergio


#2

Hello funappdev,

What AdMob SDK version are you using?
What MoPub SDK version are you using?
Are you using Google Play Services? If so, which version?

Can you use the latest SDK with the latest certified version of AdMob (5.0.89 as of the date of posting, support for 7.1 will be provided on the next MoPub SDK release)?

Can you make sure to integrate Google Play Services as well?

Let us know if this fixes your issue.

Thanks,
Edward