No se han encontrado resultados

Prueba una consulta diferente o más específica
Developer Console
Gracias por tu visita. Esta página solo está disponible en inglés.

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:

    # Uncomment the next line to define a global platform for your project
    # platform :ios, '9.0'
    target 'MyApp' do
       pod 'AmazonAd'

    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'

    The above command will look for the latest AmazonAd framework when searching for the artifact. Alternatively, you can specify a particular version to be downloaded such as:

    pod 'AmazonAd', '~> 3.1.0'
  4. From the command line, run 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.