-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathrefsettings.go
43 lines (37 loc) · 1.11 KB
/
refsettings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package openrtb2
import (
"encoding/json"
"github.com/prebid/openrtb/v20/adcom1"
)
// Object: RefSettings
//
// Information on how often and what triggers an ad slot being refreshed.
type RefSettings struct {
// Attribute:
// reftype
// Type:
// integer; default 0; recommended
// Description:
// The type of the declared auto refresh.
// Refer to List: Auto Refresh Triggers in AdCOM 1.0
RefType adcom1.AutoRefreshTrigger `json:"reftype,omitempty"`
// Attribute:
// minint
// Type:
// integer; recommended
// Description:
// The minimum refresh interval in seconds. This applies to all
// refresh types. This is the (uninterrupted) time the ad creative
// will be rendered before refreshing to the next creative. If
// the field is absent, the exposure time is unknown. This field
// does not account for viewability or external factors such as a
// user leaving a page.
MinInt int `json:"minint,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Placeholder for vendor specific extensions to this object.
Ext json.RawMessage `json:"ext,omitempty"`
}