Skip to content

Commit 0fc8533

Browse files
Update README
1 parent 0845bfe commit 0fc8533

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,21 @@ extension <#YOURViewController#>: TeadsInReadAdPlacementDelegate {
131131
}
132132

133133
func adOpportunityTrackerView(trackerView: TeadsAdOpportunityTrackerView) {
134-
<#your_ad_container_view#>.addSubview(trackerView)
134+
<#your_ad_container_view#>.addSubview(trackerView) // See TeadsAdOpportunityTrackerView documentation for more information
135135
}
136136

137137
}
138138
```
139139

140-
#### adOpportunityTrackerView
140+
#### TeadsAdOpportunityTrackerView
141141

142-
The adOpportunityTrackerView is a view that you will need to add to your slot view. You should add it in the origin of your slot (x: 0, y: 0)
143-
Its function is to monitor the inventory.
142+
The `TeadsAdOpportunityTrackerView` is a view that you will need to add to your slot view *(e.g. the view where you will display the ad)*.
143+
This view will be provided during the ad request process and will allow Teads to monitor precisely ad opportunities on [**Teads for Publisher**](https://publishers.teads.tv/).
144144

145-
Once the TeadsAdOpportunityTrackerView is visible, it will automatically removed.
145+
You should add it where the ad will be displayed, even if you don't received an ad from our SDK.
146+
This view needs to be at the origin of your ad slot `(x:0, y:0)`.
147+
148+
Once the `TeadsAdOpportunityTrackerView` is visible, it will be automatically removed by the SDK.
146149

147150
```swift
148151
func adOpportunityTrackerView(trackerView: TeadsAdOpportunityTrackerView) {
@@ -152,6 +155,7 @@ func adOpportunityTrackerView(trackerView: TeadsAdOpportunityTrackerView) {
152155

153156
**Note: if you don't use your own ad slot you can add it directly to your teadsAdView.**
154157

158+
155159
### Implement the TeadsAdDelegate
156160

157161
The TeadsAdDelegate has 5 methods that you need to implement. It is responsible for following the lifecycle of an ad, the impression, when the user taps on it when an ad it shows and even when the user closes the ad.

0 commit comments

Comments
 (0)