I got a "potential advertising ID policy violation"?

183 views
Skip to first unread message

metro...@hotmail.com

unread,
Apr 23, 2015, 4:56:42 AM4/23/15
to google-adm...@googlegroups.com
I got a message like this in my console. Why is it so? Please help me. I don't know how to solve this. 

The message I got. 

Policy Violation

We have determined that your app uses a library or SDK (com.google.android.gms.internal) that is in violation of the Developer Program Policy. Please note that beginning Aug 1st, 2014 the Developer Program Policyrequires all updates and new apps uploaded to be compliant with the advertising ID provision of the Developer Program Policy. Apps in violation may be subject to permanent removal from the Store

Denny Hörtz

unread,
Apr 23, 2015, 6:09:44 AM4/23/15
to google-adm...@googlegroups.com
I got the same message and I really did what the "AdMob get started" guide told me! This app is available since 10 days and it was fine so far.

mInterstitialAd = new InterstitialAd(this);
            mInterstitialAd.setAdUnitId(ca-app-pub-*******************/***********);
            requestNewInterstitial();
            mInterstitialAd.setAdListener(new AdListener() {
                @Override
                public void onAdClosed() {
                    requestNewInterstitial();
                }
            });
            startAd();

void showAd() {
        mInterstitialAd.show();
        mLastAd = System.currentTimeMillis();
    }

    private void requestNewInterstitial() {
        if (MyApplication.getInstance().isAdEnabled()) {
            AdRequest adRequest = new AdRequest.Builder()
                    .build();

            mInterstitialAd.loadAd(adRequest);
        }
    }

    private void startAd() {
        if (MyApplication.getInstance().isAdEnabled()) {
            final Handler handler = new Handler();
            Runnable runnable = new Runnable() {
                @Override
                public void run() {

                    if (mInterstitialAd.isLoaded()) {
                        showAd();
                    } else {
                        handler.postDelayed(this, 100);
                    }

                }
            };
            handler.postDelayed(runnable, 1000);
        }
    }

Appartans Mobile

unread,
Apr 23, 2015, 8:21:09 AM4/23/15
to google-adm...@googlegroups.com
I have same problem. One of my apps signed as "policy violation" (published yesterday). Please someone help about that.

Thanks.

Artem Semenov

unread,
Apr 23, 2015, 8:58:19 AM4/23/15
to google-adm...@googlegroups.com
I got the same problem!

Admob banner violates Developer Program Policy. Why Google?

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Apr 23, 2015, 9:42:34 PM4/23/15
to google-adm...@googlegroups.com
I've bubbled this up to the play policy team. We apologize for the inconvenience and any confusion this may have caused. Please disregard the warning while we work to address the issue.

Denny Hörtz

unread,
Apr 24, 2015, 3:36:24 AM4/24/15
to google-adm...@googlegroups.com
Thanks for the response Eric,

do I have to handle the "Advertising ID information” for myself or does it the AdMob SDK for me? Maybe that is the problem? I am only did what I learned on https://developers.google.com/mobile-ads-sdk/docs/admob/android/interstitial

greetings Denny
--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/TMDt3h5_egU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Apr 24, 2015, 1:45:57 PM4/24/15
to google-adm...@googlegroups.com
The SDK handles pulling of the Advertising ID as part of the ad requests it makes.

App developers do not need to access the Ad ID directly in order to serve AdMob or DFP ads using the SDK.


On Friday, April 24, 2015 at 3:36:24 AM UTC-4, Denny Hörtz wrote:
Thanks for the response Eric,

do I have to handle the "Advertising ID information” for myself or does it the AdMob SDK for me? Maybe that is the problem? I am only did what I learned on https://developers.google.com/mobile-ads-sdk/docs/admob/android/interstitial

greetings Denny
On 24 Apr 2015, at 03:42, Eric Leichtenschlag (Mobile Ads SDK Team) <mobileadssdk-advisor+eric@google.com> wrote:

I've bubbled this up to the play policy team. We apologize for the inconvenience and any confusion this may have caused. Please disregard the warning while we work to address the issue.

On Thursday, April 23, 2015 at 8:58:19 AM UTC-4, Artem Semenov wrote:
I got the same problem!

Admob banner violates Developer Program Policy. Why Google?

On Thursday, April 23, 2015 at 11:56:42 AM UTC+3, metro...@hotmail.com wrote:
I got a message like this in my console. Why is it so? Please help me. I don't know how to solve this. 

The message I got. 

Policy Violation

We have determined that your app uses a library or SDK (com.google.android.gms.internal) that is in violation of the Developer Program Policy. Please note that beginning Aug 1st, 2014 the Developer Program Policyrequires all updates and new apps uploaded to be compliant with the advertising ID provision of the Developer Program Policy. Apps in violation may be subject to permanent removal from the Store


--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/TMDt3h5_egU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

Denny Hörtz

unread,
Apr 25, 2015, 5:29:33 AM4/25/15
to google-adm...@googlegroups.com
Ok thanks,

I added a addTestDevice for my private smartphone. The message is gone, but i don’t know what the problem was, maybe the missed addTestDevice?

To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.

Bernardino Alvarez

unread,
Apr 25, 2015, 11:15:56 AM4/25/15
to google-adm...@googlegroups.com


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">
android:enabled="true" android:process=":installationTracker">

android:theme="@android:style/Theme" />

android:theme="@android:style/Theme.Translucent"
android:configChanges="orientation|keyboardHidden|screenSize" />


activitymain.xml


<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>

.....

fragmainactivity.xml


<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" />

android:id="@+id/adView2"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="20dp"
android:gravity="bottom" >

<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>

u

Main.java






public class MainActivity extends Activity implements InterstitialAdListener { private MoPubView moPubView; private MoPubInterstitial mInterstitial; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); 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 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);
	

	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

Reply all
Reply to author
Forward
0 new messages