Skip to content

Commit

Permalink
Merge pull request prebid#141 from monetization/v2.28.0-yahoo
Browse files Browse the repository at this point in the history
* New Adapter: MeloZen (prebid#3784)

* taboola-support-app-in-prebid-server (prebid#3795)

* OwnAdx: Bidder param and URL updates (prebid#3813)

Co-authored-by: Hina Yadav <[email protected]>

* Use format=prebid on adserver requests. (prebid#3846)

* New Module: 51Degrees (prebid#3650)

Co-authored-by: James Rosewell <[email protected]>
Co-authored-by: Marin Miletic <[email protected]>
Co-authored-by: Sarana-Anna <[email protected]>
Co-authored-by: Eugene Dorfman <[email protected]>
Co-authored-by: Krasilchuk Yaroslav <[email protected]>

* ADTS-455 remove video validations (prebid#3842)

authored by @gg-natalia

* Update Vidazoo bidder info for GPP support (prebid#3869)

* declare support for ORTB 2.6 (prebid#3872)

authored by @bretg

* new adapter (prebid#3833)

authored by @Pubrise

* Fix currency conversion bug. (prebid#3867)

Co-authored-by: ddubyk <[email protected]>

* freewheel-adapter: support 2.6 (prebid#3873)

* Update mobilefuse.yaml to indicate support for OpenRTB 2.6 and GPP (prebid#3871)

* specifies ortb 2.6 support (prebid#3) (prebid#3876)

* PulsePoint: ortb 2.6 version and gpp support (prebid#3874)

authored by @anand-venkatraman

* Revert "New Module: 51Degrees (prebid#3650)" (prebid#3888)

This reverts commit 2606e75.

---------

Co-authored-by: benben2001 <[email protected]>
Co-authored-by: ahmadlob <[email protected]>
Co-authored-by: ownAdx <[email protected]>
Co-authored-by: Hina Yadav <[email protected]>
Co-authored-by: Antonios Sarhanis <[email protected]>
Co-authored-by: James Rosewell <[email protected]>
Co-authored-by: Marin Miletic <[email protected]>
Co-authored-by: Sarana-Anna <[email protected]>
Co-authored-by: Eugene Dorfman <[email protected]>
Co-authored-by: Krasilchuk Yaroslav <[email protected]>
Co-authored-by: gg-natalia <[email protected]>
Co-authored-by: Saar Amrani <[email protected]>
Co-authored-by: bretg <[email protected]>
Co-authored-by: Pubrise <[email protected]>
Co-authored-by: Dubyk Danylo <[email protected]>
Co-authored-by: ddubyk <[email protected]>
Co-authored-by: mwang-sticky <[email protected]>
Co-authored-by: dtbarne <[email protected]>
Co-authored-by: Nick Llerandi <[email protected]>
Co-authored-by: Anand Venkatraman <[email protected]>
Co-authored-by: Brian Sardo <[email protected]>
  • Loading branch information
22 people authored and GitHub Enterprise committed Oct 4, 2024
2 parents baf9e51 + 296c68e commit 903f685
Show file tree
Hide file tree
Showing 78 changed files with 3,453 additions and 157 deletions.
2 changes: 1 addition & 1 deletion adapters/adnuntius/adnuntius.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func makeEndpointUrl(ortbRequest openrtb2.BidRequest, a *adapter, noCookies bool
}

q.Set("tzo", fmt.Sprint(tzo))
q.Set("format", "json")
q.Set("format", "prebid")

url := endpointUrl + "?" + q.Encode()
return url, nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://gdpr.url?consentString=CONSENT_STRING&format=json&gdpr=1&tzo=0",
"uri": "http://gdpr.url?consentString=CONSENT_STRING&format=prebid&gdpr=1&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&noCookies=true&tzo=0",
"uri": "http://whatever.url?format=prebid&noCookies=true&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&noCookies=true&tzo=0",
"uri": "http://whatever.url?format=prebid&noCookies=true&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
}
]
},

"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down Expand Up @@ -159,6 +159,6 @@
],
"currency": "NOK"
}

]
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
}
]
},

"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Mobile Safari/537.36"
]
},
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
4 changes: 2 additions & 2 deletions adapters/adnuntius/adnuntiustest/supplemental/site-ext.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down Expand Up @@ -111,4 +111,4 @@
"currency": "NOK"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&noCookies=true&tzo=0",
"uri": "http://whatever.url?format=prebid&noCookies=true&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
10 changes: 5 additions & 5 deletions adapters/adnuntius/adnuntiustest/supplemental/user-ext.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"user": {
"ext":{
"eids" : [
{
"source": "idProvider",
{
"source": "idProvider",
"uids": [
{ "id": "userId", "atype": 1, "ext": { "stype": "ppuid" } }
]
]
}
]
}
Expand Down Expand Up @@ -39,7 +39,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down Expand Up @@ -110,4 +110,4 @@
"currency": "NOK"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"httpCalls": [
{
"expectedRequest": {
"uri": "http://whatever.url?format=json&tzo=0",
"uri": "http://whatever.url?format=prebid&tzo=0",
"body": {
"adUnits": [
{
Expand Down
15 changes: 1 addition & 14 deletions adapters/gumgum/gumgum.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,8 @@ func preprocess(imp *openrtb2.Imp) (*openrtb_ext.ExtImpGumGum, error) {
}

if imp.Video != nil {
err := validateVideoParams(imp.Video)
if err != nil {
return nil, err
}

if gumgumExt.IrisID != "" {
var err error
videoCopy := *imp.Video
videoExt := openrtb_ext.ExtImpGumGumVideo{IrisID: gumgumExt.IrisID}
videoCopy.Ext, err = json.Marshal(&videoExt)
Expand Down Expand Up @@ -221,15 +217,6 @@ func getMediaTypeForImpID(impID string, imps []openrtb2.Imp) openrtb_ext.BidType
return openrtb_ext.BidTypeVideo
}

func validateVideoParams(video *openrtb2.Video) (err error) {
if video.W == nil || *video.W == 0 || video.H == nil || *video.H == 0 || video.MinDuration == 0 || video.MaxDuration == 0 || video.Placement == 0 || video.Linearity == 0 {
return &errortypes.BadInput{
Message: "Invalid or missing video field(s)",
}
}
return nil
}

// Builder builds a new instance of the GumGum adapter for the given bidder with the given config.
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter, server config.Server) (adapters.Bidder, error) {
bidder := &adapter{
Expand Down
36 changes: 0 additions & 36 deletions adapters/gumgum/gumgumtest/supplemental/missing-video-params.json

This file was deleted.

35 changes: 0 additions & 35 deletions adapters/gumgum/gumgumtest/supplemental/video-missing-size.json

This file was deleted.

Loading

0 comments on commit 903f685

Please sign in to comment.