Skip to content

Commit 7dab2cb

Browse files
Merge pull request #265 from teads/update-sampleApp-for-prebid
Added Prebid to SampleApp
2 parents b778e10 + e207353 commit 7dab2cb

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Teads - iOS Prebid Plugin Renderer
2+
3+
> Mediation adapter to be used in conjunction with Prebid to deliver Teads ads on iOS devices.
4+
5+
If you want to display Teads ads in your iOS application through Prebid SDK mediation, you’re at the right place.
6+
7+
## Requirements
8+
9+
- ![Platform: iOS 10+](https://img.shields.io/badge/Platform-iOS%2010%2B-blue.svg?style=flat)
10+
- ![Xcode: 12.5+](https://img.shields.io/badge/Xcode-12.5+-blue.svg?style=flat)
11+
- ![Prebid SDK: 3.0.2+](https://img.shields.io/badge/PrebidMobile-3.0.2+-blue.svg?style=flat)
12+
- ![Teads SDK: 5.4.0+](https://img.shields.io/badge/Teads%20SDK-5.4.0+-blue.svg?style=flat)
13+
14+
## Features
15+
16+
- ✅ Displaying Teads inRead ads
17+
18+
## Installation
19+
20+
Before installing Teads adapter, you need to implement [Prebid](https://docs.prebid.org/prebid-mobile/pbm-api/ios/code-integration-ios.html) 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 `TeadsPluginRenderer` in your Podfile:
29+
30+
```ruby
31+
platform :ios, '10.0'
32+
pod 'TeadsPluginRenderer', '~> 5.1'
33+
```
34+
35+
2. Run `pod install --repo-update` to install the adapter in your project.step to finish the integration.
36+
3. You’re done.

TeadsPBMPluginRenderer.podspec

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Pod::Spec.new do |s|
2+
3+
s.name = 'TeadsPrebidPlugin'
4+
s.version = '5.3.0'
5+
s.summary = "PrebidMobile Plugin renderer for Teads' iOS SDK"
6+
s.module_name = 'TeadsPrebidPlugin'
7+
s.description = <<-DESC
8+
Use this plugin to request and render Teads demand source in your PrebidMobile integration
9+
DESC
10+
s.homepage = 'https://github.com/teads/TeadsSDK-iOS'
11+
s.documentation_url = "https://support.teads.tv/support/solutions/articles/36000459748"
12+
s.license = { :type => 'Copyright', :text => 'Copyright Teads 2021' }
13+
s.authors = { 'Teads' => '[email protected]'}
14+
15+
s.source = { :git => 'https://github.com/teads/TeadsSDK-iOS.git', :tag => "#{s.version}" }
16+
s.platform = 'ios'
17+
s.ios.deployment_target = '12.0'
18+
s.static_framework = true
19+
s.requires_arc = true
20+
s.source_files = ['MediationAdapters/TeadsPluginRenderer/**/*{.swift}', 'MediationAdapters/Common/*{.swift}']
21+
s.exclude_files = []
22+
s.dependency 'TeadsSDK', s.version.to_s
23+
s.dependency 'PrebidMobile', '>= 3.0.2'
24+
25+
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
26+
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
27+
end

0 commit comments

Comments
 (0)