Skip to main content

Equativ mediation

This article shows you how to deliver Teads interstitial ads in your application through the Equativ Display SDK 8 mediation adapter, TeadsEquativAdapter.


Replaces the Smart AdServer (v7) adapter

TeadsEquativAdapter targets Equativ Display SDK 8. It supersedes TeadsSASAdapter, which targets the deprecated Smart Display SDK 7 and is documented in Smart AdServer mediation.

Install one adapter, not both

TeadsEquativAdapter and TeadsSASAdapter cannot be installed in the same target. Both Equativ SDK generations ship a framework named SASDisplayKit, so a target that links both pods fails to build with a duplicate-module error.

Prerequisites​

  • Platform: iOS 14+
  • Equativ Display SDK: 8.6+
  • The Teads inApp SDK 6.3.0+. The adapter requires the same version as TeadsSDK.

Supported formats​

FormatSupported
Interstitial✅
Media / Native❌ — use direct integration. The Smart AdServer (v7) adapter still serves these formats, but it is deprecated.

Installation​

Before installing the Teads adapter, integrate Equativ Display SDK 8 into your application.

CocoaPods​

CocoaPods Trunk stopped accepting new pod versions on December 2, 2026, so the adapter is not published there. Install it from the Teads public repository, pinned to a release tag. List TeadsSDK next to it with the same tag: the adapter requires the same version of it. The Equativ Display SDK still comes from CocoaPods as a dependency.

platform :ios, '14.0'
pod 'TeadsSDK', :git => 'https://github.com/teads/TeadsSDK-iOS.git', :tag => '6.3.0'
pod 'TeadsEquativAdapter', :git => 'https://github.com/teads/TeadsSDK-iOS.git', :tag => '6.3.0'

Then run pod install. To upgrade, change the tag on both lines; version ranges such as ~> 6.3 don't work with :git.

Swift Package Manager​

  1. In Xcode, select File → Add Packages….
  2. Search for the Teads iOS SDK using the repo's URL:
https://github.com/teads/TeadsSDK-iOS
  1. Set the Dependency Rule to Up to Next Major Version from 6.3.0.
  2. Choose the TeadsEquativAdapter product, along with TeadsSDK. Both come from the same package, so their versions always match.
Add the Equativ SDK yourself

With Swift Package Manager the adapter is a prebuilt binary that does not bring in the Equativ Display SDK. Add Equativ Display SDK 8.6+ to your project separately.

Equativ console setup​

Create an In-App Mediation Custom Adapter insertion in the Equativ console:

FieldValue
SDK NameTeads
Format TypeInterstitial
Adapter ClassTeadsEquativInterstitialAdapter
Placement InfoJSON string (see below)

The Equativ SDK instantiates the adapter by this class name, so it must be typed exactly as shown.

Placement Info​

The Placement Info field takes a JSON string. It uses the same keys as the AdMob adapter:

FieldTypeRequiredDescription
articleUrlStringYesURL of the article where the ad will be displayed
widgetIdStringYesWidget identifier provided by Teads
installationKeyStringYesInstallation key for your app, provided by Teads
pbfDoubleNoFloor price in US dollars (decimals allowed, e.g. 0.5). Forwarded to the auction as the placement floor price.

For testing, use:

{"articleUrl":"https://mobile-demo.outbrain.com","widgetId":"INT_APP_1","installationKey":"NANOWDGT01"}
Production parameters

For production, your articleUrl, widgetId, and installationKey will be unique values provided by your product manager. Contact your local account manager to obtain your production parameters.

Do not copy a v7 insertion

A Display SDK 8 insertion cannot be copied from a v7 (TeadsSASAdapter) one. The Placement Info payload is a different format.

Integration​

You do not reference TeadsEquativInterstitialAdapter in your code. Load and show the interstitial with the Equativ SDK as usual; Equativ calls the adapter when the insertion is served.

import SASDisplayKit
import TeadsEquativAdapter // Links the adapter so Equativ can find it by class name

final class ArticleViewController: UIViewController {
private var interstitialManager: SASInterstitialManager?

func loadInterstitial() {
if !SASConfiguration.shared.configured {
SASConfiguration.shared.configure()
}

let placement = SASAdPlacement(siteId: YOUR_SITE_ID, pageId: YOUR_PAGE_ID, formatId: YOUR_FORMAT_ID)
let manager = SASInterstitialManager(adPlacement: placement)
manager.delegate = self
interstitialManager = manager
manager.loadAd()
}

func showInterstitial() {
interstitialManager?.show(from: self)
}
}

extension ArticleViewController: SASInterstitialManagerDelegate {
func interstitialManager(_ manager: SASInterstitialManager, didLoadWith adInfo: SASAdInfo) {
// Ready to show
}

func interstitialManager(_ manager: SASInterstitialManager, didFailToLoad error: any Error) {
// No fill or error
}

func interstitialManagerDidClose(_ manager: SASInterstitialManager) {
interstitialManager = nil
}
}
Keep the import

Without import TeadsEquativAdapter somewhere in your app, the linker can drop the adapter and Equativ will not find the class named in the insertion.

Mediation settings​

This adapter reads only the Placement Info JSON (articleUrl, widgetId, installationKey and pbf). TeadsAdapterSettings and other placement settings have no effect. See Settings Configuration — Interstitial (Equativ Mediation).

Checklist​


Pro tip

Test the insertion end to end on a device before going live. The adapter class is resolved by name at runtime, so a typo in the Adapter Class field or a missing import TeadsEquativAdapter only shows up when the ad is requested, not at build time.