Teads allows you to integrate a single SDK into your app, and serve premium branded "outstream" video ads from Teads SSP ad server. This sample app includes Teads iOS framework and is showing integration examples.
- Integration Documentation
- Migrating from v4 to v5
- Run the sample app
- Installation
- Mediation Adapters
- Certifications
- Changelog
- Integration instructions are available on Teads SDK Documentation.
- Framework API documentation is available here
TeadsSDK v5 introduces some changes regarding v4, see Migration Documentation
Clone this repository, open it with Xcode, and run project.
To install the TeadsSDK just put this on your podfile, if you've never used cocoapods before please check the offical documentation.
pod 'TeadsSDK', '~> 5.0'
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-update
Before installing Teads adapter, you need to implement Google Mobile Ads in your application.
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.
- 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 Version
and keep5.0.0 < 6.0.0
. - Choose the Teads product that you want to be installed in your app:
TeadsSDK
- Add it to the
dependencies
of yourPackage.swift
:
dependencies: [
.package(url: "https://github.com/teads/TeadsSDK-iOS", .upToNextMajor(from: "5.0.0"))
]
- in any target that depends on a Teads product, add it to the
dependencies
array of that target:
.target(
name: "MyTargetName",
dependencies: [
// The product(s) you want (e.g. TeadsSDK).
.product(name: "TeadsSDK", package: "Teads"),
]
),
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.
See changelog here.
Integration instructions are available on Teads SDK Documentation.