cordova-plugin-facebookads icon indicating copy to clipboard operation
cordova-plugin-facebookads copied to clipboard

Notice of Violation of Facebook Audience Network Policy

Open vietnux opened this issue 7 years ago • 9 comments

2.1 Accidental Clicks: Your app was found to be in violation of Audience Network Policy 2.1 which states: "Don’t place ads where people are likely to accidentally click (ex: placing ads where people randomly click or place their fingers, such as near buttons)."

You can find tips, examples and illustrations to help fix this violation on our developer front end (https://developers.facebook.com/docs/audience-network/policy/example-2-1) and the Audience Network Help Center (https://www.facebook.com/help/audiencenetwork/458763194322213). Further tips to consider in order to avoid unintentional clicks include:

  • Only making the advertiser assets, such as the call to action (CTA), clickable when creating native ads
  • Not making "whitespace" clickable for native ads
  • Ensuring ads are clearly distinguishable from other content within your app
  • Not placing ads where people click or place their fingers, such as near game buttons
  • Avoiding ads which pop up abruptly when people are clicking and engaging with your app
  • Not showing an ad when people are attempting to exit an app (ex: a full screen ad triggered after a person attempts to exit)

As a result of these violations we have disabled ad serving to your Placement.

Compliance with the Facebook Audience Network Policy is required to ensure a quality and brand-safe environment for Facebook’s advertisers. Additional information on ad placement policies can be found in the Policies and the Implementation Requirements for Audience Network Ads (https://developers.facebook.com/docs/audience-network/guidelines/native-ads).

vietnux avatar Feb 23 '18 01:02 vietnux

I have the same problem for native ads. I think the problem is "Not making "whitespace" clickable for native ads" Facebook wants for native ads that just CTA button must be clickable. But this plugin makes all the native ad area clickable. How can we disable white spaces in the native ad not clickable ? @floatinghotpot

halkoy avatar Feb 26 '18 06:02 halkoy

@halkoy you need to send the coordinates for the button when calling FacebookAds.setNativeAdClickArea (and not for all ad area as in the example code)

tiagoabelha avatar Mar 22 '18 17:03 tiagoabelha

@tiagoabelha hii, thnx for you reply. I can not find that how can I find the button coordinates because I can not get the button id Do you have an example for that?

halkoy avatar Mar 23 '18 04:03 halkoy

I have a similar problem, but they tell me that I have a violation of Audience Network Policy 4.2, I only use interstitial ads, I couldn't find the problem.

asperduti avatar Apr 05 '18 01:04 asperduti

My problem is function updateClickArea of tool very bag. I fixed its and running ok

`function updateClickArea(){ if (nativeId != null) { // change the click area var offset = $("#nativead").offset(); var y = offset.top - $(window).scrollTop(); var x = offset.left - $(window).scrollLeft(); var w = $("#nativead").width(); var h = $("#nativead").height();

    //Adjust based on stuff like headers and footers
    var yNEW = 0;
    var hNEW = 0;

    var topHeaderHeight = $('.app-bar').height(); //height menu top or other
    var windowHeight = $(window).height();
    var footerHeight = $('#menu').height(); //height menu bottom or other

    if( y<=topHeaderHeight ) {
        yNEW = topHeaderHeight;
        hNEW = h - ( topHeaderHeight - y );
    } else if( offset.top+h > ( windowHeight - footerHeight ) ) {
        yNEW = y;
        hNEW = (windowHeight - footerHeight) - offset.top;
    } else {
        yNEW = y;
        hNEW = h;
    }
    // hNEW = 100;
    if(FacebookAds) FacebookAds.setNativeAdClickArea(nativeId, x, yNEW, w, hNEW);
    // if(FacebookAds) FacebookAds.setNativeAdClickArea(nativeId, x, y, w, h);
}

}`

vietnux avatar Apr 05 '18 01:04 vietnux

I also received the same problem. But the issue is, my project is in unity and there's no code to specifically assign click area for interstitial ads. Do you have any other solution for this?

pranavt07 avatar Jan 03 '19 07:01 pranavt07

I also received the same problem. But the issue is, my project is in unity and there's no code to specifically assign click area for interstitial ads. Do you have any other solution for this?

I fixed its also comment and it run very good

vietnux avatar Jan 03 '19 09:01 vietnux

How do you correct the completion? I have the same problem.

qaz1243qaz avatar Jan 05 '19 04:01 qaz1243qaz

I have a similar problem, but they tell me that I have a violation of Audience Network Policy 4.2, I only use interstitial ads, I couldn't find the problem.

How did you solve it?

maxakash avatar Dec 20 '20 04:12 maxakash