I'm trying to implement native ads from Facebook in my app. I put the code exactly like Facebook said, and it works. But only if the app was installed via xCode. If the app is installed via Test Flight the ads never appears.
Any ideas?
My Audience Network permission is enable, as well as my ad placement
I know, this question is already answered. I am adding information to help someone looking for explanation.
Test Flight rotates through a pool of IDFA's and hides the users true IDFA, making it difficult to identify a Facebook user – and that is required for delivering an ad.
I have facing this problem when using Testflight beta testing, I switch to Fabric beta testing and the facebook native ad shows.
Just put the app on app store and will be fine.
Remember to uncheck the "Limit Ad Tracking" in the device settings.
https://developers.facebook.com/docs/audience-network/faq#a12
I had an issue similar to this so I used one of my tickets to open a chat with someone at apple via members center. They advised me to give the app 24-48 hours of being live for iAds to work correctly on all devices. They said that Xcode should always display iAds but other methods of deploying iAds may be a bit behind.
Related
I'm using Facebook SDK version 4.5.1 in my application. The APP ID, URL scheme, App display name etc have been incorporated into the info.plist correctly. We have Authentication as well as Share features inside the app all of which are working perfectly as expected. For Event tracking we have;
- (void)applicationDidBecomeActive:(UIApplication *)application{
[FBSDKAppEvents activateApp];
}
I can confirm that analytics is working seeing the Dashboard, i.e Installs and App events are getting reported correctly.
But when I run an Ad Campaign I would expect the SDK to correctly report the Mobile Installs but unfortunately I don't see any of that data coming in, i.e Mobile App Ad Installs are showing "0" installs.
An interesting thing to note here - when Checking with Facebook's App Ad Helper, It seems to show the "Last iOS Install" data on the top correctly but interestingly enough the second row i.e "Installs over the last 7 days" seems to show an "X".
Here's a screenshot of the same
But here's the screenshot which confirms that installs are getting reported.
Facebook is tracking organic install now. I also faced similar situation and i came across the concept of organic app install tracking.
Just install the app on a fresh device (which was not used with my application earlier). You will be able to see the install in the facebook dashboard after few minutes.
Thats all!
Hope this helps
I managed to get this working eventually. Haven't got the confirmation officially from Facebook dev team on this but it turned out that the "Advanced settings" section in the App Facebook Setting has an "Collect the Apple Advertising Identifier (IDFA) with App Events" switch which was turned Off for our App. The App was created a pretty long time back and this had to be turned On.
Although the description below it seems to suggest that this might not have been the real reason behind the issue, I can confirm that installs started reporting once we had this turned ON.
You must have the iPhone Facebook App installed for their analytics to work.
I had the exact same symptoms, and after installing the FB app it worked. Seems really like they're bypassing sandboxing somehow, but there you go.
I am using google Admob for my iOS app. I tested my app on real device and simulator. The ads was showed with the Test banner. However, after I submit to App Store for review. They said:
We found that your app uses the iOS Advertising Identifier but does not include ad functionality.
What should I do now?
Please check few thing with your code -
Are you using latest version of Google SDK.
Are you configure your app with Google ADmob ?
If above all question is alright , then please check again once more time with your app , if you can see ads on test mode then take screenshot and contact with apple reviewer.
I'm updating my app and although iAds are still not being served to my app due to its recent approval, the test ads aren't showing anymore in xCode. Will the test advertisements disappear after approval even in the simulator?
Ok so i talked to developer support on the phone and got the answer and the problem has actually been solved today. Once your app is accepted, iAd most likely will not be implemented immediately; and contrary to popular belief this does effect how it shows on your xCode testing as well. Its been about 24 hours since it was accepted and iAd just appeared. So hopefully that can help someone in the future.
iAds are only shown if there are iAds available to be shown. Apple has to sell ads to make them available. I rarely see iAds in my apps. My guess is that there are more people displaying iAds than have been sold.
I use ad AdMob aggregator to show both iAds and Google Ads. Makes beer money that way at least.
He has a thread going in the Apple developer forums as well:
https://devforums.apple.com/message/939808#939808
iAds will show test ads in a debug build on occasion (based on a setting). In the simulator or a test device, you can go into Settings - Developer - and change the Fill Rate or other settings as appropriate if you want to test always or never getting an ad. By default, it's around 50% or so.
Having your app released in the store has nothing to do with the test ads that get displayed in the debug builds not from the store.
So, the issue is most likely a bug in the code if ads, not even test ones, never appear.
Hello guys I have a problem as stated in the question. In Italy the iAd network is available but iAds are not showing when I download my app from the App Store. In the test emulator it was working fine. It is an iPhone only app. What might be the problem?
I am aware of the duplicate question:
iAd not showing on Device after releasing application on App Store, but I am sure that iAd is available in Italy.
Thanks.
Actually Ads appeared after one day. I don't know, but this was the first time I used them on an app, so I received in iTunes Connect a message that iAds were activated after one day. Maybe this helps anyone else who has this issue.
iAd may not be displayed on your device if there is no Ad available to display targeting your device and your type of application. Even if iAd is available, there may be no advertisers that chose to launch ads that corresponds to your app
I've integreated Facebook SDK, and put the code [FBSettings publishInstall:YOUR_APP_ID]; in, and it worked all right with return value true.
I'm testing it using ad hoc distribution, for some reason the field Last Mobile Install Reported is not showing up. And the Facebook app summary page I got seems to be different to other people.
My question is:
Do I need to release the app to Apple store first, then download it via Facebook Ad in order for 'Last Mobile Install Reported' to show up?
My guess is that since I installed the app as Ad Hoc to my device, not via Facebook, so that 'Last Mobile Install Reported' didn't work. It is fair enough if that is the case, as I expect Facebook to charge me only when people download and install the app via Facebook Ads. But I'm not sure if my guess is all right or not. Can anyone clarify how facebook mobile app install ads works?
I've read through https://developers.facebook.com/docs/tutorials/mobile-app-ads/ already btw.
Any help would be appreciated.
I know I'm a little late to answer this but maybe this will help someone else. I just ran my first ad campaign on fb for my app and tracked installs.
First, the way you test if your app has the fb framework installed correctly and reporting installs is:
Look for the "fb_mobile_activate_app" event to show up in fb in the App Dashboard -> Insights -> App Events -> Overview. It should show up within a minute of the app opening.
Your app does not have to be released. I was getting install data from the simulator.
FB tracks all opens and if that same user clicked on one of your ads within the last 28 days it counts it as an install.
Your app do not have to be Released to see that feature. We have seen stats even for our development status app.
Last Mobile Install Reported works for non Facebook Ads related installs as well. They basically take in any installs .
It seems like you already have a Mobile Install Reported value in place. I don't think it would report a duplicated device if you set up the Info.plist correctly as instructed in the article below. Under "Advanced steps for mobile measurement", go to step 2.
https://developers.facebook.com/docs/tutorials/mobile-app-ads/
There is a "trick" to seeing your installs.
Yes, you can test "App Installs" on the Simulator or on your device...BUT...you might not see them on the Facebook Dashboard.
Instead, first go to the INSIGHTS tab reached from the left menu on the App Dashboard.
You may see App Installs here - but you might not.
Second, if you don't see any live data for App Installs, look at the section called "APP LAUNCHES." That can be used as a surrogate indicator that your app is working.
Third, if you don't see live data for "App Launches" - look at the date range. Change the date range to extend to TOMORROW's date. Give Facebook 1-2 minutes to update with your data. At that point, now you can see that live App Launches are occurring - and thus will know that your connection to FB is working.