View as Markdown

ShowAds Builder

Pick the devices, sizes, location, and options for one quick start ad spot, then copy the snippet into your site.

Sites using placement IDs (recommended for most established sites) set sizes per placement and device in the Ezoic dashboard instead, so they do not need this builder.
Show this ad on

Unchecked devices skip the ad and do not reserve space.

Ad sizes

Prefer Different per device when you can: it avoids requesting desktop leaderboards on phones and phone banners on desktop.

Sizes that fill well across Ezoic
Sizes Click or drop a size to add
Or add one:
Where the ad goes
Behavior
Your ad snippet

    

Paste it where the ad should appear. Use one snippet per ad spot.

What each option does

Option What it does
devices Only places the ad on the listed devices (desktop, tablet, mobile). On other devices the snippet does nothing and reserves no space.
sizes Allowed sizes on every device.
desktop_sizes, tablet_sizes, mobile_sizes Allowed sizes per device. sizes is the fallback for any device you do not set.
location Places the ad at a named spot, such as under_first_paragraph or sidebar. Only takes effect when the snippet runs from your <head>; a snippet in the page body places the ad where it sits.
anchor Places the ad right after the first element matching this CSS selector, wherever the snippet runs.
fluid: false Prevents fluid (variable-height) ads in this spot.
required: false Lets Ezoic skip this ad when the page already carries enough ads.

Sizes are WIDTHxHEIGHT. One size can be a string; several are a list.

See ShowAds advanced usage for the full reference, including size presets and placing ads from JavaScript.