Show / Hide Table of Contents

Class AccountsResource.AdUnitsResource

The "adUnits" collection of methods.

Inheritance
object
AccountsResource.AdUnitsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AdMob.v1beta
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class AccountsResource.AdUnitsResource

Constructors

AdUnitsResource(IClientService)

Constructs a new resource.

Declaration
public AdUnitsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

AdUnitMappings

Gets the AdUnitMappings resource.

Declaration
public virtual AccountsResource.AdUnitsResource.AdUnitMappingsResource AdUnitMappings { get; }
Property Value
Type Description
AccountsResource.AdUnitsResource.AdUnitMappingsResource

Methods

Create(AdUnit, string)

Creates an ad unit under the specified AdMob account. 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.CreateRequest Create(AdUnit body, string parent)
Parameters
Type Name Description
AdUnit body

The body of the request.

string parent

Required. Resource name of the account to create the specified ad unit for. Example: accounts/pub-9876543210987654

Returns
Type Description
AccountsResource.AdUnitsResource.CreateRequest

List(string)

List the ad units under the specified AdMob account.

Declaration
public virtual AccountsResource.AdUnitsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Resource name of the account to list ad units for. Example: accounts/pub-9876543210987654

Returns
Type Description
AccountsResource.AdUnitsResource.ListRequest
In this article
Back to top Generated by DocFX