ComboStrap Ads - Automatic In-Article Ads
Table of Contents
1 - About
In-article Ads are ads that will show up in the page content.
- spread the ads roughly to have one ad on the screen.
- does not break the reading experience by placing them before a heading and not between paragraph.
This placement conforms to most of the Ads network rules.
2 - Articles Related
3 - How to enable automatic in-article ads ?
3.1 - Enable the Renderer
The Combo Renderer is responsible to inject the ad in the page.
You need to configure it as your renderer.
3.2 - Exclude the ads page from the index
Because the ads are stored as page, they are by default added to the index.
You need to set a configuration to prevent it.
3.3 - Create your ads
At this point, no ads is shown because no ads have been created.
To show in-article ads, you need to create Ads pages that follow this naming convention.
inarticleX
where X is the Ads number in the page and starts at 1.
For instance:
4 - Configuration
4.1 - AdsInArticleShowPlaceholder
AdsInArticleShowPlaceholder is a configuration that will show a placeholder when a in-article ads page is not found.
This is a debugging configuration and is therefore by default off.