InlineAd is our most versatile format that can be used embedded in assistant response or standalone in a separate div. It supports rendering text and additionally videos & images above or below the ad text.

How to use an InlineAd

  • code - Code for unique identification of the ad placement (you get this code from us during onboarding)

  • messageId - Unique ID of the message the ad is tied to

<InlineAd code="<your-code>" messageId="<unique-message-id>" />

Custom styling

  • .mb-inline-ad - Classname of the div wrapping the ad

  • .mb-inline-ad a - Link within the div that points to the ad

  • .mb-ad-badge - Badge at the start of the ad

  • .mb-ad-badge-text - Text within the ad badge