Prebid Server

Introduction

This topic provides a unified approach to integrating InMobi with Prebid Server across both mobile (in-app) and web platforms. It outlines the requirements, integration steps, and partner dashboard configurations necessary to enable header bidding through Prebid Server with InMobi demand. Whether you're working with a mobile app, mobile web, or desktop web environment, this guide will walk you through the complete integration process.

Requirements

To successfully integrate InMobi with Prebid Server, ensure you meet the following prerequisites:

  • InMobi Account: You must have an active account on the InMobi Publisher Dashboard to access inventory settings, reporting, and account configuration. For more information, see Create InMobi Account.
  • Prebid Account: You must have an active account on Prebid.
  • Inventory Setup: Create ad placements in your InMobi Publisher Dashboard. The following environments are supported:
    • Mobile
    • Web
  • Auction Type Support:
    • Mobile (In-App): Supports in-app header bidding (audience bidding via Prebid Server).
    • Web: Supports client-side and server-side header bidding.

Integrate

Use the toggles below to view platform-specific integration instructions.

Mobile

  1. Ensure your app includes the required InMobi SDK version. For more information on the InMobi SDK, see Download SDK.
  2. Configure your mediation platform to support server-side bidding via Prebid Server.
  3. In Prebid Server, add the InMobi bidder module to your configuration.
  4. Pass the appId and placement ID in the request payload.
  5. Ensure GDPR/CCPA consent strings are passed if applicable.

Web

  1. Include the Prebid.js library on your page with the InMobi bidder module enabled.
  2. Define your ad units and set bidder: 'inmobi' with the required parameters:
    {
      code: 'ad-slot-1',
      mediaTypes: { banner: { sizes: [[300, 250]] }},
      bids: [{
        bidder: 'inmobi',
        params: {
          placementId: '<PLACEMENT_ID>',
          publisherId: '<PUBLISHER_ID>',
          tagId: '<TAG_ID>',
        }
      }]
    }
    
  3. Initialize the Prebid auction and configure the ad server (e.g., Google Ad Manager).
  4. Include user sync and consent handling in compliance with privacy regulations.

Configure Dashboard

Use the toggle below to view the differences in dashboard configuration across platforms.

Mobile

  1. Log in to the InMobi Publisher Dashboard.
  2. Navigate to Inventory &gt; Add Placement.
  3. Select App, and input your app store details.
  4. Choose the ad format (banner, interstitial, etc.) and save the placement.
  5. Note the Placement ID and Account ID for use in your Prebid configuration.

Web

  1. Go to Inventory &gt; Add Placement.
  2. Select Site, and enter your domain details.
  3. Define ad units and supported formats.
  4. Retrieve the Placement ID and ensure it's mapped correctly in your Prebid.js setup.

For further assistance, Contact Us.

On This Page

Last Updated on: 15 Oct, 2025