Skip to content

Commit

Permalink
OTT-48 VAST Bidder Phase 1 (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-viral-vala authored and pm-nilesh-chate committed Jan 12, 2022
1 parent 34ad982 commit d5a5870
Show file tree
Hide file tree
Showing 36 changed files with 5,518 additions and 46 deletions.
8 changes: 7 additions & 1 deletion adapters/bidder.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,14 @@ type ResponseData struct {
Headers http.Header
}

type BidRequestParams struct {
ImpIndex int
VASTTagIndex int
}

// RequestData packages together the fields needed to make an http.Request.
type RequestData struct {
Params *BidRequestParams
Method string
Uri string
Body []byte
Expand All @@ -132,7 +138,7 @@ type ExtImpBidder struct {
//
// Bidder implementations may safely assume that this JSON has been validated by their
// static/bidder-params/{bidder}.json file.
Bidder json.RawMessage `json:"bidder"`
Bidder json.RawMessage `json:"bidder"`
}

func (r *RequestData) SetBasicAuth(username string, password string) {
Expand Down
Loading

0 comments on commit d5a5870

Please sign in to comment.