ComboStrap Ads - Automatic In-Article Ads

Undraw Design Objectives Re 94pd

About

In-article Ads are ads that will show up in the page content.

This is an automatic placement which means that they follows a set of rule that:

  • 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.

How to enable automatic in-article ads ?

Enable

By default, in-article ads are not enabled.

You need to set the combo-conf-007 configuration to on.

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.

See ComboStrap Ads - Global Configuration

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:

  • the ad page inarticle1 will contain the first in-article ad.
  • the ad page inarticle2 will contain the second in-article ad.

Configuration

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.




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw Design Objectives Re 94pd
ComboStrap - Ads

Ads is a module that permits to add Ads snippet (known as Ad Unit) in your website. Ad Unit the location of your ad on the web page and its styling (most importantly the dimensions) There is...
Ad Sense Snippet
ComboStrap Ads - Ad Page

An ad page is a page that contains the ad snippet (ie a bit of code that defines the content of the ad). You can insert an ad page (ie an ad) via: a ad tag or via the auto in-article module ads...
Page Explorer List Name To Ui Region
Page-explorer: adding page navigation easily to your website

With the page-explorer component, you can add an explorer like panel that will list your pages in a list or collapsible tree fashion



Task Runner