Skip to content

Commit

Permalink
updateAdGenerationManual (prebid#5032)
Browse files Browse the repository at this point in the history
  • Loading branch information
banakemi authored and iggyfisk committed Jun 22, 2020
1 parent de2a928 commit 14fdf18
Showing 1 changed file with 45 additions and 41 deletions.
86 changes: 45 additions & 41 deletions modules/adgenerationBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,57 +15,61 @@ AdGeneration bid adapter supports Banner and Native.
# Test Parameters
```
var adUnits = [
// Banner adUnit
{
code: 'banner-div', // banner
sizes: [[300, 250]],
bids: [
{
bidder: 'adg',
params: {
id: '58278', // banner
}
},
]
},
// Native adUnit
{
code: 'native-div',
sizes: [[1,1]],
mediaTypes: {
native: {
image: {
// Banner adUnit
{
code: 'banner-div', // banner
mediaTypes: {
banner: {
sizes: [[300, 250]],
}
},
bids: [
{
bidder: 'adg',
params: {
id: '58278', // banner
}
},
]
},
// Native adUnit
{
code: 'native-div',
sizes: [[1,1]],
mediaTypes: {
native: {
image: {
required: true
},
title: {
},
title: {
required: true,
len: 80
},
sponsoredBy: {
},
sponsoredBy: {
required: true
},
clickUrl: {
},
clickUrl: {
required: true
},
body: {
},
body: {
required: true
},
icon: {
},
icon: {
required: true
},
privacyLink: {
},
privacyLink: {
required: true
},
},
},
bids: [
{
bidder: 'adg',
params: {
},
},
bids: [
{
bidder: 'adg',
params: {
id: '58279', //native
}
},
]
}
},
]
},
];
```

0 comments on commit 14fdf18

Please sign in to comment.