Box ad is an ad format that generates a textual ad that matches the content and tone of the response, along with showing a small image of the associated product or brand.

How to use a BoxAd

  • 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
<BoxAd code="<your-code>" messageId="<unique-message-id>" />

Custom styling

  • .mb-box-ad - Top level wrapper class
  • .mb-box-ad-row - Inner div containing image and text
  • .mb-box-ad-image - Image wrapper class
  • .mb-box-ad-text - Text wrapper class