Skip to content

Commit 43283a4

Browse files
authored
update documentation links, add adapters README (#160)
* update documentation links, add adapters README * add missing closeSlot call
1 parent 2156380 commit 43283a4

File tree

9 files changed

+137
-8
lines changed

9 files changed

+137
-8
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Teads - iOS AdMob Mediation Adapter
2+
> Mediation adapter to be used in conjunction with AdMob to deliver Teads ads on iOS devices.
3+
4+
If you want to display Teads ads in your iOS application through AdMob mediation, you’re at the right place.
5+
6+
## Requirements
7+
8+
- ![Platform: iOS 10+](https://img.shields.io/badge/Platform-iOS%2010%2B-blue.svg?style=flat)
9+
- ![Xcode: 12.5+](https://img.shields.io/badge/Xcode-12.5+-blue.svg?style=flat)
10+
- ![GoogleMobileAdsSDK: 8.0+](https://img.shields.io/badge/GoogleMobileAdsSDK-8.0+-blue.svg?style=flat)
11+
- ![Teads SDK: 5.0.3+](https://img.shields.io/badge/Teads%20SDK-5.0.3+-blue.svg?style=flat)
12+
13+
## Features
14+
15+
- ✅ Displaying Teads banners
16+
- ✅ Displaying Teads native ads
17+
18+
## Installation
19+
20+
Before installing Teads adapter, you need to implement [Google Mobile Ads](https://developers.google.com/admob/ios/quick-start) in your application.
21+
22+
#### CocoaPods
23+
24+
If your project is managing dependencies through [CocoaPods](https://cocoapods.org/), you just need to add this pod in your `Podfile`.
25+
26+
It will install Teads adapter and Teads SDK.
27+
28+
1. Add pod named `TeadsAdMobAdapter` in your Podfile:
29+
30+
```ruby
31+
platform :ios, '10.0'
32+
pod 'TeadsAdMobAdapter', '~> 5.0'
33+
```
34+
35+
2. Run `pod install --repo-update` to install the adapter in your project.
36+
3. Follow the [Define Custom Event](https://support.teads.tv/support/solutions/articles/36000314767-inread-google-ad-manager-and-admob-mediation#defining_a_custom_event) step to finish the integration.
37+
4. You’re done.
38+
39+
## Integration Documentation
40+
41+
Integration instructions are available on [Teads SDK Documentation](https://support.teads.tv/support/solutions/articles/36000314767-inread-google-ad-manager-and-admob-mediation).
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Teads - iOS MoPub Mediation Adapter
2+
> Mediation adapter to be used in conjunction with MoPub to deliver Teads ads on iOS devices.
3+
4+
If you want to display Teads ads in your iOS application through MoPub mediation, you’re at the right place.
5+
6+
## Requirements
7+
8+
- ![Platform: iOS 10+](https://img.shields.io/badge/Platform-iOS%2010%2B-blue.svg?style=flat)
9+
- ![Xcode: 12.5+](https://img.shields.io/badge/Xcode-12.5+-blue.svg?style=flat)
10+
- ![MoPub SDK: 5.13+](https://img.shields.io/badge/MoPub%20SDK-5.13+-blue.svg?style=flat)
11+
- ![Teads SDK: 5.0.3+](https://img.shields.io/badge/Teads%20SDK-5.0.3+-blue.svg?style=flat)
12+
13+
## Features
14+
15+
- ✅ Displaying Teads banners
16+
- ✅ Displaying Teads native ads
17+
18+
## Installation
19+
20+
Before installing Teads adapter, you need to implement [MoPub Ads](https://developers.mopub.com/docs/ios/) in your application.
21+
22+
#### CocoaPods
23+
24+
If your project is managing dependencies through [CocoaPods](https://cocoapods.org/), you just need to add this pod in your `Podfile`.
25+
26+
It will install Teads adapter and Teads SDK.
27+
28+
1. Add pod named `TeadsMoPubAdapter` in your Podfile:
29+
30+
```ruby
31+
platform :ios, '10.0'
32+
pod 'TeadsMoPubAdapter', '~> 5.0'
33+
```
34+
35+
2. Run `pod install --repo-update` to install the adapter in your project.
36+
3. Follow the [Define Custom Event](https://support.teads.tv/support/solutions/articles/36000314769-inread-twitter-mopub-mediation#defining_a_custom_event) step to finish the integration.
37+
4. You’re done.
38+
39+
40+
## Integration Documentation
41+
42+
Integration instructions are available on [Teads SDK Documentation](https://support.teads.tv/support/solutions/articles/36000314769-inread-twitter-mopub-mediation).
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Teads - iOS Smart AdServer Mediation Adapter
2+
> Mediation adapter to be used in conjunction with Smart Ads Server to deliver Teads ads on iOS devices.
3+
4+
If you want to display Teads ads in your iOS application through Smart Ads Server mediation, you’re at the right place.
5+
6+
## Requirements
7+
8+
- ![Platform: iOS 10+](https://img.shields.io/badge/Platform-iOS%2010%2B-blue.svg?style=flat)
9+
- ![Xcode: 12.5+](https://img.shields.io/badge/Xcode-12.5+-blue.svg?style=flat)
10+
- ![SAS SDK: 7.62+](https://img.shields.io/badge/Smart%20AdServer%20SDK-7.62+-blue.svg?style=flat)
11+
- ![Teads SDK: 5.0.3+](https://img.shields.io/badge/Teads%20SDK-5.0.3+-blue.svg?style=flat)
12+
13+
## Features
14+
15+
- ✅ Displaying Teads banners
16+
17+
## Installation
18+
19+
Before installing Teads adapter, you need to implement [Smart Ads Server ](https://documentation.smartadserver.com/displaySDK/ios/gettingstarted.html) in your application.
20+
21+
#### CocoaPods
22+
23+
If your project is managing dependencies through [CocoaPods](https://cocoapods.org/), you just need to add this pod in your `Podfile`.
24+
25+
It will install Teads adapter and Teads SDK.
26+
27+
1. Add pod named `TeadsSASAdapter` in your Podfile:
28+
29+
```ruby
30+
platform :ios, '10.0'
31+
pod 'TeadsSASAdapter', '~> 5.0'
32+
```
33+
34+
2. Run `pod install --repo-update` to install the adapter in your project.
35+
3. Follow the [Define Custom Event](https://support.teads.tv/support/solutions/articles/36000314771-smart-adserver-mediation#defining_a_custom_event) step to finish the integration.
36+
4. You’re done.
37+
38+
39+
## Integration Documentation
40+
41+
Integration instructions are available on [Teads SDK Documentation](https://support.teads.tv/support/solutions/articles/36000314771-smart-adserver-mediation).

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ Integration instructions are available on [Teads SDK Documentation](https://supp
6161
## Migrating from v4 to v5
6262
TeadsSDK v5 introduces some changes regarding v4, see [Migration Documentation](https://support.teads.tv/support/solutions/articles/36000314772-migrating-from-v4-to-v5)
6363

64+
## Mediation Adapters
65+
- [Google AdMob](./MediationAdapters/TeadsAdMobAdapter/README.md)
66+
- [Twitter Mopub](./MediationAdapters/TeadsMoPubAdapter/README.md)
67+
- [Smart AdServer](./MediationAdapters/TeadsSASAdapter/README.md)
68+
6469
## Changelog
6570

6671
See [changelog here](CHANGELOG.md).

TeadsAdMobAdapter.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pod::Spec.new do |s|
77
s.description = <<-DESC
88
Use this adapter to include AdMob as a demand source in your mediation waterfall
99
DESC
10-
s.homepage = 'https://github.com/teads/TeadsSDK-adapter-admob-ios'
11-
s.documentation_url = "https://support.teads.tv/support/solutions/articles/36000166678-google-ad-manager-and-admob-mediation-ios"
10+
s.homepage = 'https://github.com/teads/TeadsSDK-iOS'
11+
s.documentation_url = "https://support.teads.tv/support/solutions/articles/36000314767-inread-google-ad-manager-and-admob-mediation"
1212
s.license = { :type => 'Copyright', :text => 'Copyright Teads 2021' }
1313
s.authors = { 'Teads' => '[email protected]'}
1414

TeadsMoPubAdapter.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pod::Spec.new do |s|
77
s.description = <<-DESC
88
Use this adapter to include MoPub as a demand source in your mediation waterfall
99
DESC
10-
s.homepage = 'https://github.com/teads/TeadsSDK-adapter-mopub-ios'
11-
s.documentation_url = "https://support.teads.tv/support/solutions/articles/36000166728-twitter-mopub-mediation-ios"
10+
s.homepage = 'https://github.com/teads/TeadsSDK-iOS'
11+
s.documentation_url = "https://support.teads.tv/support/solutions/articles/36000314769-inread-twitter-mopub-mediation"
1212
s.license = { :type => 'Copyright', :text => 'Copyright Teads 2021' }
1313
s.authors = { 'Teads' => '[email protected]'}
1414

TeadsSASAdapter.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pod::Spec.new do |s|
77
s.description = <<-DESC
88
Use this adapter to include Teads as a demand source in your mediation waterfall
99
DESC
10-
s.homepage = 'https://github.com/teads/TeadsSDK-adapter-sas-ios'
11-
s.documentation_url = 'https://support.teads.tv/support/solutions/articles/36000256729-smart-ad-mediation-ios'
10+
s.homepage = 'https://github.com/teads/TeadsSDK-iOS'
11+
s.documentation_url = 'https://support.teads.tv/support/solutions/articles/36000314771-smart-adserver-mediation'
1212
s.license = { :type => 'Copyright', :text => 'Copyright Teads 2021' }
1313
s.authors = { 'Teads' => '[email protected]'}
1414

TeadsSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Pod::Spec.new do |s|
77
s.description = <<-DESC
88
Teads allows you to integrate a single SDK into your app, and serve premium branded ads from Teads' SSP.
99
DESC
10-
s.documentation_url = "https://support.teads.tv/support/solutions/articles/36000165909"
10+
s.documentation_url = "https://support.teads.tv/support/solutions/articles/36000314785"
1111
s.ios.deployment_target = "10.0"
1212
s.homepage = "https://github.com/teads/TeadsSDK-iOS"
1313
s.license = { :type => 'Copyright', :text => 'Copyright Teads 2021' }

TeadsSampleApp/Controllers/InRead/Direct/WebView/InReadDirectWebViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ extension InReadDirectWebViewController: TeadsInReadAdPlacementDelegate {
7878
extension InReadDirectWebViewController: TeadsAdDelegate {
7979

8080
func didClose(ad: TeadsAd) {
81-
81+
self.webViewHelper?.closeSlot()
8282
}
8383

8484
func didRecordImpression(ad: TeadsAd) {

0 commit comments

Comments
 (0)