diff --git a/adapters/yieldlab/yieldlab.go b/adapters/yieldlab/yieldlab.go index 7ffafc25d50..a241c5d386e 100644 --- a/adapters/yieldlab/yieldlab.go +++ b/adapters/yieldlab/yieldlab.go @@ -86,7 +86,7 @@ func (a *YieldlabAdapter) makeEndpointURL(req *openrtb2.BidRequest, params *open q.Set("gdpr", gdpr) } if consent != "" { - q.Set("consent", consent) + q.Set("gdpr_consent", consent) } if req.Source != nil && req.Source.Ext != nil { @@ -448,7 +448,7 @@ func (a *YieldlabAdapter) makeAdSourceURL(req *openrtb2.BidRequest, ext *openrtb gdpr, consent, err := a.getGDPR(req) if err == nil && gdpr != "" && consent != "" { val.Set("gdpr", gdpr) - val.Set("consent", consent) + val.Set("gdpr_consent", consent) } return fmt.Sprintf(adSourceURL, ext.AdslotID, ext.SupplyID, res.Adsize, val.Encode()) diff --git a/adapters/yieldlab/yieldlabtest/exemplary/dsa.json b/adapters/yieldlab/yieldlabtest/exemplary/dsa.json index 283f2ff813b..d8a9759b038 100644 --- a/adapters/yieldlab/yieldlabtest/exemplary/dsa.json +++ b/adapters/yieldlab/yieldlabtest/exemplary/dsa.json @@ -97,7 +97,7 @@ "169.254.13.37" ] }, - "uri": "https://ad.yieldlab.net/testing/12345?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&content=json&dsadatatopub=2&dsapubrender=0&dsarequired=3&dsatransparency=platform1domain.com~1~~SSP2domain.com~1_2&gdpr=1&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", + "uri": "https://ad.yieldlab.net/testing/12345?content=json&dsadatatopub=2&dsapubrender=0&dsarequired=3&dsatransparency=platform1domain.com~1~~SSP2domain.com~1_2&gdpr=1&gdpr_consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", "impIDs": ["test-imp-id"] }, "mockResponse": { @@ -137,7 +137,7 @@ "bids": [ { "bid": { - "adm": "", + "adm": "", "crid": "12345123433", "dealid": "1234", "ext": { diff --git a/adapters/yieldlab/yieldlabtest/exemplary/gdpr.json b/adapters/yieldlab/yieldlabtest/exemplary/gdpr.json index 31f3ca39bab..25d90caf4fa 100644 --- a/adapters/yieldlab/yieldlabtest/exemplary/gdpr.json +++ b/adapters/yieldlab/yieldlabtest/exemplary/gdpr.json @@ -77,7 +77,7 @@ "169.254.13.37" ] }, - "uri": "https://ad.yieldlab.net/testing/12345?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&content=json&gdpr=1&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", + "uri": "https://ad.yieldlab.net/testing/12345?content=json&gdpr=1&gdpr_consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", "impIDs":["test-imp-id"] }, "mockResponse": { @@ -102,7 +102,7 @@ "bids": [ { "bid": { - "adm": "", + "adm": "", "crid": "12345123433", "dealid": "1234", "id": "12345", diff --git a/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty.json b/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty.json index 8be11178121..021339019a7 100644 --- a/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty.json +++ b/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty.json @@ -79,7 +79,7 @@ "169.254.13.37" ] }, - "uri": "https://ad.yieldlab.net/testing/12345?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&content=json&gdpr=1&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", + "uri": "https://ad.yieldlab.net/testing/12345?content=json&gdpr=1&gdpr_consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", "impIDs": ["test-imp-id"] }, "mockResponse": { @@ -107,7 +107,7 @@ "bids": [ { "bid": { - "adm": "", + "adm": "", "crid": "12345123433", "dealid": "1234", "ext": { diff --git a/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty_transparency.json b/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty_transparency.json index a240105fb90..6c2b0780c35 100644 --- a/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty_transparency.json +++ b/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty_transparency.json @@ -83,7 +83,7 @@ "169.254.13.37" ] }, - "uri": "https://ad.yieldlab.net/testing/12345?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&content=json&gdpr=1&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", + "uri": "https://ad.yieldlab.net/testing/12345?content=json&gdpr=1&gdpr_consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", "impIDs": ["test-imp-id"] }, "mockResponse": { @@ -115,7 +115,7 @@ "bids": [ { "bid": { - "adm": "", + "adm": "", "crid": "12345123433", "dealid": "1234", "ext": {