Skip to main content

Integration Overview

Publisher integration is two components:
  • AdMeshProvider for SDK/session initialization
  • AdMeshIntentAssistant for floating contextual suggestions

Full Page Integration (Next.js / React)


Key Props

AdMeshProvider

AdMeshIntentAssistant


Best Practices for Publishers

  • Keep the assistant on content-heavy pages where user intent is clearer
  • Start with size="md" and position="bottom-right" for minimal disruption

Troubleshooting

Verify the component is inside AdMeshProvider and apiKey/sessionId are non-empty.
Confirm your key is valid and that your content page has enough meaningful text/context.
Ensure sessionId is stable for the page lifecycle and not regenerated on every render.