Hello,
With the great help from Erel, I want to post a very short and easy tutorial for showing facebook audience network ads on our iOS apps. This will be a short one as I described every step very detailed with android tutorial.
First things to do are do the procedures 3,4 and 5 as described in android tutorial for the iOS. You choose ios platform instead of android. Create ad units for ios and edit your mediation settings on admob.:
https://www.b4x.com/android/forum/threads/admob-mediation-with-facebook.77605/
After you complete those steps add these lines to b4i region attributes:
(The files are added to hosted builder thanks to Erel) ,
-------
If you are using local mac you can find the FAN framework from facebook sdk and adapter from here:
https://bintray.com/google/mobile-ads-adapters-ios/FacebookAdapter#read
Just navigate to files and download the zip. Extract the framework.
-------
That's all. Facebook ads will start to show after some hours. If you don't have any approved reviews before you have to send the app to review as described in android tutorial sections 7 and 8.
Minimum build version must be 6.0 for FAN ads.
Thanks to Erel for all his help and uploading the files to hosted builder.
Regards
With the great help from Erel, I want to post a very short and easy tutorial for showing facebook audience network ads on our iOS apps. This will be a short one as I described every step very detailed with android tutorial.
First things to do are do the procedures 3,4 and 5 as described in android tutorial for the iOS. You choose ios platform instead of android. Create ad units for ios and edit your mediation settings on admob.:
https://www.b4x.com/android/forum/threads/admob-mediation-with-facebook.77605/
After you complete those steps add these lines to b4i region attributes:
B4X:
#AdditionalLib: FacebookAdapter.framework
#AdditionalLib: FBAudienceNetwork.framework
(The files are added to hosted builder thanks to Erel) ,
-------
If you are using local mac you can find the FAN framework from facebook sdk and adapter from here:
https://bintray.com/google/mobile-ads-adapters-ios/FacebookAdapter#read
Just navigate to files and download the zip. Extract the framework.
-------
That's all. Facebook ads will start to show after some hours. If you don't have any approved reviews before you have to send the app to review as described in android tutorial sections 7 and 8.
Minimum build version must be 6.0 for FAN ads.
Thanks to Erel for all his help and uploading the files to hosted builder.
Regards