You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<#your_ad_container_view#>.addSubview(trackerView)// See TeadsAdOpportunityTrackerView documentation for more information
135
135
}
136
136
137
137
}
138
138
```
139
139
140
-
#### adOpportunityTrackerView
140
+
#### TeadsAdOpportunityTrackerView
141
141
142
-
The adOpportunityTrackerViewis a view that you will need to add to your slot view. You should add it inthe origin of your slot (x: 0, y: 0)
143
-
Its function isto 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/).
144
144
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.
**Note:if you don't use your own ad slot you can add it directly to your teadsAdView.**
154
157
158
+
155
159
### Implement the TeadsAdDelegate
156
160
157
161
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