Skip to content

dfp.buildVideoUrl bug with the url option? #2291

Closed
@terebentina

Description

@terebentina

Type of issue

bug?

Description

I am trying to figure out if this is a bug or not. When calling dfp.buildVideoUrl() with the url option the code is splitting the url into its parts and then rebuilding it in buildUrlFromAdserverUrlComponents(). However, it seems to me that any cust_params that might have been there in the initial url is getting overwritten here: https://github.com/prebid/Prebid.js/blob/master/modules/dfpAdServerVideo.js#L126-L129
Which doesn't seem to be the case when calling dfp.buildVideoUrl() with the params option: https://github.com/prebid/Prebid.js/blob/master/modules/dfpAdServerVideo.js#L88-L93

Platform details

This is the same in the latest 0.x and on master as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions