I’m having issues with ads when applying the following configuration:
playerConfig = {
playback: { autoplay: true, muted: false },
adaptation: { preload: true },
key: m.global.configdetails.bitmovinSDK.key
advertising: {
adBreaks: [{
tag: {
type: "vast",
url: getadUrl()
}
}]
}
}
The function getadUrl()
returns the following tag:
https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=
Any clue about what is wrong with that snippet?