Get started with our general purpose JS SDK built for any browser-based app
publisherToken
and code
fetchAd
can’t be accessed in downstream code, you might need to make fetchAd
available globally.
fetchAd
function. The parameters help the ad server decide which product and ad copy to
return based on the context of the conversation.
fetchAd
function which accepts optional callbacks to support
debugging, analytics tracking, or custom rendering logic at various stages of the ad lifecycle.