Skip to content

Commit c314596

Browse files
moonshellsbretg
authored andcommitted
add hb_cache_id, hb_uuid should be deprecated and replaced by hb_cache_id (#2273)
1 parent 6382fe6 commit c314596

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

modules/dfpAdServerVideo.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ export default function buildDfpVideoUrl(options) {
8888
const customParams = Object.assign({},
8989
adserverTargeting,
9090
{ hb_uuid: bid && bid.videoCacheKey },
91+
// hb_uuid will be deprecated and replaced by hb_cache_id
92+
{hb_cache_id: bid && bid.videoCacheKey},
9193
options.params.cust_params);
9294

9395
const queryParams = Object.assign({},

test/spec/modules/dfpAdServerVideo_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ describe('The DFP video support module', () => {
104104

105105
expect(customParams).to.have.property('hb_adid', 'ad_id');
106106
expect(customParams).to.have.property('hb_uuid', bid.videoCacheKey);
107+
expect(customParams).to.have.property('hb_cache_id', bid.videoCacheKey);
107108
});
108109

109110
it('should merge the user-provided cust_params with the default ones', () => {

0 commit comments

Comments
 (0)