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

add DSA info to bid.meta field and ortb2 examples #5092

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev-docs/bidder-adaptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ The parameters of the `bidResponse` object are:
| `meta.brandName` | Optional | Brand Name | `"BrandB"` |
| `meta.demandSource` | Optional | Demand Source (Some adapters may functionally serve multiple SSPs or exchanges, and this would specify which) | `"SourceB"`
| `meta.dchain` | Optional | Demand Chain Object | `{ 'ver': '1.0', 'complete': 0, 'nodes': [ { 'asi': 'magnite.com', 'bsid': '123456789', } ] }` |
| `meta.dsa` | Optional | The [IAB DSA response object](https://github.com/InteractiveAdvertisingBureau/openrtb/blob/main/extensions/community_extensions/dsa_transparency.md) for the Digital Services Act (DSA) | `{"behalf": "Advertiser", "paid": "Advertiser", ...}` |
| `meta.dsa` | Optional | The [IAB DSA response object](https://github.com/InteractiveAdvertisingBureau/openrtb/blob/main/extensions/community_extensions/dsa_transparency.md) for the Digital Services Act (DSA) | `{ 'behalf': 'sample text', 'paid': 'sample value', 'transparency': [{ 'domain': 'sample domain', 'params': [1, 2] }], 'adrender': 1 }` |
| `meta.primaryCatId` | Optional | Primary [IAB category ID](https://www.iab.com/guidelines/iab-quality-assurance-guidelines-qag-taxonomy/) | `"IAB-111"` |
| `meta.secondaryCatIds` | Optional | Array of secondary IAB category IDs | `["IAB-222","IAB-333"]` |
| `meta.mediaType` | Optional | "banner", "native", or "video" - this should be set in scenarios where a bidder responds to a "banner" mediaType with a creative that's actually a video (e.g. outstream) or native. | `"native"` |
Expand Down
16 changes: 15 additions & 1 deletion features/firstPartyData.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,21 @@ pbjs.setConfig({
},
regs: {
gpp: "abc1234",
gpp_sid: [7]
gpp_sid: [7],
ext: {
dsa: {
required: 3,
pubrender: 0,
datatoput: 2,
transparency: [{
domain: 'platform1domain.com',
params: [1]
}, {
domain: 'platform2domain.com',
params: [1, 2]
}]
}
}
}
}
});
Expand Down