Skip to content

Commit

Permalink
add a few changes to fit our old changes on fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Araknyfe committed Mar 20, 2024
1 parent b2bc4bc commit 31d95db
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
8 changes: 3 additions & 5 deletions native1/response/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ type Asset struct {
// Scope:
// optional
// Type:
// int
// Default:
// 0
// interface
// Description:
// Set to 1 if asset is required. (bidder requires it to be displayed).
Required int8 `json:"required,omitempty"`
// Updated from int to interface{} because some bidder set a boolean like `Rubicon`
Required interface{} `json:"required,omitempty"`

// Field:
// title
Expand Down
11 changes: 11 additions & 0 deletions native1/response/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ type Link struct {
// List of third-party tracker URLs to be fired on click of the URL.
ClickTrackers []string `json:"clicktrackers,omitempty"`

// Field:
// clickTrackers
// Scope:
// optional
// Type:
// string array
// Description:
// List of third-party tracker URLs to be fired on click of the URL.
// Fallback because we has a typo in the Prebid Bid Adapter
FallbackClickTrackers []string `json:"clickTrackers,omitempty"`

// Field:
// fallback
// Scope:
Expand Down
8 changes: 8 additions & 0 deletions openrtb2/site.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ type Site struct {
// ‘keywords’ or ‘kwarray’ may be present.
Keywords string `json:"keywords,omitempty"`

// Attribute:
// blocklists
// Type:
// string array
// Description:
// Array of blocklist use for Rubicon
Blocklists []string `json:"blocklists,omitempty"`

// Attribute:
// kwarray
// Type:
Expand Down

0 comments on commit 31d95db

Please sign in to comment.