Skip to content

PBS rules update#4359

Merged
bretg merged 3 commits into
masterfrom
pbs-rules
Mar 2, 2023
Merged

PBS rules update#4359
bretg merged 3 commits into
masterfrom
pbs-rules

Conversation

@bretg

@bretg bretg commented Feb 10, 2023

Copy link
Copy Markdown
Contributor

@bretg bretg requested a review from SyntaxNode February 10, 2023 21:58
@netlify

netlify Bot commented Feb 10, 2023

Copy link
Copy Markdown

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit fb9bdaa
🔍 Latest deploy log https://app.netlify.com/sites/prebid-docs-preview/deploys/63ffa082562edd0008006ca6
😎 Deploy Preview https://deploy-preview-4359--prebid-docs-preview.netlify.app/dev-docs/module-rules
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@SyntaxNode SyntaxNode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. Left some minor comments. Did you want to include the "Rules that will be enforced later" section from prebid/prebid-server#2437?

We're also missing the recommendation of "Bid adapters should understand how their endpoints handle currency and floors and transform the PBS request appropriately.".

Comment thread dev-docs/module-rules.md Outdated
Comment thread dev-docs/module-rules.md Outdated
Comment thread dev-docs/module-rules.md Outdated
Comment thread dev-docs/module-rules.md Outdated
1. Bid adapters must be able to bid. If they cannot return an auction bid, they should consider integration as a Real-Time Data or other module type.
1. Creative rendering scripts must(*) load from the creative frame and not directly in the page. In other words, creative rendering JavaScript cannot be used to bypass the “no external code” rule.
1. Bidder modules must not(*) make requests to endpoints for functionality other than auctions without:
1. Bidder modules must not make requests to endpoints for functionality other than auctions without:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would this be PBJS specific? For server, issue prebid/prebid-server#2437 states "Bidder modules must not make requests to endpoints for functionality other than auctions." without exception.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The rules committee allowed for the possibility of exceptions for JS -- I think that would apply to PBS as well

@bretg

bretg commented Feb 24, 2023

Copy link
Copy Markdown
Contributor Author

Thanks @SyntaxNode . It wasn't clear to me that "currency and floors" is an enforceable rule, but I suppose that several other of these things aren't really enforceable either, so added.

@bretg bretg requested a review from SyntaxNode February 24, 2023 14:48
@bretg bretg merged commit 1f06ec6 into master Mar 2, 2023
@bretg bretg deleted the pbs-rules branch March 2, 2023 15:41
ecdrsvc pushed a commit to ecdrsvc/prebid.github.io that referenced this pull request Sep 6, 2023
* PBS rules update

* review feedback

* Update module-rules.md
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