# MediationAdRequest.Companion

# MediationAdRequest.Companion


```
public static class MediationAdRequest.Companion
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Use \[com.google.android.gms.ads.mediation.Adapter\] and \[com.google.android.gms.ads.mediation.MediationAdConfiguration\] instead.

## Summary

| ### Public methods |
|---|---|
| `static final int` | `[getTAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE](https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest.Companion#getTAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE())()` **This method is deprecated.** Use \[com.google.android.gms.ads.mediation.Adapter\] and \[com.google.android.gms.ads.mediation.MediationAdConfiguration\] instead. |
| `static final int` | `[getTAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE](https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest.Companion#getTAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE())()` **This method is deprecated.** Use \[com.google.android.gms.ads.mediation.Adapter\] and \[com.google.android.gms.ads.mediation.MediationAdConfiguration\] instead. |
| `static final int` | `[getTAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED](https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest.Companion#getTAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED())()` **This method is deprecated.** Use \[com.google.android.gms.ads.mediation.Adapter\] and \[com.google.android.gms.ads.mediation.MediationAdConfiguration\] instead. |

## Public methods

### getTAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE

```
public static final int [getTAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE](https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest.Companion#getTAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Use \[com.google.android.gms.ads.mediation.Adapter\] and \[com.google.android.gms.ads.mediation.MediationAdConfiguration\] instead.

As returned by `https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest#taggedForChildDirectedTreatment()`, indicates that the app should not be treated as child-directed for purposes of the Children's Online Privacy Protection Act (COPPA).

### getTAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE

```
public static final int [getTAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE](https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest.Companion#getTAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Use \[com.google.android.gms.ads.mediation.Adapter\] and \[com.google.android.gms.ads.mediation.MediationAdConfiguration\] instead.

As returned by `https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest#taggedForChildDirectedTreatment()`, indicates that the app should be treated as child-directed for purposes of the Children's Online Privacy Protection Act (COPPA).

### getTAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED

```
public static final int [getTAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED](https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest.Companion#getTAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Use \[com.google.android.gms.ads.mediation.Adapter\] and \[com.google.android.gms.ads.mediation.MediationAdConfiguration\] instead.

As returned by `https://developers.google.com/admob/android/next-gen/reference/com/google/android/gms/ads/mediation/MediationAdRequest#taggedForChildDirectedTreatment()`, indicates that the publisher has not specified whether the app should be treated as child-directed for purposes of the Children's Online Privacy Protection Act (COPPA).