A native ad earns its place by looking like the page around it. The ad server delivers the parts of each ad (an image, a headline, a short text and the advertiser's display address) and a small set of templates on the page decides what they look like. Until now, getting that look right meant writing HTML and CSS, and changing it meant another edit of the site. GoAdserver now takes both steps out of the way: a Native Ads zone comes with six ready-made layouts, and the templates can be stored on the zone itself, so a publisher restyles the block from the panel or the API while the code on the site stays as it is. This works the same on ad networks and on ad manager set-ups.
November 2026
Six ready-made layouts, with a live preview
Open the Ad Zone Code tab of a Native Ads zone and a Layout choice sits above the code. Each layout shows a live preview, and the code changes with your pick:
- Cards: image on top, headline, short text, link and a Sponsored label. A row of three or four under an article.
- Sidebar list: a small thumbnail next to the headline, stacked. For a sidebar or the end of an article.
- Image tiles: square photos with the headline on the image.
- Feed: one wide row per ad, image left and text right, stacking on phones. For the space between the articles of a news feed.
- Sponsored links: headlines and links only, for a narrow column.
- Unstyled: no styling at all, for sites that bring their own CSS.
Until you pick one, the panel selects the layout that fits the zone: a single column gets the sidebar list, a zone with hidden descriptions gets the tiles, anything else gets cards. Every layout follows the zone's rows and columns, works on phones, and its styles apply to that zone only, so two native blocks on one page never restyle each other. You can see all of them running on the native ads demo page, next to the other ad formats.
Templates that live on the zone
A layout is three small templates plus CSS: one for the whole block, one for a row, one for a single ad. They normally travel inside the zone code that sits on the site. That is fine until someone wants a different look: the headline above the image, a new label, two columns where there were three. Each of those used to be a request to whoever maintains the site.
Native Ads zones now have a Render templates section at the end of their Native Ad Settings, with four fields:
- Block template: the wrapper around everything, with
{body}where the rows go. - Row template: one row, with
{items}where the ads go. - Ad template: one ad, built from
{image},{title},{description}and{displayurl}. The class{href_itemid}marks the element a visitor clicks. - CSS: the styles for those templates, added to the page once for the zone.
The ad server sends these to the page together with the ads, so a saved change reaches the site without anyone editing it.
Who wins: the page code or the zone?
One checkbox decides: Use these instead of the templates in the page code.
- Off (the default): the zone templates only fill in what the code on the page leaves out. A site that already passes its own templates keeps its look, and nothing changes for existing zones.
- On: the zone templates replace the ones in the page code. From then on the panel is where the design lives.
The CSS is added in both cases. Empty fields keep the page code or the default, so you can override only the ad template and leave the rest alone. The Native ad zones guide describes the zone settings and the layouts, and the Ad Controller article covers the templates the page code can pass.
The same thing through the API
Everything above is in the REST API as well. The zone code can be requested in any of the layouts, and the templates are part of the zone's native settings, so a publisher with many sites, or a script that manages zones, can roll one design out everywhere:
{"native_settings": {
"tpl_body": "<div class=\"my-ads\">{body}</div>",
"tpl_row": "<div class=\"my-row\">{items}</div>",
"tpl_item": "<a class=\"{href_itemid}\" href=\"#\">{image}<b>{title}</b>{description}</a>",
"tpl_css": ".my-ads{display:grid;gap:12px}",
"tpl_override": true
}
Each template holds up to 5,000 characters and the CSS up to 20,000. The templates are your own HTML for your own page, the same freedom the zone code always gave you.
Why it matters
- Publishers get a native block that looks designed on day one, and can keep tuning it without a release of their site. That matters most where the ad tag sits in a shared template that is slow to change.
- Networks and ad managers get fewer "how do I style this" questions: the answer is a pick from a list, with a preview.
- Advertisers get ads shown in a layout that fits the page, which is the whole point of buying native.
The layouts and templates work with the goCtrl ad tag, the one script that carries every zone on a page, and they are part of what a publisher ad server on GoAdserver offers out of the box.
About GoAdserver
GoAdserver is a white-label ad serving platform for ad networks, ad managers, publishers and advertisers: display, native, video, push and pop formats, RTB in both directions, real-time statistics and a full REST API under your own brand. Want to see the native layouts on your own inventory? Talk with our team.