adTagParameters set with HTML5 DAI SDK doesn't get sent with DAI stream requests

146 views
Skip to first unread message

Kyle Bedell

unread,
Jan 28, 2019, 7:15:06 PM1/28/19
to Interactive Media Ads SDK
I'm setting cust_params on the adTagParameters attribute, but when the DAI stream request is made, it doesn't include it.

const streamRequest = new google.ima.dai.api.LiveStreamRequest();
streamRequest
.assetKey = daiToken;
streamRequest
.adTagParameters = {
  cust_params
: qs.stringify(custParams, {encode: true}),
};
streamManager
.requestStream(streamRequest);


Despite passing the adTagParameters to the stream request, the stream URL that gets generated by the SDK looks something like this (not actual, the IDs have been changed).

According to the documentation, the adTagParameters should be set with the SDK or overridden with SSB. We are trying to use the SDK, but the SSB examples seem imply that the SDK would append the adTagParameters in a similar fashion to the string concatenation method. How do we debug that our cust_params are properly getting sent to the server?

Here are the ad tags we are supposed to be able to override from the client.

Kyle Bedell

unread,
Jan 28, 2019, 7:27:39 PM1/28/19
to Interactive Media Ads SDK
Okay, using the Ad Manager Stream Monitor, I was able to see the cust_params, but how are they sent? We don't see them in the Network tab.
Reply all
Reply to author
Forward
0 new messages