public class AdMob.Accounts.AdUnits.AdUnitMappings extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AdMob.Accounts.AdUnits.AdUnitMappings.Create |
class |
AdMob.Accounts.AdUnits.AdUnitMappings.List |
| Constructor and Description |
|---|
AdUnitMappings() |
| Modifier and Type | Method and Description |
|---|---|
AdMob.Accounts.AdUnits.AdUnitMappings.Create |
create(String parent,
AdUnitMapping content)
Create an ad unit mapping under the specific AdMob account and ad unit.
|
AdMob.Accounts.AdUnits.AdUnitMappings.List |
list(String parent)
List ad unit mappings under the specified AdMob account and ad unit.
|
public AdMob.Accounts.AdUnits.AdUnitMappings.Create create(String parent, AdUnitMapping content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent which owns the ad unit mapping. Format:
accounts/{publisher_id}/adUnits/{ad_unit_id}content - the AdUnitMappingIOExceptionpublic AdMob.Accounts.AdUnits.AdUnitMappings.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent which owns this collection of ad unit mappings. Format:
accounts/{publisher_id}/adUnits/{ad_unit_id}IOExceptionCopyright © 2011–2023 Google. All rights reserved.