We have integreated Facebook Mobile App Ads for Installs SDK into our iOS and Android app.
Code for iOS:
Facebook SDK 3.5 (inside function applicationDidBecomeActive)
[FBSettings publishInstall:#"APP_ID"];
Code for Android:
Facebook SDK 3.5 (inside onResume())
com.facebook.AppEventsLogger.activateApp( MyActivity.this, getString( R.string.fb_app_id ) );
Clicks are being reported correctly, but not installs. For the iOS it is OK, but Android shows nothing in Actions column inside Campaign monitor https://www.facebook.com/ads/manage/.
We have checked settings of Facebook app and both Android and iOS have last install date correct on the dashboard in section "Last mobile install reported" (usually 10-20 minutes earlier). It seems like Android just does not show data in the Actions column. I can not estimate cost per action for this app which is very important when planning budget for ads.
There was an error on Facebook side. Now everything works as expected.
Related
In numeral 4 at https://developers.facebook.com/docs/app-ads/sdk#install-tracking ("Enable Install Tracking"), they say "To enable install tracking call the App Events logger once your application becomes active.". However, I implemented the following line successfully, but it does not seem to be tracking installs:
AppEventsLogger.activateApp(this);
In the Facebook Analytics for Apps reports, I see that the activateApp() method is "App Launches"/, not "App Installs". How can I track installs in Facebook Analytics?
In the SDK >= 4.19 we simplified the track of installs (New Users metric) and activate app (App Launches metric). One should just make sure ApplicationManifest.xml is correctly configured and simply bundle our Android SDK to the App. The SDK will be auto initialized and both install event and activate app will be sent.
More details can be found here:
https://developers.facebook.com/docs/app-events/automatic-event-collection-detail
We've just finished integrating Google AppInvites into our app.
We've noticed the following issues:
Emails are not being sent and SMS's that are sent, are sent with a link that says yields a 404 page. The above issues occur only if I set our "setOtherPlatformsTargetApplication" for Android and iOS, using their clientId's.
Android:
719104993890-lclfrqti11lulpvg18tbbbuv6bah54gh.apps.googleusercontent.com
iOS:
719104993890-fq3npmoqmp7mi9839fhv6ajj8jespkot.apps.googleusercontent.com
Within the app, I'm getting back from Google invite ID's. If I remove the "setOtherPlatformsTargetApplication" then the emails and SMS's go out just fine, with the issue that when opened on an iOS device, it takes them to the Android PlayStore and not the Apple AppStore.
On Phones with a SIM card, there is text being overlaid (white text, light gray background) over our "Custom Image" that says "email only", and I can't seem to find a way to remove the overlaid text.
The app has been uploaded to the PlayStore under the "Beta" release group, still with no success.
Any ideas? #lmoroney
You should only specify the iOS client id using setOtherPlatformTargetApplication() from android, and only the android clientId from iOS. The target app to be installed on the same (the senders) platform has to be the exact same app that is sending the invitation which is already identified by package name(android), or bundle Id(iOS), although you can specify an upgraded version using setAndroidMinimumVersionCode(). Unfortunately calling the api and specifying the android client id from android will cause the invitation to fail as you've seen.
This should also resolve the second issue, as long as you specify the iOS app then it will redirect all iOS receivers to the AppStore, and of course android users to the Play Store. As a side note, if the project that includes your android app clientId only has a single iOS app, then the matching iOS app is unambiguous so you can omit specifying the iOS clientId. In your case, your project must have more than one iOS client specified so you are required to disambiguate by setting the target application in the api.
I hope that helps.
I am integrating with the Facebook Android SDK so that I can correlate app installs with the Facebook Ads that we are running.
I've followed the instructions carefully and I've confirmed that my events are getting logged to Facebook. I've also used JD-GUI to confirm that obfuscation isn't happening on the Facebook classes.
The weird thing is that all my "App Installs" events show an "App Version" of "Unknown" (this screenshot shows me filtering for "App Installs" events):
This might be benign (I'm still investigating), but does anybody know the cause? Thanks!
I'm running a pay-per-install campaign on iOS an Android. The iOS installs seem to be tracking on the app dashboard, but no Android installs are being reported (there are installs though).
I'm trying to confirm reporting as described here.
You can confirm that the volume of installs is being correctly reported in the Insights section for your app in the App Dashboard under "Mobile App Installs". In addition, in the App Summary Page, after choosing your app, there is a time stamp 'Last Mobile Install Reported" for iOS and Android so that you can confirm that an install is being reported (see image below).
I'm calling AppEventsLogger.activateApp(getActivity(), getString(R.string.fb_app_id)); in my activities as instructed.
I also have the proguard lines to keep the SDK working.
Is there something else I'm missing? Is this a bug on Facebook's end?
It looks like misleading info in the documentation. Tracking was working. Real users are showing up on the dashboard, but my own devices were not.
as subject,
I want to track Android App install, but I want to track any install and not just from mobile Ads. My question, is it possible?
One particular question is: If I run the development version of my app that in theory, is integrated with Facebook SDK, straight from IDE into an emulator, will I see it reflected in "Last Mobile Install" stats in my dashboard? Because apparently, it didn't. If it's not, is there any way to do this in a debug environment in order to confirm whether I'm using Facebook SDK correctly or not?
For reference, I'm calling this line in my onResume() method:
com.facebook.AppEventsLogger.activateApp(this, getString(R.string.facebook_application_id);
Thanks.
Update: So it's probably not a proper question. I concluded that Facebook recorded mobile installs from Android app based on its attributionId. If this value is null, such as if there's no Facebook app or it's not logged in, the mobile installs is simply not recorded. I think.