Brightspot CMS User Guide

Injecting ads into body text


You can inject ads between paragraphs in an asset's body text.

To inject ads into body text:

  1. Configure an ad module as described in Creating ad modules.
  2. Click menu > Admin > Sites & Settings.
  3. In the Sites widget, select the site for which you are injecting ads into body text, or select Global to inject ads into all assets' body text.
  4. Click search, located to the left of more_horiz, and type Injection.
  5. Toggle off Disable All Injection.
  6. Under Injection Profiles, click add_circle_outline Add Item.
  7. Click Create New and select Rich Text Injector.
    Note
    The steps listed here go through the entire process of creating a new rich text injector profile. If the rich text injector profile you need already exists, you can select it from the Injection Profiles list and then click Save to complete this process.
    Rich text injector profile set to article.jpg Rich text injector profile set to article.jpg
    New rich text injector profile set to the Article content type
  8. Toggle on Enabled.
  9. From the Types list, select the content types into which you want to inject ads.
  10. In the Rich Text Element field, select Ad Module.
  11. In the Ad field, select the ad moduleto be injected.
  12. In the Offset field, enter the number of components before which no ad appears. For example, if you enter 3, Brightspot injects the first ad after the third component in the content type selected.
  13. In the Frequency field, enter the number of components between each ad. For example, if you enter 4, Brightspot injects an ad after each four components.
  14. In the Limit field, enter the maximum number of ads to appear in a listicle. For example, if you enter 2, Brightspot injects up to two ads in the content type selected.
  15. In the Count Enhancements in Frequency field, do one of the following:
    • Toggle on if you want your entries in the Offset, Frequency, and Limit fields to account for enhancements (such as images, videos, or audios).
    • Toggle off if you want your entries in the Offset, Frequency, and Limit fields to account only for paragraphs.

    See the examples below.

  16. Click Save.
  17. Click Back.
  18. In the Injection Profiles field, select the rich text injector you just created, and close the content picker.
  19. Click Save.

Example 1: Ad injection accounting for enhancements

Assume you configure ad injection as follows:

  • Offset is 2.
  • Frequency is 3.
  • Limit is 3.
  • Count enhancements in frequency is on.

The following drawing provides an example of ad injection with this configuration.

Ad Injection Rich Text With Enhancements Ad Injection Rich Text With Enhancements

  • The first ad appears after the second paragraph.
  • The second ad appears after two paragraphs and one image enhancement.
  • The third and final ad also appears after two paragraphs and one image enhancement.

Example 2: Ad injection ignoring enhancements

Assume you configure ad injection as follows:

  • Offset is 2.
  • Frequency is 3.
  • Limit is 3.
  • Count enhancements in frequency is off.

The following drawing provides an example of ad injection with this configuration.

Ad Injection Rich Text Without Enhancements Ad Injection Rich Text Without Enhancements

  • The first ad appears after two paragraphs.
  • The second ad appears after three paragraphs (ignoring the image).
Previous Topic
Creating ad modules
Next Topic
Injecting ads into a listicle
Was this topic helpful?
Thanks for your feedback.
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Content types
Modules
Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News