Class AccountsResource.AdUnitsResource.AdUnitMappingsResource
The "adUnitMappings" collection of methods.
Inherited Members
Namespace: Google.Apis.AdMob.v1beta
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class AccountsResource.AdUnitsResource.AdUnitMappingsResource
Constructors
AdUnitMappingsResource(IClientService)
Constructs a new resource.
Declaration
public AdUnitMappingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AdUnitMapping, string)
Create an ad unit mapping under the specific AdMob account and ad unit. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
Declaration
public virtual AccountsResource.AdUnitsResource.AdUnitMappingsResource.CreateRequest Create(AdUnitMapping body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AdUnitMapping | body | The body of the request. |
string | parent | Required. The parent which owns the ad unit mapping. Format: accounts/{publisher_id}/adUnits/{ad_unit_id} |
Returns
Type | Description |
---|---|
AccountsResource.AdUnitsResource.AdUnitMappingsResource.CreateRequest |
List(string)
List ad unit mappings under the specified AdMob account and ad unit. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
Declaration
public virtual AccountsResource.AdUnitsResource.AdUnitMappingsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent which owns this collection of ad unit mappings. Format: accounts/{publisher_id}/adUnits/{ad_unit_id} |
Returns
Type | Description |
---|---|
AccountsResource.AdUnitsResource.AdUnitMappingsResource.ListRequest |