| Package | Description |
|---|---|
| com.google.api.services.admob.v1.model |
| Modifier and Type | Method and Description |
|---|---|
AdUnit |
AdUnit.clone() |
AdUnit |
AdUnit.set(String fieldName,
Object value) |
AdUnit |
AdUnit.setAdFormat(String adFormat)
AdFormat of the ad unit.
|
AdUnit |
AdUnit.setAdTypes(List<String> adTypes)
Ad media type supported by this ad unit.
|
AdUnit |
AdUnit.setAdUnitId(String adUnitId)
The externally visible ID of the ad unit which can be used to integrate with the AdMob SDK.
|
AdUnit |
AdUnit.setAppId(String appId)
The externally visible ID of the app this ad unit is associated with.
|
AdUnit |
AdUnit.setDisplayName(String displayName)
The display name of the ad unit as shown in the AdMob UI, which is provided by the user.
|
AdUnit |
AdUnit.setName(String name)
Resource name for this ad unit.
|
| Modifier and Type | Method and Description |
|---|---|
List<AdUnit> |
ListAdUnitsResponse.getAdUnits()
The resulting ad units for the requested account.
|
| Modifier and Type | Method and Description |
|---|---|
ListAdUnitsResponse |
ListAdUnitsResponse.setAdUnits(List<AdUnit> adUnits)
The resulting ad units for the requested account.
|
Copyright © 2011–2021 Google. All rights reserved.