Ti ringraziamo per la visita. Questa pagina è per il momento disponibile solo in inglese.

IOS CocoaPods Support

Integrating and updating the Mobile Ads SDK just got easier. The Mobile Ads SDK is now available through CocoaPods. CocoaPods is a popular library dependency manager for various Apple OS platforms, including iOS. You can integrate the SDK by adding just a few lines of configuration to your app project's Podfile so it's always on the latest version.

The Amazon Mobile Ads API helps monetize apps and games on Android, iOS, and Fire OS phones and tablets. The network serves highly relevant ads from Amazon and other brand advertisers in the US, Europe, and Japan.

To get started:

  1. Install the CocoaPods command line tool. For information on how to install CocoaPods, follow this link.
  2. Navigate to your iOS application's root directory. The root directory should contain the *.xcodeproj file.
  3. Create a new Podfile with the following text:

    platform :ios, '8.0'
    target 'MyApp' do
       pod 'AmazonAd', '~> 2.2'

    The above Podfile text may differ depending on your application project. If you have an application project using CocoaPods already, simply add the following to your app target:

    pod 'AmazonAd', '~> 2.2'

  4. F rom the command line, execute the command 'pod install'. By executing this command, CocoaPods will integrate the Amazon Ads SDK into the app project automatically.
  5. Your application project should now be configured with the Amazon Ads SDK. Open the project with the *.xcworkspace file in XCode instead of the *.xcodeproj file to begin development.