This package provides the InMobi mediation adapter for the Google Mobile
Ads (GMA) React Native SDK, supporting the React Native New Architecture
(TurboModules).

## Usage


To pass targeting parameters to InMobi, supply
`InMobiMediationExtras` in your
[`AdRequest`](https://developers.google.com/admob/react-native/reference/interface/AdRequest):

    import { AdRequest } from '@google/mobile-ads';
    import {
      InMobiMediationExtras,
      InMobiAgeGroup,
      InMobiEducation,
      InMobiLogLevel,
    } from 'gma-mediation-inmobi';

    const inmobiExtras = new InMobiMediationExtras({
      ageGroup: InMobiAgeGroup.BETWEEN_25_AND_29,
      education: InMobiEducation.COLLEGE_OR_GRADUATE,
      logLevel: InMobiLogLevel.DEBUG,
      postalCode: '12345',
      city: 'NY',
      state: 'NY',
      country: 'US',
      interests: 'sports',
      keywords: 'football',
    });

    const request: AdRequest = {
      adUnitId: 'YOUR_AD_UNIT_ID',
      mediationExtras: [inmobiExtras],
    };

*** ** * ** ***

| Classes ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtras` | Mediation extras for the InMobi adapter. |

| Interfaces ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams` | Parameters for configuring InMobi mediation extras. |

| Type Aliases ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiAgeGroup` | Type representing an InMobi target demographic age group. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiEducation` | Type representing an InMobi target demographic education level. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiLogLevel` | Type representing an InMobi SDK log level. |

| Variables ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediation` | InMobi mediation namespace export. |

### Type Aliases

*** ** * ** ***

#### InMobiAgeGroup

`InMobiAgeGroup: typeof https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiAgeGroup[keyof typeof https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiAgeGroup]` Type representing an InMobi target demographic age group.

| Properties ||
|---|---|
| `ABOVE_65` | User is above 65 years old. |
| `BELOW_18` | User is under 18 years old. |
| `BETWEEN_18_AND_24` | User is between 18 and 24 years old. |
| `BETWEEN_25_AND_29` | User is between 25 and 29 years old. |
| `BETWEEN_30_AND_34` | User is between 30 and 34 years old. |
| `BETWEEN_35_AND_44` | User is between 35 and 44 years old. |
| `BETWEEN_45_AND_54` | User is between 45 and 54 years old. |
| `BETWEEN_55_AND_65` | User is between 55 and 65 years old. |

*** ** * ** ***

#### InMobiEducation

`InMobiEducation: typeof https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiEducation[keyof typeof https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiEducation]` Type representing an InMobi target demographic education level.

| Properties ||
|---|---|
| `COLLEGE_OR_GRADUATE` | College or undergraduate graduate. |
| `HIGH_SCHOOL_OR_LESS` | High school education or less. |
| `POST_GRADUATE_OR_ABOVE` | Post-graduate or above. |

*** ** * ** ***

#### InMobiLogLevel

`InMobiLogLevel: typeof https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiLogLevel[keyof typeof https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiLogLevel]` Type representing an InMobi SDK log level.

| Properties ||
|---|---|
| `DEBUG` | Debug log level. |
| `ERROR` | Error log level. |
| `NONE` | Logging disabled. |

### Variables

*** ** * ** ***

#### `Const` InMobiMediation

`InMobiMediation: {} = {}` InMobi mediation namespace export.

*** ** * ** ***

## InMobiMediationExtras

Mediation extras for the InMobi adapter.

| Constructors ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtras.constructor` |   |

| Properties ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtras.androidAdapterClassName` | The Android mediation extra adapter class name. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtras.extras` | The extra parameters passed to the mediation adapter. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtras.iosAdapterClassName` | The iOS mediation extra adapter class name. |

### Constructors

*** ** * ** ***

#### constructor

`new InMobiMediationExtras(params?): https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtras`

| Parameters ||
|---|---|
| `` `Optional` params: https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams `` |   |

| Returns ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtras` |   |

### Properties

*** ** * ** ***

#### `Readonly` androidAdapterClassName

`androidAdapterClassName:
"com.google.mobileads.mediation.inmobi.InMobiMediationExtras"
=
"com.google.mobileads.mediation.inmobi.InMobiMediationExtras"` The Android mediation extra adapter class name.

*** ** * ** ***

#### `Readonly` extras

`extras: Readonly<Record<string, unknown>>` The extra parameters passed to the mediation adapter.

*** ** * ** ***

#### `Readonly` iosAdapterClassName

`iosAdapterClassName:
"GADRInMobiMediationExtras" = "GADRInMobiMediationExtras"` The iOS mediation extra adapter class name.

*** ** * ** ***

## InMobiMediationExtrasParams

Parameters for configuring InMobi mediation extras.

| Properties ||
|---|---|
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.age` | The exact age of the user. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.ageGroup` | The age group of the user. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.areaCode` | The area code of the user's location. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.city` | The city of the user's location. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.country` | The country of the user's location. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.education` | The education level of the user. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.interests` | Comma-separated list of user interests. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.keywords` | Comma-separated list of targeting keywords. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.language` | The preferred language of the user, such as an ISO language code. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.logLevel` | The log level for the InMobi SDK. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.postalCode` | The postal code of the user's location. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.state` | The state of the user's location. |
| `https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiMediationExtrasParams.yearOfBirth` | The year of birth of the user. |

### Properties

*** ** * ** ***

#### `Optional` `Readonly` age

`age?: number` The exact age of the user.

*** ** * ** ***

#### `Optional` `Readonly` ageGroup

`ageGroup?:
https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiAgeGroup` The age group of the user.

*** ** * ** ***

#### `Optional` `Readonly` areaCode

`areaCode?:
string` The area code of the user's location.

*** ** * ** ***

#### `Optional` `Readonly` city

`city?: string` The city of the user's location.

*** ** * ** ***

#### `Optional` `Readonly` country

`country?: string` The country of the user's location.

*** ** * ** ***

#### `Optional` `Readonly` education

`education?:
https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiEducation` The education level of the user.

*** ** * ** ***

#### `Optional` `Readonly` interests

`interests?:
string` Comma-separated list of user interests.

*** ** * ** ***

#### `Optional` `Readonly` keywords

`keywords?:
string` Comma-separated list of targeting keywords.

*** ** * ** ***

#### `Optional` `Readonly` language

`language?:
string` The preferred language of the user, such as an ISO language code.

*** ** * ** ***

#### `Optional` `Readonly` logLevel

`logLevel?:
https://developers.google.com/admob/react-native/reference/mediation/inmobi#InMobiLogLevel` The log level for the InMobi SDK.

*** ** * ** ***

#### `Optional` `Readonly`
postalCode

`postalCode?:
string` The postal code of the user's location.

*** ** * ** ***

#### `Optional` `Readonly` state

`state?: string` The state of the user's location.

*** ** * ** ***

#### `Optional` `Readonly`
yearOfBirth

`yearOfBirth?:
number` The year of birth of the user.