Skip to content

stopDynamicPlacements

Stops the dynamic placement polling loop. No new placement divs will be created until a page-transition refreshAds call restarts polling.

window.htag.api('1').stopDynamicPlacements();
// Resume polling on the next page transition
window.htag.api('1').refreshAds({ pageTransition: true });

Calling refreshAds({ elementIds: [...] }) does not restart dynamic placement polling unless you also set pageTransition: true.

None.

Returns the Htag API object, allowing for method chaining.