Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make aliases first-class citizens and look very much the same as core bidders #927

Merged
merged 4 commits into from
Apr 7, 2021

Conversation

schernysh
Copy link
Contributor

@schernysh schernysh commented Sep 24, 2020

Implements prebid/prebid-server#1429.

Important: Breaking change

This PR has implications for host companies that rely on aliases support that was already present in PBS.

First, the format for defining aliases has slightly changed. Previously one could declare alias as:

adapters.mybidder.aliases=myaliasone

or

adapters:
  mybidder:
    aliases: myaliasone

With this change in place at least one alias configuration property should be specified so that the framework could pick it up (suggested property is enabled since it has to be defined anyway for every alias):

adapters.mybidder.aliases.myaliasone.enabled=true

or

adapters:
  mybidder:
    aliases:
      myaliasone:
        enabled: true

Second, aliases defined in default configuration (districtm for appnexus and 33across for ttx for the time being) are disabled from now on. If you need them enabled in your installation, please turn them on via configuration:

adapters.appnexus.aliases.districtm.enabled=true
adapters.ttx.aliases.33across.enabled=true

@schernysh schernysh requested a review from rpanchyk September 24, 2020 12:56
@schernysh schernysh changed the title Make aliases first-class citizens and look very much the same as ordinary bidder Make aliases first-class citizens and look very much the same as core bidders Sep 24, 2020
# Conflicts:
#	docs/developers/add-new-bidder.md
#	src/main/java/org/prebid/server/auction/AuctionRequestFactory.java
#	src/main/java/org/prebid/server/auction/BidderAliases.java
#	src/main/java/org/prebid/server/auction/PrivacyEnforcementService.java
#	src/main/java/org/prebid/server/bidder/BidderCatalog.java
#	src/main/java/org/prebid/server/bidder/BidderDeps.java
#	src/main/java/org/prebid/server/handler/AuctionHandler.java
#	src/main/java/org/prebid/server/handler/CookieSyncHandler.java
#	src/main/java/org/prebid/server/spring/config/bidder/AdformConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/AppnexusConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/ConversantConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/FacebookConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/IxConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/LifestreetConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/PubmaticConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/PulsepointConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/SovrnConfiguration.java
#	src/main/java/org/prebid/server/spring/config/bidder/util/BidderDepsAssembler.java
#	src/test/java/org/prebid/server/auction/AuctionRequestFactoryTest.java
#	src/test/java/org/prebid/server/auction/PrivacyEnforcementServiceTest.java
#	src/test/java/org/prebid/server/bidder/BidderCatalogTest.java
#	src/test/java/org/prebid/server/handler/AuctionHandlerTest.java
#	src/test/java/org/prebid/server/handler/CookieSyncHandlerTest.java
#	src/test/java/org/prebid/server/it/ApplicationTest.java
#	src/test/resources/org/prebid/server/it/auction/districtm/test-auction-districtm-response.json
@rpanchyk rpanchyk requested a review from SerhiiNahornyi April 2, 2021 14:37
@rpanchyk rpanchyk merged commit d314b0e into master Apr 7, 2021
@rpanchyk rpanchyk deleted the alias-amplification branch April 7, 2021 08:15
nickluck9 pushed a commit that referenced this pull request Aug 9, 2021
… bidders (#927)

* Make aliases first-class citizens and look very much the same as ordinary bidder

* Improve documentation on bidder aliases

* Validate that the bidders and aliases are unique
nickluck9 pushed a commit that referenced this pull request Aug 10, 2021
… bidders (#927)

* Make aliases first-class citizens and look very much the same as ordinary bidder

* Improve documentation on bidder aliases

* Validate that the bidders and aliases are unique
nickluck9 pushed a commit that referenced this pull request Aug 10, 2021
… bidders (#927)

* Make aliases first-class citizens and look very much the same as ordinary bidder

* Improve documentation on bidder aliases

* Validate that the bidders and aliases are unique
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants