The Yahoo Mobile SDK is available for both Android and iOS platforms.
Android version 4.4 and up (API level 19+)
Build environment with Java 11
Gradle-based build system
Account Setup for Placements
Before you can display ads within your app, you’ll need a Site ID which was provided to you by your Account Manager during onboarding. You may also retrieve your Site ID by logging in to the Yahoo SSP. Please reach out to your Account Manager if you do not have access to the Yahoo SSP or the Site ID. You will need the Site ID before proceeding with the next steps.
Configure Your Project
The Yahoo Mobile SDK is available via this Maven repository for Android and CocoaPods for iOS. Starting with the 1.1.0 release, iOS also supports installation via Swift Package Manager.
If you want to use Swift Package Manager to add the SDK to your project, follow the instructions in the YahooMobileSDK-SwiftPackage README. Otherwise, add the SDK to your project by adding the following lines to your build.gradle or Podfile:
The Yahoo Mobile SDK supports attribution tracking via Apple’s SKAdNetwork framework. This allows Yahoo as well as participating third-party ad buyers to attribute app installs in the absence of the mobile device ID such as IDFA, which was removed due to the App Tracking Transparency introduced in iOS version 14.5.
Update your app’s Info.plist file and add a SKAdNetworkItems key with an additional dictionary that includes Yahoo’s SKAdnetwork ID, as well as our third-party buyers’ SKAdnetwork IDs. An up to date list of our 3rd party buyers is available here. In addition, you will also need to add your app’s App Store ID in YahooAdsSourceAppId key. See example below.
It is recommended, but not required, that the ACCESS_FINE_LOCATION permission is also added to your AndroidManifest.xml so that the Yahoo Mobile SDK can utilize the location data for targeting purposes to provide more relevant demand. See the sample app for examples on how to request permissions from users at runtime.
It is recommended, but not required, that location permissions are requested so that the Yahoo Mobile SDK can utilize location data for targeting purposes to provide more relevant demand. See the link above and the sample app for examples on how to configure your Info.plist and then request permissions from users at runtime.