Inline ad is an ad format that is designed to be embedded in assistant response. It follows both the content and tone of the response to smoothly mention a product or service relevant to the conversation.

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