Syntax Error in sizeMapping Example
Closed this issue · 1 comments
kenanfallon commented
Hi,
In the sizeMapping example there is a small syntax error. A trailing comma is missing on the line
{browser: [ 980, 600], ad_sizes: [[728, 90], [640, 480]]}
So the example should read:
$('selector').dfp({
dfpID:'xxxxxxxxx',
sizeMapping: {
'my-default': [
{browser: [1024, 768], ad_sizes: [980, 185]},
{browser: [ 980, 600], ad_sizes: [[728, 90], [640, 480]]},
{browser: [ 0, 0], ad_sizes: [88, 31]}
],
}
});
coop182 commented
Thanks!