Skip to content
Open
26 changes: 24 additions & 2 deletions dev-docs/bidders/smartytech.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,23 @@ pbjs: true
biddercode: smartytech
media_types: banner, video
multiformat_supported: will-bid-on-one
usp_supported: true
coppa_supported: true
userIds: all
sidebarType: 1
---

### Bid Params

{: .table .table-bordered .table-striped }

| Name | Scope | Description | Example | Type |
|--------------|----------|--------------|---------|-----------|
| `endpointId` | required | Endpoint ID. | `14` | `integer` |

### Sample Banner Ad Unit Example

```
```javascript
var adUnits = [{
code: '/123123123/prebidjs-banner',
mediaTypes: {
Expand All @@ -40,7 +44,7 @@ var adUnits = [{

### Sample Video Ad Unit Example

```
```javascript
var videoAdUnit = {
code: '/123123123/video-vast-banner',
mediaTypes: {
Expand All @@ -58,3 +62,21 @@ var videoAdUnit = {
}]
};
```

### User ID Support

SmartyTech adapter supports all Prebid.js User ID modules. User IDs are automatically included in bid requests when available.

### Additional Configuration

It is possible to configure requests to be split into chunks so as to have fewer bid requests in a single http request (default value is 10).

```javascript
pbjs.setBidderConfig({
config: {
smartytech: {
chunkSize: 5 // makes 1 http request per 5 ad units configured
}
}
});
```