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

Doc for greebids adapter #5733

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeremy-greenbids
Copy link

🏷 Type of documentation

  • new bid adapter

📋 Checklist

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit d38b832
🔍 Latest deploy log https://app.netlify.com/sites/prebid-docs-preview/deploys/674978d4da4f3400089d7c20
😎 Deploy Preview https://deploy-preview-5733--prebid-docs-preview.netlify.app
📱 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 configuration.

Copy link
Contributor

@muuki88 muuki88 left a comment

Choose a reason for hiding this comment

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

Hi @jeremy-greenbids

Please follow the instructions here https://docs.prebid.org/dev-docs/bidder-adaptor.html#submitting-your-adapter and provide the proper meta data at the top of the file.

headings start with h3 for bidder pages.

This is the template from the page mentioned above

---
layout: bidder
title: example
description: Prebid example Bidder Adapter
biddercode: example
aliasCode: fileContainingPBJSAdapterCodeIfDifferentThenBidderCode
tcfeu_supported: true/false
dsa_supported: true/false
gvl_id: none
usp_supported: true/false
coppa_supported: true/false
gpp_sids: tcfeu, tcfca, usnat, usstate_all, usp
schain_supported: true/false
dchain_supported: true/false
userId: (list of supported vendors)
media_types: banner, video, native
safeframes_ok: true/false
deals_supported: true/false
floors_supported: true/false
fpd_supported: true/false
pbjs: true/false
pbs: true/false
prebid_member: true/false
multiformat_supported: will-bid-on-any, will-bid-on-one, will-not-bid
ortb_blocking_supported: true/partial/false
privacy_sandbox: no or comma separated list of `paapi`, `topics`
sidebarType: 1
---
### Note

The Example Bidding adapter requires setup before beginning. Please contact us at [[email protected]](mailto:[email protected]).

### Bid Params

{: .table .table-bordered .table-striped }
| Name          | Scope    | Description           | Example   | Type      |
|---------------|----------|-----------------------|-----------|-----------|
| `placement`      | required | Placement id         | `'11111'`    | `string` |

@jeremy-greenbids
Copy link
Author

Hi @jeremy-greenbids

Please follow the instructions here https://docs.prebid.org/dev-docs/bidder-adaptor.html#submitting-your-adapter and provide the proper meta data at the top of the file.

headings start with h3 for bidder pages.

This is the template from the page mentioned above

---
layout: bidder
title: example
description: Prebid example Bidder Adapter
biddercode: example
aliasCode: fileContainingPBJSAdapterCodeIfDifferentThenBidderCode
tcfeu_supported: true/false
dsa_supported: true/false
gvl_id: none
usp_supported: true/false
coppa_supported: true/false
gpp_sids: tcfeu, tcfca, usnat, usstate_all, usp
schain_supported: true/false
dchain_supported: true/false
userId: (list of supported vendors)
media_types: banner, video, native
safeframes_ok: true/false
deals_supported: true/false
floors_supported: true/false
fpd_supported: true/false
pbjs: true/false
pbs: true/false
prebid_member: true/false
multiformat_supported: will-bid-on-any, will-bid-on-one, will-not-bid
ortb_blocking_supported: true/partial/false
privacy_sandbox: no or comma separated list of `paapi`, `topics`
sidebarType: 1
---
### Note

The Example Bidding adapter requires setup before beginning. Please contact us at [[email protected]](mailto:[email protected]).

### Bid Params

{: .table .table-bordered .table-striped }
| Name          | Scope    | Description           | Example   | Type      |
|---------------|----------|-----------------------|-----------|-----------|
| `placement`      | required | Placement id         | `'11111'`    | `string` |

I must have made a copy paste mistake cause I remember filling this, sorry. It's updated

title: Greenbids
description: Prebid Greenbids Bidder Adapter
biddercode: greenbids
tcfeu_supported: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
tcfeu_supported: true
tcfeu_supported: false

if you have no gvl_id you cannot claim tcfeu_supported

gvl_id: none
usp_supported: true
coppa_supported: false
gpp_sids: tcfeu, tcfca, usnat, usstate_all, usp
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
gpp_sids: tcfeu, tcfca, usnat, usstate_all, usp
gpp_sids: tcfca, usnat, usstate_all, usp

tfceu is only supported with a gvl id

description: Prebid Greenbids Bidder Adapter
biddercode: greenbids
tcfeu_supported: true
dsa_supported: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure you pass the ortb DSA params through?

Copy link
Author

Choose a reason for hiding this comment

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

const dsa = deepAccess(bidderRequest, 'ortb2.regs.ext.dsa');
if (dsa) {
payload.dsa = dsa;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants