WSDOT / wsdot-ios-app

Source code for the WSDOT iOS application
GNU General Public License v3.0
10 stars 4 forks source link

Confirm we are using latest Google Mobile Ads SDK for iOS (for Ad Manager) #220

Closed waynedyck closed 3 years ago

waynedyck commented 3 years ago

Confirm we are using version 8.5.0 or later as those are built to drive key performance improvements.

Apple’s App Tracking Transparency (ATT) policy requires developers to ask for permission when they use certain information from other companies’ apps and websites for advertising purposes.

These changes will reduce visibility into key metrics that show how ads drive conversions (like app installs and sales) and will affect how advertisers value and bid on ad impressions. As such, app publishers may see a significant impact to their Google ad revenue on iOS with Apple’s ATT policies taking effect.

waynedyck commented 3 years ago

According to the Podfile.lock file it looks like we are using Google-Mobile-Ads-SDK (7.69.0)

waynedyck commented 3 years ago

Latest version of the Google Mobile Ads SDK is 8.7.0

waynedyck commented 3 years ago

Log file confirms we are using, afma-sdk-i-v7.69.0

waynedyck commented 3 years ago

Our current Google-Mobile-Ads-SDK is installed as part of the Firebase/AdMob installation and, because of the logical operators, is currently limited to version 7.69.0

  - Firebase/AdMob (7.3.0):
    - Firebase/CoreOnly
    - Google-Mobile-Ads-SDK (~> 7.66)

Attempting to force an install of the latest version by adding, pod 'Google-Mobile-Ads-SDK', '~> 8.7.0' to the Podfile results in this error message:

[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
  In Podfile:
    Firebase/AdMob was resolved to 7.3.0, which depends on
      Google-Mobile-Ads-SDK (~> 7.66)

    Google-Mobile-Ads-SDK (~> 8.7.0)

Need to look at what has changed with the Firebase installation and see about updating the Google-Mobile-Ads-SDK through it.

waynedyck commented 3 years ago

Reading the Add Firebase to your iOS project documentation to determine what has changed since we initially added Firebase to the app,

The Firebase iOS library Firebase/Core is no longer needed. This SDK included the Firebase SDK for Google Analytics.

Now, to use Analytics or any Firebase product that recommends the use of Analytics (see table below), you need to explicitly add the Analytics pod: Firebase/Analytics.

and the Firebase/Admob pod has been explicitly replaced with the Google-Mobile-Ads-SDK pod.

waynedyck commented 3 years ago

The Prepare for SDK v8 has information on changes as well as some renames and removals of APIs. The Class renames section is super helpful.