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.

View source on GitHub →

Docs: Ad Placements — Using Placement IDs

Examples