Table of Contents

Class AccountsResource.AdunitsResource

Namespace
Google.Apis.AdSense.v1_4
Assembly
Google.Apis.AdSense.v1_4.dll

The "adunits" collection of methods.

public class AccountsResource.AdunitsResource
Inheritance
AccountsResource.AdunitsResource
Inherited Members

Constructors

AdunitsResource(IClientService)

Constructs a new resource.

public AdunitsResource(IClientService service)

Parameters

service IClientService

Properties

Customchannels

Gets the Customchannels resource.

public virtual AccountsResource.AdunitsResource.CustomchannelsResource Customchannels { get; }

Property Value

AccountsResource.AdunitsResource.CustomchannelsResource

Methods

Get(string, string, string)

Gets the specified ad unit in the specified ad client for the specified account.

public virtual AccountsResource.AdunitsResource.GetRequest Get(string accountId, string adClientId, string adUnitId)

Parameters

accountId string

Account to which the ad client belongs.

adClientId string

Ad client for which to get the ad unit.

adUnitId string

Ad unit to retrieve.

Returns

AccountsResource.AdunitsResource.GetRequest

GetAdCode(string, string, string)

Get ad code for the specified ad unit.

public virtual AccountsResource.AdunitsResource.GetAdCodeRequest GetAdCode(string accountId, string adClientId, string adUnitId)

Parameters

accountId string

Account which contains the ad client.

adClientId string

Ad client with contains the ad unit.

adUnitId string

Ad unit to get the code for.

Returns

AccountsResource.AdunitsResource.GetAdCodeRequest

List(string, string)

List all ad units in the specified ad client for the specified account.

public virtual AccountsResource.AdunitsResource.ListRequest List(string accountId, string adClientId)

Parameters

accountId string

Account to which the ad client belongs.

adClientId string

Ad client for which to list ad units.

Returns

AccountsResource.AdunitsResource.ListRequest