# Ad Options Builder

Source: https://docs.ezoic.com/docs/ezoicadsadvanced/wordpress/ad-options-builder/


Build valid **Advanced Ad Options** JSON for a WordPress placement, then paste it into the plugin. The builder only emits keys the plugin accepts.



## Where to paste it

1. In WordPress: **Settings > Ezoic > Ad Settings**.
2. Open the placement.
3. Expand **Advanced Ad Options** and paste the JSON.
4. Save.


**Advanced Ad Options** appears when JavaScript integration is on and the plugin uses WordPress-generated placeholders. If you do not see it, check **Settings > Ezoic > JS Integration**.


On a paragraph placement, a pasted `devices` list is absorbed into **Different position per device** (checkboxes) and removed from the JSON box. Other placements keep `devices` in the JSON.

## What each option does

| Option | What it does |
|---|---|
| `devices` | Limits which devices request the ad. Omit to run everywhere. Values: `desktop`, `tablet`, `mobile`. |
| `sizes` | Allowlist of sizes on every device. Standalone treats this as a hard allowlist. |
| `desktop_sizes`, `tablet_sizes`, `mobile_sizes` | Per-device allowlists (preferred when sizes should differ). |
| `fluid` | Let the ad size itself to its container. |
| `required` | Keep the slot even when nothing fills. |

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

Excluding a device also stops reserved space on that device, so you do not get an empty gap.

## Options you cannot set here

The plugin rejects these if you add them by hand:

- `id`, `anchor`, `location`, `into` - the plugin owns placement and identity
- `class`, `style` - styling the placeholder can leave empty white space when an ad does not load

Invalid keys or a non-`WIDTHxHEIGHT` size block save; the field shows what was wrong.

## Related

- [Advanced]() - same options for sites that call `ezstandalone.showAds()` directly

