Teads SDK provides seamless access to both premium video advertising and content recommendation capabilities through a modern, unified interface. This sample app includes Teads iOS framework and demonstrates integration examples for Media Placements (video ads), Native Ads, and Feed Placements (content recommendations).
π Table of Contents
- Integration Documentation
- Migrating to v6
- Run the sample app
- Installation
- Mediation Adapters
- Certifications
- Changelog
π Integration Documentation
- Integration instructions are available on Teads Developer Portal.
- Installation guide is available here.
- Full integration guide is available here.
π Migrating to v6
TeadsSDK v6 introduces a new unified createPlacement API. See Migration Documentation for details.
π² Run the sample app
Clone this repository, open it with Xcode, and run project.
π¦ Install the Teads SDK iOS framework
Cocoapods
To install the TeadsSDK just put this on your podfile, if you've never used cocoapods before please check the offical documentation.
pod 'TeadsSDK', '~> 6.0.5'
On your terminal, go to the directory containing your project's .xcodeproj file and your Podfile and run pod install command. This will install Teads SDK along with our needed dependencies.
pod install --repo-updateBefore installing Teads adapter, you need to implement Google Mobile Ads in your application.
Swift Package Manager
SPM is a tool for managing the distribution of Swift code. Itβs integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
Installing from Xcode
- Add a package by selecting
FileβAdd Packagesβ¦in Xcodeβs menu bar. - Search for the Teads iOS SDK using the repo's URL:
https://github.com/teads/TeadsSDK-iOS- Next, set the Dependency Rule to be
Up to Next Major Versionand keep6.0.0 < 7.0.0. - Choose the Teads product that you want to be installed in your app:
TeadsSDK
Alternatively, add Teads to your Package.swift manifest
- Add it to the
dependenciesof yourPackage.swift:
dependencies: [ .package(url: "https://github.com/teads/TeadsSDK-iOS", .upToNextMajor(from: "6.0.0")) ]
- in any target that depends on a Teads product, add it to the
dependenciesarray of that target:
.target( name: "MyTargetName", dependencies: [ // The product(s) you want (e.g. TeadsSDK). .product(name: "TeadsSDK", package: "Teads"), ] ),
π€ Mediation Adapters
π Certifications
Teads SDK supports the IAB Open Measurement SDK, also known as OM SDK. The OM SDK brings transparency to the advertising world, giving a way to standardize the viewability and verification measurement for the ads served through mobile apps. Teads is part of the IAB's compliant companies.
βοΈ Changelog
See changelog here or check the Release Notes.
