Skip to content

Commit

Permalink
Update adxcgBidAdapter.md - moved sizes to mediaType.sizes (#4526)
Browse files Browse the repository at this point in the history
  • Loading branch information
adxcgcom authored and jsnellbaker committed Dec 4, 2019
1 parent d8ab705 commit 94fb2db
Showing 1 changed file with 64 additions and 32 deletions.
96 changes: 64 additions & 32 deletions modules/adxcgBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,73 @@ Module that connects to an Adxcg.com zone to fetch bids.

# Test Parameters
```
``
var adUnits = [{
code: 'banner-ad-div',
sizes: [[300, 250]],
bids: [{
bidder: 'adxcg',
params: {
var adUnits = [{
code: 'banner-ad-div',
mediaTypes: {
banner: {
sizes: [
[300, 250],
[300, 600]
]
}
},
bids: [{
bidder: 'adxcg',
params: {
adzoneid: '1'
}
}]
},{
code: 'native-ad-div',
sizes: [[300, 250], [1, 1]],
nativeParams: {
title: { required: true, len: 75 },
image: { required: true },
body: { len: 200 },
sponsoredBy: { len: 20 }
},
bids: [{
bidder: 'adxcg',
params: {
adzoneid: '2379'
}
}
}]
},{
code: 'video',
sizes: [[640, 480]],
bids: [{
bidder: 'adxcg',
}]
}, {
code: 'native-ad-div',
mediaTypes: {
native: {
image: {
sendId: false,
required: true,
sizes: [80, 80]
},
title: {
required: true,
len: 75
},
body: {
required: true,
len: 200
},
sponsoredBy: {
required: false,
len: 20
}
}
},
bids: [{
bidder: 'adxcg',
params: {
adzoneid: '20'
adzoneid: '2379'
}
}
}]
}];
}]
},
{
code: 'video-div',
mediaTypes: {
video: {
playerSize: [640, 480],
context: 'instream'
}
},
bids: [{
bidder: 'adxcg',
params: {
adzoneid: '20',
video: {
maxduration: 100,
mimes: ['video/mp4'],
skippable: true,
playback_method: ['auto_play_sound_off']
}
}
}]
}
];
```

0 comments on commit 94fb2db

Please sign in to comment.