facebook-audience-network

How to make the Facebook ads live?

蓝咒 提交于 2020-01-23 11:28:06
问题 I have added Facebook audience network in my iOS App for native ads integration. Everything is working fine but there are only testing ads. I have added testDeviceKey for displaying ads if I try to remove this then no ads are displaying that is also making me confused. My code is - @implementation AdFeedsView FBNativeAd *nativeAd; static NSString *adPlacementId = @"xxxxxxxxx"; - (void)showNativeAd:(UIViewController *)vc { nativeAd = [[FBNativeAd alloc] initWithPlacementID:adPlacementId];

facebook audience network testing on test flight No Fill

主宰稳场 提交于 2020-01-07 02:39:11
问题 testing our app when running on xcode is good and we can see ads even without test mode (device hash), so we can see live ads. Everything is setup fine, but when we test the app on test flight, It's always returning a log of "No Fill".. :S, We have logged in the facebook native app, Limit ads tracking is disabled.. What do you think is still the problem? Is it required from facebook that the app is live on apple store? Thank you very much!.. 回答1: The issue is in TestFlight. By design,

Facebook Native Ads in RycyclerView android

本秂侑毒 提交于 2020-01-01 03:26:06
问题 I found similar issue Facebook Native ads in recycler view android , but had some problems with integration with Custom Ad. For the first I tried to describe NativeAdsManager : @Override public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); manager = new NativeAdsManager(getActivity(), "892769720837476_892772047503910", 5); manager.setListener(this); manager.loadAds(); nativeAd = new NativeAd(getActivity(), "892769720837476

Facebook Native Ads FBNativeAdsManagerDelegate implementation methods did not called

痞子三分冷 提交于 2019-12-23 07:55:48
问题 FBNativeAdsManagerDelegate in Facebook Native Ads working properly in UIViewController class but when used in custom NSObject class its not working i.e. its delegate methods nativeAdsLoaded and nativeAdsFailedToLoadWithError did not get called. CustomFBAd.h file @import FBAudienceNetwork; #import <Foundation/Foundation.h> @protocol OnFBNativeAdLoadedDelegate<NSObject> - (void)onFBNativeAdLoaded:(UIView *)adView; @end @interface CustomFBAd : NSObject @property (nonatomic,weak) id

Facebook Audience Network Proguard settings

爷,独闯天下 提交于 2019-12-23 07:40:20
问题 I'm currently using Proguard in my app, and the Audience Network is not working. I need some different configuration, rather than the usual: -keep class com.facebook.** { *; } The problem is the integration guide doesn't refer any kind of Proguard configuration. Does someone already faced this problem and figured out what is missing? 回答1: I need some different configuration, rather than the usual: -keep class com.facebook.** { *; } You need to use -keep class com.facebook.ads.** { *; }

Xcode 8.2.1 - Error: Invalid bitcode version (Producer: '802.0.41.0_0' Reader: '800.0.42.1_0')

柔情痞子 提交于 2019-12-22 05:00:30
问题 I'm trying to implement the new Facebook Audience Network iOS SDK v4.22.0, but when I compile the project I get the following error: error: Invalid bitcode version (Producer: '802.0.41.0_0' Reader: '800.0.42.1_0') clang: error: linker command failed with exit code 1 (use -v to see invocation) I also got this error with the iOS SDK v4.21.1, but not with the v4.20.0. I'm using Xcode 8.2.1 and Objective-C, and the bitcode option in Build Settings is set to No . Here is the Facebook Audience

ios Facebook add FBNativeAdView as Subview

大城市里の小女人 提交于 2019-12-21 10:16:24
问题 I want to use prebuilt view from FBNativeAdView (don't want to customize FBNative Ad).As given in the link The FBNativeAdView creates prebuilt native ad template views and manages native ads. And I did Changed NativeAdSample example given in Facebook SDK.And add FBNativeAdView as a subview of mainView(adUIView). -(void) nativeAdDidLoad: (FBNativeAd * ) nativeAd { NSLog(@"Native ad was loaded, constructing native UI..."); if (self._nativeAd) { [self._nativeAd unregisterView]; } self._nativeAd

react-native with expo problem with facebook ads

ぃ、小莉子 提交于 2019-12-12 18:26:28
问题 I have error when try to display Interstitial from fb: The SDK version in the ad request is no longer supported for new apps. Please upgrade to one of the latest versions of the SDK. Do you have info if it will be fixed (updated fb sdk) in expo 32 release? When will be expo 32 release? UPDATE 2019.01.10 : I found this answer, but it works only with ExpoKit but i dont want detach from expo. 来源: https://stackoverflow.com/questions/53836535/react-native-with-expo-problem-with-facebook-ads

DFP ads - Setting up Facebook Audience mediation for interstitial ads (AdUnit + LineItem + creative)

Deadly 提交于 2019-12-12 04:08:29
问题 Im trying to setup the DFP side of FBA interstitial mediation, i.e. create the necessary AdUnit + LineItem + creative. I didn't find any example for FBA. When I choose "interstitial" as the adsize, I can not choose mediation for the creative: I've already successfuly set up my client app (Android + iOS) for Facebook Audience ad mediation. 回答1: Well, there is no tutorial for FBA, but I've found this tutorial for VPON that seems to be applicable for FBA as well: http://vpon-sdk.github.io

Facebook Audience Network Frequent Load Error

微笑、不失礼 提交于 2019-12-11 14:38:37
问题 Firstly let me show you my implementation of FBNativeAd: func getNativeAd() { self.FBnativeAd = FBNativeAd(placementID: PLACEMENT_ID) self.FBnativeAd.delegate = self self.FBnativeAd.loadAd() } override func viewDidLoad() { super.viewDidLoad() func nativeAdDidLoad(nativeAd: FBNativeAd!) { if ((self.FBnativeAd) != nil) { self.FBnativeAd.unregisterView() } self.FBnativeAd = nativeAd println(nativeAd.title) } With this code I always have the error : "Frequent Load". But it is working when I am in