Skip to content

Commit

Permalink
Merge pull request #5 from pm-shashank-jain/nativesupport
Browse files Browse the repository at this point in the history
documentation for native
  • Loading branch information
pm-shashank-jain authored Dec 26, 2018
2 parents d4abb65 + f143cee commit 06a6e34
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions modules/pubmaticBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Maintainer: [email protected]

Connects to PubMatic exchange for bids.

PubMatic bid adapter supports Video and Banner currently.
PubMatic bid adapter supports Video, Banner and Native currently.

# Sample Banner Ad Unit: For Publishers
```
Expand Down Expand Up @@ -76,7 +76,40 @@ var adVideoAdUnits = [
}]
```

### Configuration
# Sample Native Ad Unit: For Publishers
```
var adUnits = [
{
code: 'test-div',
mediaTypes: {
native: {
image: {
required: true,
sizes: [150, 50]
},
title: {
required: true,
len: 80
},
sponsoredBy: {
required: true
},
clickUrl: {
required: true
}
}
},
bids: [{
bidder: 'pubmatic',
params: {
publisherId: '156209', // required
adSlot: 'pubmatic_test2@1x1', // required
}
}]
}];
```

# ## Configuration

PubMatic recommends the UserSync configuration below. Without it, the PubMatic adapter will not able to perform user syncs, which lowers match rate and reduces monetization.

Expand Down

0 comments on commit 06a6e34

Please sign in to comment.