How to test Facebook Ads conversion for Mobile Apps? - facebook

I have implemented the Facebook SDK and App Events in the mobile app. I have already tested it using Facebook Events Manager. Events are properly reported with no errors.
I want to test it with ads. Is there a way to do it using Ads Preview? We tried it but Ads Reporting is not showing any event against the ads.
Is there any way to test without running an ad campaign?

You can test it using whitehat account. Using it you can add campaigns, adsets and ads in "test" mode. App events work as well.

Related

Unity Admob Showing Mix of Test and Real ads

I am working in Unity 2020.3.13 using the Google Mobile Ads SDK v6.0.1 package running banners, interstitials, and rewarded ads. My Admob account is in fine standing and has other apps showing real ads without issue, and none of the Admob Ids described below were recently created.
In the Unity editor everything shows as a test ad even though I have set the real app ID and Ad Unit IDs from Admob. The problem is that once the app builds in Xcode the banner ads show as real ads, while the rewarded ads show as test ads still. I have double and triple checked the Ad Unit IDs they are all correct. Any ideas why I am seeing real ads for banners but test ads for Rewarded?
Some where in your code you've added your device as a test device or you are testing using emulator.
To verify this use another phone that you did not use before.

Implement facebook pixel flutter

I am trying to integrate Facebook pixel in my ecommerce flutter app to show ads according to customers search behavior but could not get any documentation or library for flutter. How can I integrate facbook pixel in Flutter app?
Facebook Pixel is strictly for webapps, but for native app development, Facebook SDK is required.
Flutter Facebook Login Package will provide you, not only the login but also the required SDK.
Next up, you probably want Facebook_App_Events Package, which is going to help you in sending tracked data to FB, for eg. when a person clicks to watch a video on your app or makes a purchase etc.
An app event is an action that takes place in your app or on your web page such as a person installing your app or completing a purchase. Facebook App Events allows you to track these events to view analytics, measure ad performance, and build audiences for ad targeting.

Does facebook analytics for apps allow me to track mobile app user insights, even without the facebook login?

I'm working on building an IOS/android app and I'm wondering how i can use Facebook Analytics for apps.
There is no social login for the app, but i would like to use in-app events to retarget users of the app as they browse facebook owned platforms, even though they have not used facebook to sign in etc on the IOS/Android app.
Can this be done by implementing the Facebook analytics SDK?
I appreciate that i'm not a developer, so this question may yet prove to be totally misinformed.
Thanks
Facebook Analytics doesn't acquire Facebook login. See: https://developers.facebook.com/docs/analytics/faqs/#faq_529032737286063
You can send app events with Facebook Analytics that you can use to view reports in Facebook Analytics as well as use for tracking conversions from Facebook ads and building remarketing audiences (custom audiences) in Facebook ads.
iOS App Events: https://developers.facebook.com/docs/app-events/getting-started-app-events-ios
Android App Events: https://developers.facebook.com/docs/app-events/getting-started-app-events-android

Using Facebook Audience Network SDK to serve ads in app

I want to serve ads in my game im making using the Facebook Audience Network in this page it says "we will not serve ads to users that have advertising opt-outs enabled in their iOS & Android devices" does this mean no facebook ads will show at all in my app or just not targeted ads ?https://developers.facebook.com/docs/audience-network/faq#
Edit: Previously I wrote that ads will show for non Facebook users but that is wrong. Ads will only show for users which has the native Facebook app installed on their devices. I'm sorry if I mislead you.

AdMob Facebook Mediation in Android

I am unable to mediate between admob and facebook audience network (FAN) in android app. The app is only serving ads from Admob network. The mediation between Admob and FAN is not working. Below is the process I have followed:
Integrated Admob in Android app. This is working fine.
Created a new developer account in facebook.
Added a new app (application id) in facebook.
Added two publishers id in facebook (one for banner and other for interstitial)
Included the adapter jar in the eclipse and added it to build path
Downloaded facebook sdk and added the classes.jar in eclipse. Added this to build path.
Added meta-data for facebook app id in Android Manifest
Project is compiled without any errors
Made proguard changes as per the instruction available at: https://firebase.google.com/docs/admob/android/mediation#include_network_adapters_and_sdks
Added mediation entries in Admob with ecpm 0.01 and 5.00.
When I run the code, I only get test ads from admob. On facebook, i see no ad requests. Till facebook doesn't recieves the ad request, it won't validate the app and ads.
Not sure if I need to make any change to android code. I am using the same code that worked for admob. It is just that I have now included the facebook jars and made changes to manifest file. No change is made to java code files or xml files?
Also, does facebook need activity context in adview request? I have adview defined in XML so I don't knw how to pass the activity context.
The code is driving me crazy.. and there is no single documentation available on how to make admob and FAN work in android code..
Prioritize facebook so the traffic/request will go to facebook instead admob just for testig purposes.
In my case to redirect traffic to facebook I set admob floor eCPM to $50 so it won't be served and surely it will try facebook since you configured it in the mediation stack.
NOTE: DO not use test ads on admob when doing above. Use real ads just don't click on it.
Here's what I did: For Facebook to validate your app, deactivate the mediation in your code and try loading just a Facebook ad instead as they show on their how-to-page. Once you see the ad from Facebook the status of your App turns to "validating". For me after like 3-4 hours it changed to "ready".
To get the Facebook ads delivered to your device, you need to have Facebook app installed and logged-in at least once. Do the following:
Install the Facebook app on your phone
Log in to the Facebook app with the same account from which you are requesting the ads
Now open your own app and request the ads from Facebook. If your integration is fine, you should get the ads.