Skip to content

Commit

Permalink
Change usersync type in configuration files of bidders (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriyPavlyuk authored Sep 22, 2020
1 parent f643658 commit ed1cb76
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/bidder-config/advangelists.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ adapters:
url: https://nep.advangelists.com/xp/user-sync?acctid={aid}&&redirect=
redirect-url: /setuid?bidder=advangelists&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid=$UID
cookie-family-name: advangelists
type: redirect
type: iframe
support-cors: false
2 changes: 1 addition & 1 deletion src/main/resources/bidder-config/emxdigital.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ adapters:
url: https://cs.emxdgt.com/um?ssp=pbs&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&redirect=
redirect-url: /setuid?bidder=emx_digital&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid=$UID
cookie-family-name: emx_digital
type: redirect
type: iframe
support-cors: false
2 changes: 1 addition & 1 deletion src/main/resources/bidder-config/engagebdr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ adapters:
url: https://match.bnmla.com/usersync/s2s_sync?gdpr={{gdpr}}&gdpr_consent={gdpr_consent}}&us_privacy={{us_privacy}}&r=
redirect-url: /setuid?bidder=visx&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid={UUID}
cookie-family-name: engagebdr
type: redirect
type: iframe
support-cors: false
2 changes: 1 addition & 1 deletion src/main/resources/bidder-config/gamma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ adapters:
url:
redirect-url:
cookie-family-name: gamma
type: redirect
type: iframe
support-cors: false
2 changes: 1 addition & 1 deletion src/main/resources/bidder-config/gumgum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ adapters:
url: https://rtb.gumgum.com/usync/prbds2s?gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&r=
redirect-url: /setuid?bidder=gumgum&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid=
cookie-family-name: gumgum
type: redirect
type: iframe
support-cors: false
2 changes: 1 addition & 1 deletion src/main/resources/bidder-config/synacormedia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ adapters:
url: https://sync.technoratimedia.com/services?srv=cs&pid=70&cb=
redirect-url: /setuid?bidder=synacormedia&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid=[USER_ID]
cookie-family-name: synacormedia
type: redirect
type: iframe
support-cors: false
2 changes: 1 addition & 1 deletion src/main/resources/bidder-config/zeroclickfraud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ adapters:
url: https://s.0cf.io/sync?gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&r=
redirect-url: /setuid?bidder=zeroclickfraud&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid=${uid}
cookie-family-name: zeroclickfraud
type: redirect
type: iframe
support-cors: false
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ public void makeHttpRequestsShouldSetCorrectUriIfSiteDomainIsBlank() {
assertThat(result.getErrors()).isEmpty();
assertThat(result.getValue()).hasSize(1)
.extracting(HttpRequest::getUri)
.containsOnly("https://eplanning.com/clientId/1/www.example.com/ROS?ct=1&r=pbs&ncb=1"
+ "&ur=https%3A%2F%2Fwww.example.com&e=testadun_itco_de:1x1");
.containsOnly("https://eplanning.com/clientId/1/www.example.com/ROS?r=pbs&ncb=1"
+ "&ur=https%3A%2F%2Fwww.example.com&e=testadun_itco_de%3A1x1");
}

@Test
Expand Down Expand Up @@ -461,7 +461,6 @@ private static Imp givenImp(Function<Imp.ImpBuilder, Imp.ImpBuilder> impCustomiz
}

private static HttpCall<Void> givenHttpCall(String body) {
return HttpCall.success(
null, HttpResponse.of(200, null, body), null);
return HttpCall.success(null, HttpResponse.of(200, null, body), null);
}
}

0 comments on commit ed1cb76

Please sign in to comment.