Skip to content

Commit

Permalink
Rename category prop to iabSubCatId
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewlane committed Feb 4, 2019
1 parent 5d42f40 commit dd2eacc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion modules/appnexusBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function newBid(serverBid, rtbBid, bidderRequest) {
const videoContext = utils.deepAccess(bidRequest, 'mediaTypes.video.context');
if (videoContext === 'adpod') {
bid.meta = {
primaryCatId: rtbBid.brand_category_id
iabSubCatId: null // translate rtbBid.brand_category_id to iab when translation module ready
};

bid.video = {
Expand Down
1 change: 0 additions & 1 deletion test/spec/modules/appnexusBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ describe('AppNexusAdapter', function () {
};

let result = spec.interpretResponse({ body: response }, {bidderRequest});
expect(result[0].meta.primaryCatId).to.equal(10);
expect(result[0].video.context).to.equal('adpod');
expect(result[0].video.durationSeconds).to.equal(30);
});
Expand Down

0 comments on commit dd2eacc

Please sign in to comment.