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
Copy file name to clipboardExpand all lines: _includes/mobile/adunit-config-android.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,24 @@ adUnit.setImpOrtbConfig("")
30
30
#### setAutoRefreshPeriodMillis
31
31
{:.no_toc}
32
32
33
+
{: .alert.alert-warning :}
34
+
Starting from PrebidMobile `3.0.0` the `setAutoRefreshPeriodMillis` method is removed. Use the `setAutoRefreshInterval` method instead.
35
+
33
36
If set on a given Prebid Mobile ad unit, the `fetchDemand` function will be called every `periodMillis` until `stopAutoRefresh` is called. Each call to `fetchDemand` will invoke the `onComplete` function. This refresh only pertains to Prebid Mobile and not to any ad server refresh processes. It is suggested that the adServers refresh be turned off.
34
37
35
38
**Parameters**
36
39
37
40
-`periodMillis`: Integer defining the refresh time in milliseconds.
38
41
42
+
#### setAutoRefreshInterval
43
+
{:.no_toc}
44
+
45
+
If set on a given Prebid Mobile ad unit, the `fetchDemand` function will be called every `periodMillis` until `stopAutoRefresh` is called. Each call to `fetchDemand` will invoke the `onComplete` function. This refresh only pertains to Prebid Mobile and not to any ad server refresh processes. It is suggested that the adServers refresh be turned off.
46
+
47
+
**Parameters**
48
+
49
+
-`seconds`: Integer defining the refresh time in seconds.
**NOTE**: The SDK support only `seatbid[].bid[].burl` as impression tracking URL for now.
93
+
**NOTE**: The SDK support only `seatbid[].bid[].burl` as impression tracking URL for now.
94
+
95
+
### SKAdNetwork
96
+
97
+
The SDK supports two SKAdNetwork methods for ad networks to deliver ads in a bidding-only scenario, specifically for **banner** and **native** ad formats:
98
+
99
+
- View-through ads
100
+
- StoreKit-rendered ads
101
+
102
+
Both methods are automatically enabled for the **native** ad format, with no additional configuration required. The support of view-through ads is also automatically enabled for the **banner** ad format. However, in order to activate StoreKit-rendered ads flow, you must call a method appropriate to the case:
103
+
104
+
`BannerAdUnit`:
105
+
106
+
```swift
107
+
let gamBanner =GAMBannerView(adSize: GADAdSizeFromCGSize(AD_SIZE))
Copy file name to clipboardExpand all lines: _includes/mobile/video-params.md
+37-2Lines changed: 37 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,11 @@ The [OpenRTB 2.6](https://iabtechlab.com/wp-content/uploads/2022/04/OpenRTB-2-6_
17
17
Notes:
18
18
-`PrebidAdUnit`, `VideoInterstitialAdUnit` and `RewardedVideoAdUnit` will default to placement=5 if no placement value is supplied.
19
19
20
-
#### plcmnt
20
+
{: .alert.alert-warning :}
21
+
Starting from PrebidMobile `3.0.0` the class `VideoInterstitialAdUnit` is removed.
22
+
23
+
#### plcmt
24
+
21
25
{:.no_toc}
22
26
23
27
The [OpenRTB v2.6-202303](https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--plcmt-subtypes---video-) Placement Type for the auction can be expressed as an integer or you can use an enum for easier readability.
@@ -28,7 +32,10 @@ The [OpenRTB v2.6-202303](https://github.com/InteractiveAdvertisingBureau/AdCOM/
28
32
-`4` or `NoContent` or `Standalone` : Video ads that are played without streaming video content. This can be in placements like slideshows, native feeds, in-content or sticky/floating.
29
33
30
34
Notes:
31
-
-`PrebidAdUnit`, `VideoInterstitialAdUnit` and `RewardedVideoAdUnit` will default to plcmnt=3 if no placement value is supplied.
35
+
-`PrebidAdUnit`, `VideoInterstitialAdUnit` and `RewardedVideoAdUnit` will default to plcmt=3 if no placement value is supplied.
36
+
37
+
{: .alert.alert-warning :}
38
+
Starting from PrebidMobile `3.0.0` the class `VideoInterstitialAdUnit` is removed.
32
39
33
40
#### api
34
41
{:.no_toc}
@@ -93,3 +100,31 @@ Array of OpenRTB 2.6 playback methods. If none are specified, any method may be
93
100
-`6` or `Signals.Protocols.VAST_3_0_Wrapper` : VAST 3.0 Wrapper
94
101
-`7` or `Signals.Protocols.VAST_4_0` : VAST 4.0
95
102
-`8` or `Signals.Protocols.VAST_4_0_Wrapper` : VAST 4.0 Wrapper
103
+
104
+
#### battr
105
+
{:.no_toc}
106
+
107
+
Array or enum of OpenRTB 2.6 blocked creative attributes. Values can be one of:
108
+
109
+
-`1` or `Signals.CreativeAttribute.AudioAd_Autoplay` : Audio Ad (Autoplay)
110
+
-`2` or `Signals.CreativeAttribute.AudioAd_UserInitiated` : Audio Ad (User Initiated)
111
+
-`3` or `Signals.CreativeAttribute.Expandable_Automatic` : Expandable (Automatic)
112
+
-`4` or `Signals.CreativeAttribute.Expandable_Click` : Expandable (User Initiated - Click)
113
+
-`5` or `Signals.CreativeAttribute.Expandable_Rollover` : Expandable (User Initiated - Rollover)
114
+
-`6` or `Signals.CreativeAttribute.InBanner_Autoplay` : In-Banner Video Ad (Autoplay)
115
+
-`7` or `Signals.CreativeAttribute.InBanner_UserInitiated` : In-Banner Video Ad (User Initiated)
116
+
-`8` or `Signals.CreativeAttribute.Pop` : Pop (e.g., Over, Under, or Upon Exit)
117
+
-`9` or `Signals.CreativeAttribute.Provocative` or `Signals.CreativeAttribute.SuggestiveImagery` : Provocative or Suggestive Imagery
118
+
-`10` or `Signals.CreativeAttribute.Shaky`, `Signals.CreativeAttribute.Flashing`, `Signals.CreativeAttribute.Flickering`, `Signals.CreativeAttribute.ExtremeAnimation` or `Signals.CreativeAttribute.Smileys` : Shaky, Flashing, Flickering, Extreme Animation, Smileys
119
+
-`11` or `Signals.CreativeAttribute.Surveys` : Surveys
120
+
-`12` or `Signals.CreativeAttribute.TextOnly` : Text Only
121
+
-`13` or `Signals.CreativeAttribute.UserInteractive` : User Interactive (e.g., Embedded Games)
122
+
-`14` or `Signals.CreativeAttribute.WindowsDialog` or `Signals.CreativeAttribute.AlertStyle` : Windows Dialog or Alert Style
123
+
-`15` or `Signals.CreativeAttribute.AudioButton` : Has Audio On/Off Button
124
+
-`16` or `Signals.CreativeAttribute.SkipButton` : Ad Provides Skip Button (e.g. VPAID-rendered skip button on pre-roll video)
125
+
-`17` or `Signals.CreativeAttribute.AdobeFlash` : Adobe Flash
126
+
127
+
#### isSkippable
128
+
{:.no_toc}
129
+
130
+
Boolean representing the OpenRTB 2.6 video ad skippability.
0 commit comments