Skip to content

Commit 0e9b234

Browse files
authored
Use format=prebid on adserver requests. (#3846)
1 parent 4d64623 commit 0e9b234

21 files changed

+29
-29
lines changed

adapters/adnuntius/adnuntius.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func makeEndpointUrl(ortbRequest openrtb2.BidRequest, a *adapter, noCookies bool
162162
}
163163

164164
q.Set("tzo", fmt.Sprint(tzo))
165-
q.Set("format", "json")
165+
q.Set("format", "prebid")
166166

167167
url := endpointUrl + "?" + q.Encode()
168168
return url, nil

adapters/adnuntius/adnuntiustest/exemplary/simple-banner.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"httpCalls": [
3232
{
3333
"expectedRequest": {
34-
"uri": "http://whatever.url?format=json&tzo=0",
34+
"uri": "http://whatever.url?format=prebid&tzo=0",
3535
"body": {
3636
"adUnits": [
3737
{

adapters/adnuntius/adnuntiustest/supplemental/check-dealId.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"httpCalls": [
3232
{
3333
"expectedRequest": {
34-
"uri": "http://whatever.url?format=json&tzo=0",
34+
"uri": "http://whatever.url?format=prebid&tzo=0",
3535
"body": {
3636
"adUnits": [
3737
{

adapters/adnuntius/adnuntiustest/supplemental/check-gdpr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"httpCalls": [
3939
{
4040
"expectedRequest": {
41-
"uri": "http://gdpr.url?consentString=CONSENT_STRING&format=json&gdpr=1&tzo=0",
41+
"uri": "http://gdpr.url?consentString=CONSENT_STRING&format=prebid&gdpr=1&tzo=0",
4242
"body": {
4343
"adUnits": [
4444
{

adapters/adnuntius/adnuntiustest/supplemental/check-gross-bids.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"httpCalls": [
3232
{
3333
"expectedRequest": {
34-
"uri": "http://whatever.url?format=json&tzo=0",
34+
"uri": "http://whatever.url?format=prebid&tzo=0",
3535
"body": {
3636
"adUnits": [
3737
{

adapters/adnuntius/adnuntiustest/supplemental/check-net-bids.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"httpCalls": [
3232
{
3333
"expectedRequest": {
34-
"uri": "http://whatever.url?format=json&tzo=0",
34+
"uri": "http://whatever.url?format=prebid&tzo=0",
3535
"body": {
3636
"adUnits": [
3737
{

adapters/adnuntius/adnuntiustest/supplemental/check-noCookies-parameter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"httpCalls": [
3232
{
3333
"expectedRequest": {
34-
"uri": "http://whatever.url?format=json&noCookies=true&tzo=0",
34+
"uri": "http://whatever.url?format=prebid&noCookies=true&tzo=0",
3535
"body": {
3636
"adUnits": [
3737
{

adapters/adnuntius/adnuntiustest/supplemental/check-noCookies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"httpCalls": [
3636
{
3737
"expectedRequest": {
38-
"uri": "http://whatever.url?format=json&noCookies=true&tzo=0",
38+
"uri": "http://whatever.url?format=prebid&noCookies=true&tzo=0",
3939
"body": {
4040
"adUnits": [
4141
{

adapters/adnuntius/adnuntiustest/supplemental/check-order-multi-imp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@
4747
}
4848
]
4949
},
50-
50+
5151
"httpCalls": [
5252
{
5353
"expectedRequest": {
54-
"uri": "http://whatever.url?format=json&tzo=0",
54+
"uri": "http://whatever.url?format=prebid&tzo=0",
5555
"body": {
5656
"adUnits": [
5757
{
@@ -159,6 +159,6 @@
159159
],
160160
"currency": "NOK"
161161
}
162-
162+
163163
]
164164
}

adapters/adnuntius/adnuntiustest/supplemental/check-userId.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"httpCalls": [
3131
{
3232
"expectedRequest": {
33-
"uri": "http://whatever.url?format=json&tzo=0",
33+
"uri": "http://whatever.url?format=prebid&tzo=0",
3434
"body": {
3535
"adUnits": [
3636
{

0 commit comments

Comments
 (0)