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

Facebook native ad problem

Open halkoy opened this issue 6 years ago • 1 comments

Facebook blocked my native ad because they said that at my native ad format the white spaces are clickable "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 ? Did anyone got code for this ?

halkoy avatar Jul 10 '18 15:07 halkoy

As everything inside the web view is not NATIVE, the plugin is emulating a native ad.

Read the docs, you will see an API: setNativeAdClickArea(adId,x,y,w,h);

Find the area of the button, then call this API to see the click area.

floatinghotpot avatar Jul 11 '18 15:07 floatinghotpot