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

Bizzclick: rename bizzclick to blasto #3688

Merged
merged 6 commits into from
Jul 1, 2024

Conversation

BizzClick
Copy link
Contributor

Bizzclick has a big update, we are officially changing our name to blasto.

Related PR to prebid.github.io

Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, 4912ca1

blasto

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:21:	Builder				100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:33:	getHeaders			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:56:	MakeRequests			83.3%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:90:	getImpressionExt		85.7%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:107:	buildEndpointURL		100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:120:	checkResponseStatusCodes	100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:142:	MakeBids			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:188:	getMediaTypeForImp		100.0%
total:									(statements)			96.2%

@BizzClick BizzClick marked this pull request as ready for review May 18, 2024 20:16
Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, eb01327

blasto

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:21:	Builder				100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:33:	getHeaders			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:56:	MakeRequests			83.3%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:90:	getImpressionExt		85.7%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:107:	buildEndpointURL		100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:120:	checkResponseStatusCodes	100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:142:	MakeBids			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:188:	getMediaTypeForImp		100.0%
total:									(statements)			96.2%

@BizzClick BizzClick changed the title Bizzclick: rename bizzclick to blasto Bizzclick Bid Adapter: rename bizzclick to blasto May 21, 2024
@onkarvhanumante
Copy link
Contributor

@BizzClick

Consider adding blasto in DisabledBidderWarningMessages map.

