buildStreamUrl
buildStreamUrl(
target,protocol?):string
Defined in: protocol.ts:68
Build the stream URL.
sdk=1 is not optional and not a feature flag: it tells the server to
suppress its own server-side impression for this request. The SDK renders
inside the customer’s page, so it is the only party that knows whether the
creative was ever actually on screen — and a server-side impression on top
of the client’s own would double-count every view, and would keep counting
from a CDN-cached SSR response that no human ever saw.
Parameters
Section titled “Parameters”target
Section titled “target”protocol?
Section titled “protocol?”number = PROTOCOL_CURRENT
Returns
Section titled “Returns”string