Skip to content

Commit

Permalink
2.0.2 - Bug Fix - Pass type array to set targetting after auction #69
Browse files Browse the repository at this point in the history
  • Loading branch information
Neal Malkani authored Oct 7, 2020
2 parents a31ffd4 + 05c629b commit 650eced
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/arcads.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arcads",
"version": "2.0.1",
"version": "2.0.2",
"description": "ArcAds is a DFP wrapper created by Arc Publishing with publishers in mind.",
"main": "dist/arcads.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/prebid.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function fetchPrebidBidsArray(ad, codes, timeout, info, prerender, cb = n
adUnitCodes: codes,
bidsBackHandler: (result) => {
console.log('Bid Back Handler', result);
pbjs.setTargetingForGPTAsync([code]);
pbjs.setTargetingForGPTAsync(codes);
if (cb) {
cb();
} else {
Expand Down

0 comments on commit 650eced

Please sign in to comment.