Placement IDs
Placement-id showAds examples
The advanced setup: you create each placement in the Ezoic dashboard, own the
<div id="ezoic-pub-ad-placeholder-N"> markup on the page yourself, and
activate it with ezstandalone.showAds(N). Unlike the id-less setup — where
the ad simply goes where the script sits — placement ids give you per-placement dashboard control,
reporting, and programmatic targeting through showAds, refreshAds, and
destroyPlaceholders.
Examples
- basicone placeholder div (147) activated by
showAds(147)— the canonical placement-id setup - multiplethree placeholder divs (148, 149, 150) activated by one batched
showAds(148, 149, 150) - dynamicshow, destroy, and re-show placeholders (151, 152) as content is added and removed
- infiniteinfinite scroll with a unique id per batch from the pool 154–160 (
?burst=Nto auto-run)