firebase / quickstart-unity

Firebase Quickstart Samples for Unity
https://firebase.google.com/games
Apache License 2.0
835 stars 433 forks source link

Firebase Analytics and Google Ads not reporting campaign events #1187

Closed dioniguerra closed 2 years ago

dioniguerra commented 2 years ago

[REQUIRED] Please fill in the following fields:

Hi,

We have recently integrated Firebase SDK into our apps. However, we have an outstanding issue where as Google Ads campaigns are not showing at all on the Google Ads side, nor we see campaign events in the Firebase analytics dashboard.

We are hoping you can help us troubleshoot this issue from the Firebase SDK integration side.

Simple overview of our integration as follow:

Since we work in the kids space, as per Apple guidelines, we cannot use any frameworks where the IDFA is exposed, so we integrate Firebase Analytics using

pod 'Firebase/AnalyticsWithoutAdIdSupport'

We enable data collection as per documentation, as follow

[FIRAnalytics setAnalyticsCollectionEnabled:YES];

Also, it is worth noting we do not embed the AdSupport.framework for the same reason. Saying that, we expect attribution for Google Ad campaign still work, as per your recommendation, via SKAdNetwork. Given your documentation SKAdNetwork should be automatically enabled, as per this configuration in my Info.plist file:

GOOGLE_ANALYTICS_REGISTRATION_WITH_AD_NETWORK_ENABLED YES

However, there is no way for me to verify this on my end. Perhaps we can start there?

Bellow is a copy of my Unity iOS Pod file for your reference:


platform :ios, '11.0'

target 'UnityFramework' do
  pod 'Firebase/AnalyticsWithoutAdIdSupport', '8.6.0'
  pod 'Firebase/DynamicLinks', '8.6.0'
  pod 'Firebase/InAppMessaging'
  pod 'Firebase/Messaging', '8.6.0'
  pod 'Firebase/RemoteConfig', '8.6.0'
end
paulinon commented 2 years ago

Hi @dioniguerra,

Upon analysis, it appears that you would like to confirm how the backend behaves while handling your Google Ad campaigns. For issues like this, you may reach out to Firebase Support where a support agent can help you out. That being said, I'll be closing this for now.