Some users might want to change the div container Advanced Ads uses for ad placeholders in Advanced Ads Pro cache-busting or when some output options like a margin are selected.

The code below changes the div into an article container.

Please notice that this could break some other part in Advanced Ads, especially JavaScript-based ad placements. Changing the container element is not officially supported.

A user of Advanced Ads shares his implementation of the above code limiting it by single ads (instead of ads and groups).

See this gist.

 Code-Snippets