func GetDisabledBidderWarningMessages(infos config.BidderInfos) map[string]string {
removed := map[string]string{
"lifestreet": `Bidder "lifestreet" is no longer available in Prebid Server. Please update your configuration.`,
"adagio": `Bidder "adagio" is no longer available in Prebid Server. Please update your configuration.`,
"somoaudience": `Bidder "somoaudience" is no longer available in Prebid Server. Please update your configuration.`,
"yssp": `Bidder "yssp" is no longer available in Prebid Server. If you're looking to use the Yahoo SSP adapter, please rename it to "yahooAds" in your configuration.`,
"andbeyondmedia": `Bidder "andbeyondmedia" is no longer available in Prebid Server. If you're looking to use the AndBeyond.Media SSP adapter, please rename it to "beyondmedia" in your configuration.`,
"oftmedia": `Bidder "oftmedia" is no longer available in Prebid Server. Please update your configuration.`,
"groupm": `Bidder "groupm" is no longer available in Prebid Server. Please update your configuration.`,
"verizonmedia": `Bidder "verizonmedia" is no longer available in Prebid Server. Please update your configuration.`,
"brightroll": `Bidder "brightroll" is no longer available in Prebid Server. Please update your configuration.`,
"engagebdr": `Bidder "engagebdr" is no longer available in Prebid Server. Please update your configuration.`,
"ninthdecimal": `Bidder "ninthdecimal" is no longer available in Prebid Server. Please update your configuration.`,
"kubient": `Bidder "kubient" is no longer available in Prebid Server. Please update your configuration.`,
"applogy": `Bidder "applogy" is no longer available in Prebid Server. Please update your configuration.`,
"rhythmone": `Bidder "rhythmone" is no longer available in Prebid Server. Please update your configuration.`,
"nanointeractive": `Bidder "nanointeractive" is no longer available in Prebid Server. Please update your configuration.`,
}

endpoint: 'http://{{.Host}}.bizzclick.com/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}'
endpoint: 'http://{{.Host}}.blasto.ai/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usage of partial dynamic urls is being discouraged and prebid team in future will be working to avoid usage of dynamic subdomain in endpoint url.

Major concerns with such usage are,

security concerns
The security aspect is alleviated by using a fixed top level domain. Due to the potential harm to hosts, we are strict in this requirement. We are working towards fixing the few adapters currently in violation.

connection performance
The connection performance advice is for your benefit. Client specific subdomains prevent Prebid Server from reusing connections across your clients which results in more connections needed for your adapter. The issue gets worse the more successful you are in attracting new clients. Hosts may choose to disable your adapter due to this behavior.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand, do you have an alternative solution for such cases?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pass host as query string if you would like to.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gargcreation1992 Do you mean like this http://blasto.ai/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}&host={{.Host}}?

I don't think we can do this, we have three regions with this subdomains:
us-e-node1 - us east, n1 - eu, n3 - apac. So this is the easiest way to do it, just to make subdomain dynamic

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand, do you have an alternative solution for such cases?

In the case of region specific routing, we recommend the solution of documenting in the docs PR the different endpoints supported by your adapter and hosts can configure their data centers to match. PBS already allows endpoints to be configured via application settings (environment variable or pbs.yaml).

We don't like asking publishers to enter the region in each one of their placement configs. This is really a server level configuration.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SyntaxNode Got it! Thus by default in blasto.yaml file I can define such endpoint with us east region

# We have the following regional endpoint sub-domains:
# US East: us-e-node1
# EU: n1
# APAC: n3
# Please deploy this config in each of your datacenters with the appropriate regional subdomain
endpoint: 'http://us-e-node1.blasto.ai/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}'

And then pbs.yaml can be modified accordingly to the region? For example:

adapters:
  blasto:
    endpoint: http://n1.blasto.ai/bid?rtb_seat_id={{.SourceId}}&secret_key={{.AccountID}}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, exactly. You're also welcomed to disable the adapter by default with a placeholder endpoint like in the Rubicon adapter:

# Contact [email protected] to ask about enabling a connection to the Magnite (formerly Rubicon) exchange.
# We have the following regional endpoint domains: exapi-us-east, exapi-us-west, exapi-apac, exapi-eu
# Please deploy this config in each of your datacenters with the appropriate regional subdomain
endpoint: "https://REGION.rubiconproject.com/a/api/exchange"
disabled: true

Either are good approaches IMHO.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@bsardo bsardo changed the title Bizzclick Bid Adapter: rename bizzclick to blasto Bizzclick: rename bizzclick to blasto May 23, 2024
Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, c505b26

blasto

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:21:	Builder				100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:33:	getHeaders			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:56:	MakeRequests			83.3%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:90:	getImpressionExt		85.7%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:107:	buildEndpointURL		100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:120:	checkResponseStatusCodes	100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:142:	MakeBids			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:188:	getMediaTypeForImp		100.0%
total:									(statements)			96.2%

Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, bd269e5

blasto

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:21:	Builder				100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:33:	getHeaders			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:56:	MakeRequests			83.3%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:90:	getImpressionExt		85.7%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:107:	buildEndpointURL		100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:120:	checkResponseStatusCodes	100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:142:	MakeBids			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:188:	getMediaTypeForImp		100.0%
total:									(statements)			96.2%

Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, c0af83d

blasto

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:21:	Builder				100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:33:	getHeaders			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:56:	MakeRequests			83.3%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:90:	getImpressionExt		85.7%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:107:	buildEndpointURL		100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:120:	checkResponseStatusCodes	100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:142:	MakeBids			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:188:	getMediaTypeForImp		100.0%
total:									(statements)			96.2%

@SyntaxNode
Copy link
Contributor

@BizzClick There was a comment on a similar PR recently where @bretg strongly felt the bizzclick name should rename active for a transition period unless there is literally zero current traffic. Is this the case for you? Does bizzclick currently receive no traffic?

@bretg
Copy link
Contributor

bretg commented Jun 17, 2024

https://docs.prebid.org/faq/prebid-server-faq.html#how-can-we-rename-our-bid-adapter

@BizzClick
Copy link
Contributor Author

@SyntaxNode @bretg yes, bizzclick now has no traffic from pbs. Should i use aliasOf: "blasto" in existing bizzclick adapter?
I would prefer to rename the existing adapter with mentioning that it used to be bizzclick.

@bretg
Copy link
Contributor

bretg commented Jun 18, 2024

Should i use aliasOf: "blasto" in existing bizzclick adapter?

@BizzClick - yes, that is the guideline. Adding an alias differs in PBS-Go and PBS-Java. See

I would prefer to rename the existing adapter with mentioning that it used to be bizzclick.

If you are 110% sure that not a single Prebid Server host company is using your adapter, then ok. But if anyone is using bizzclick, changing the name is going to break them when they upgrade and then people are going to get mad at Prebid for you changing your name. There are probably at least 50 companies using Prebid Server... how can you be sure that no one has enabled your adapter?

@BizzClick
Copy link
Contributor Author

@bretg i'm 110% sure about that and it was considered before renaming.
In any case someone from PBS community can contact our business team via email to confirm this.

@bretg
Copy link
Contributor

bretg commented Jun 20, 2024

i'm 110% sure about that

Very well.

@bsardo bsardo assigned bsardo and unassigned gargcreation1992 Jun 27, 2024
@bsardo
Copy link
Collaborator

bsardo commented Jun 27, 2024

LGTM except for the YAML file update with respect to regional endpoints. We would also need to see another docs PR opened to capture the regional endpoint details.

Copy link

github-actions bot commented Jul 1, 2024

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, 10ab052

blasto

Refer here for heat map coverage report

github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:21:	Builder				100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:33:	getHeaders			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:56:	MakeRequests			83.3%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:90:	getImpressionExt		85.7%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:107:	buildEndpointURL		100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:113:	checkResponseStatusCodes	100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:135:	MakeBids			100.0%
github.com/prebid/prebid-server/v2/adapters/blasto/blasto.go:181:	getMediaTypeForImp		100.0%
total:									(statements)			95.9%

@BizzClick
Copy link
Contributor Author

@bsardo sure, here's related PR
prebid/prebid.github.io#5466

@gargcreation1992 gargcreation1992 merged commit 670e1d4 into prebid:master Jul 1, 2024
5 checks passed
mefjush pushed a commit to adhese/prebid-server that referenced this pull request Jul 19, 2024
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.

6 participants