Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Newbie
    Join Date
    Jun 2014
    Posts
    3
    Post Thanks / Like
    Mentioned
    1 Post(s)

    App suspended because Ad Policy using just AdMob

    Guys,

    I got an App suspended because.

    "Interstitial ads may only be displayed inside of the app they came with. A prominent and accessible target must be made available to users in any interstitial ad so they may dismiss the ad without penalty or inadvertent click-through."

    I'm using AdMob Interstitial as a Exit Ad, in this app I'm just using them, that's scary, it's not allowed? the Interstitial always is shown in the same game context, wtf guys? Anyone with the same problem?

    Rgs

  2. Thanks Magnesus thanked for this post
  3. #2
    Senior Member
    Join Date
    Apr 2012
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    69 Post(s)
    Well, I suppose it answers our long question if exit ads are safe, apparently they aren't. I will have to remove AppBrain and try to make up for its revenue some other way...
    Sorry you were banned because of it. Maybe in your case the ad was showing too late?

  4. #3
    Member dav800's Avatar
    Join Date
    Jan 2014
    Posts
    194
    Post Thanks / Like
    Mentioned
    9 Post(s)
    Some people have slow Internet or slow phones. Once they close your app, your ad starts loading. This could take seconds or minutes on some users slow Internet or phones. Once the ad loads it opens. This could be seconds or minutes after the user had closed your app.

    This is most likely the case for you. What you must do is, load the exit ads in onCreate() and on exit check if the ad has not loaded then just exit the app. Otherwise If the ad has loaded then show it and add an ad listener to your ad which listens for when an ad has closed, failed to load, or the user clicked the ad and left the application. If any of these events fire, then exit your app.

    It's too late now but this is for future reference

  5. Likes A1ka1inE liked this post
  6. #4
    Member
    Join Date
    Apr 2013
    Posts
    98
    Post Thanks / Like
    Mentioned
    6 Post(s)
    how did google know it was the ads too late to display?

  7. #5
    Member yo_asakura's Avatar
    Join Date
    May 2014
    Posts
    70
    Post Thanks / Like
    Mentioned
    8 Post(s)
    yeah, you must put this
    // Create the interstitial.
    interstitial = new InterstitialAd(this);
    interstitial.setAdUnitId(MY_AD_UNIT_ID);

    // Create ad request.
    AdRequest adRequest = new AdRequest.Builder().build();

    // Begin loading your interstitial.
    interstitial.loadAd(adRequest);

    in your onCreate, and when you press back button or just the button witch exits your app you call this

    if (interstitial.isLoaded()) {
    interstitial.show();
    }

    that way, if there is an ad loaded already you will show it. in your way i guess you start sending request when you exits your app, and that's why your app is banned. i use this and i have no problem for now...

  8. #6
    Senior Member reiti.net's Avatar
    Join Date
    Dec 2011
    Location
    Gran Canaria
    Posts
    932
    Post Thanks / Like
    Mentioned
    7 Post(s)
    ..I wonder if admob is reporting it remotely when you open an interstitial without having your activity running (anymore) .. could be possible

  9. #7
    Senior Member A1ka1inE's Avatar
    Join Date
    Jan 2013
    Posts
    1,893
    Post Thanks / Like
    Mentioned
    89 Post(s)
    Quote Originally Posted by rixchow View Post
    how did google know it was the ads too late to display?
    Could be something covert like @reiti.net suggested, or a user could have reported it.

    In any case, always assume that Google will find out if anything is out of place.

  10. Likes rixchow liked this post
  11. #8
    Newbie
    Join Date
    Jun 2014
    Posts
    3
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Quote Originally Posted by dav800 View Post
    Some people have slow Internet or slow phones. Once they close your app, your ad starts loading. This could take seconds or minutes on some users slow Internet or phones. Once the ad loads it opens. This could be seconds or minutes after the user had closed your app.

    This is most likely the case for you. What you must do is, load the exit ads in onCreate() and on exit check if the ad has not loaded then just exit the app. Otherwise If the ad has loaded then show it and add an ad listener to your ad which listens for when an ad has closed, failed to load, or the user clicked the ad and left the application. If any of these events fire, then exit your app.

    It's too late now but this is for future reference
    that's what I have.

    I have sent an appeal, so let's see

  12. #9
    Senior Member
    Join Date
    Dec 2013
    Location
    Germany
    Posts
    565
    Post Thanks / Like
    Mentioned
    41 Post(s)
    use this code and check every time before showing an ad:

    if (interstitial.isLoaded() && isAppOnForeground(getApplicationContext()) {
    interstitial.show();
    }

    private boolean isAppOnForeground(Context context)
    {
    ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE) ;
    List<RunningAppProcessInfo> appProcesses = activityManager.getRunningAppProcesses();
    if (appProcesses == null)
    {
    return false;
    }
    final String packageName = context.getPackageName();
    for (RunningAppProcessInfo appProcess : appProcesses)
    {
    if (appProcess.importance == RunningAppProcessInfo.IMPORTANCE_FOREGROUND
    && appProcess.processName.equals(packageName))
    {
    return true;
    }
    }
    return false;
    }

  13. #10
    Member
    Join Date
    May 2014
    Posts
    110
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Not sure if this would be relevant or not, but I don't exit my activity until the exit interstitial is dismissed. I have similar code to that posted above to load the interstitial during onCreate. When a user presses back or exit, I check if the ad is loaded. If not, I exit the activity. If the ad is loaded, I display it. I then exit the activity when the interstitial is dismissed by calling activity.exit() from AdListener.onAdClosed().

    I think this means that the ad will always be displayed inside the app, because the app isn't finally closed until the ad is dismissed.

  14. Likes Magnesus liked this post
Page 1 of 2 12 LastLast

Similar Threads

  1. App Suspended at Google Play, Will it affect my Admob?
    By gDev in forum Advertising Networks
    Replies: 9
    Last Post: 2014-06-22, 05:23 PM
  2. Putting "Rate this app" against admob policy?
    By Rasel in forum Off Topic
    Replies: 1
    Last Post: 2014-04-02, 02:56 PM
  3. Republish Suspended App with Same Admob Id?
    By 3mrullah in forum Advertising Networks
    Replies: 1
    Last Post: 2013-12-24, 09:57 PM
  4. App Suspended for Violation of Ad Policy
    By SimpleWorkerZ in forum Advertising Networks
    Replies: 24
    Last Post: 2013-10-05, 03:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •