Skip to content

Commit 8a544ca

Browse files
danijel-risticDanijel Ristic
andauthored
Change consent default param name (#12154)
Co-authored-by: Danijel Ristic <[email protected]>
1 parent 825fc6e commit 8a544ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/targetVideoAdServerVideo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function buildVideoUrl(options) {
2828
mute: '[vpmute]',
2929
page_url: '[page_url]',
3030
cachebuster: '[timestamp]',
31-
consent: '[consent]',
31+
gdpr_consent: '[consent]',
3232
}
3333

3434
const adUnit = options.adUnit;

test/spec/modules/targetVideoAdServerVideo_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe('TargetVideo Ad Server Video', function() {
125125
expect(url).to.include('mute=[vpmute]');
126126
expect(url).to.include('page_url=[page_url]');
127127
expect(url).to.include('cachebuster=[timestamp]');
128-
expect(url).to.include('consent=[consent]');
128+
expect(url).to.include('gdpr_consent=[consent]');
129129

130130
getWinningBidsStub.restore();
131131
getAllTargetingDataStub.restore();

0 commit comments

Comments
 (0)