What this demonstrates

The snippet sits before the headline, so the ad renders above the title — a classic leaderboard position. No paragraphs precede the script, which classifies the spot as top_of_page and claims id 900.
Integration used on this page
<!-- Head: consent + Ezoic standalone loader -->
<script data-cfasync="false" src="https://cmp.gatekeeperconsent.com/min.js"></script>
<script data-cfasync="false" src="https://the.gatekeeperconsent.com/cmp.min.js"></script>
<script async src="//www.ezojs.com/ezoic/sa.min.js"></script>
<script>
  window.ezstandalone = window.ezstandalone || {};
  ezstandalone.cmd = ezstandalone.cmd || [];
</script>

<!-- Body: placed before the title for a leaderboard -->
<script>
  ezstandalone.cmd.push(function () {
    ezstandalone.showAds({sizes: "728x90"});
  });
</script>

View source on GitHub →

Docs: Ad Placements — Simple Setup (No Placement IDs)

Snippet above the title

The snippet on this page sits before the headline, so the ad should render above the title — a classic leaderboard position. No paragraphs precede the script, which classifies the spot as top_of_page and claims id 900.

Everything below is ordinary article content. The placement must not move anywhere else on the page regardless of how much content follows.

A third paragraph pads the article out so the page reads like real content and the paragraph-counting label logic has a normal document to work with.