Skip to content

Commit

Permalink
Update resetdigitalBidAdapter.md
Browse files Browse the repository at this point in the history
Update resetdigital adapter documentation
  • Loading branch information
javimartos authored Jul 15, 2024
1 parent 6a85621 commit e4c6c73
Showing 1 changed file with 54 additions and 45 deletions.
99 changes: 54 additions & 45 deletions modules/resetdigitalBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
```
Module Name: ResetDigital Bidder Adapter
Module Type: Bidder Adapter
Maintainer: bruce@resetdigital.co
Maintainer: BidderSupport@resetdigital.co
```

# Description
Expand All @@ -15,49 +15,58 @@ Video is supported but requires a publisher supplied renderer at this time.

## Web
```
var adUnits = [
{
code: 'your-div',
mediaTypes: {
banner: {
sizes: [[300,250]]
},
},
bids: [
{
bidder: "resetdigital",
params: {
pubId: "your-pub-id",
site_id: "your-site-id",
forceBid: true,
}
}
]
}
];
var videoAdUnits = [
{
code: 'your-div',
mediaTypes: {
video: {
playerSize: [640, 480]
},
},
bids: [
{
bidder: "resetdigital",
params: {
pubId: "your-pub-id",
site_id: "your-site-id",
forceBid: true,
}
}
]
}
];
// Define the ad units for banner ads
var adUnits = [
{
code: 'your-div', // Replace with the actual ad unit code
mediaTypes: {
banner: {
sizes: [[300, 250]] // Define the sizes for banner ads
}
},
bids: [
{
bidder: "resetdigital",
params: {
pubId: "your-pub-id", // (required) Replace with your publisher ID
site_id: "your-site-id", // Replace with your site ID
endpoint: 'https://ads.resetsrv.com', // (optional) Endpoint URL for the ad server
forceBid: true, // Optional parameter to force the bid
zoneId: { // (optional) Zone ID parameters
placementId: "<id>", // Optional ID used for reports
deals: "<deal ids>", // Optional string of deal IDs, comma-separated
test: 1 // Set to 1 to force the bidder to respond with a creative
}
}
}
]
}
];
// Define the ad units for video ads
var videoAdUnits = [
{
code: 'your-div', // Replace with the actual video ad unit code
mediaTypes: {
video: {
playerSize: [640, 480] // Define the player size for video ads
}
},
bids: [
{
bidder: "resetdigital",
params: {
pubId: "your-pub-id", // (required) Replace with your publisher ID
site_id: "your-site-id", // Replace with your site ID
forceBid: true, // Optional parameter to force the bid
zoneId: { // (optional) Zone ID parameters
placementId: "<id>", // Optional ID used for reports
deals: "<deal ids>", // Optional string of deal IDs, comma-separated
test: 1 // Set to 1 to force the bidder to respond with a creative
}
}
}
]
}
];
```

0 comments on commit e4c6c73

Please sign in to comment.