Show / Hide Table of Contents

Class AccountsResource.AdclientsResource

The "adclients" collection of methods.

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

Constructors

AdclientsResource(IClientService)

Constructs a new resource.

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

Properties

Adunits

Gets the Adunits resource.

Declaration
public virtual AccountsResource.AdclientsResource.AdunitsResource Adunits { get; }
Property Value
Type Description
AccountsResource.AdclientsResource.AdunitsResource

Customchannels

Gets the Customchannels resource.

Declaration
public virtual AccountsResource.AdclientsResource.CustomchannelsResource Customchannels { get; }
Property Value
Type Description
AccountsResource.AdclientsResource.CustomchannelsResource

Urlchannels

Gets the Urlchannels resource.

Declaration
public virtual AccountsResource.AdclientsResource.UrlchannelsResource Urlchannels { get; }
Property Value
Type Description
AccountsResource.AdclientsResource.UrlchannelsResource

Methods

Get(string)

Gets the ad client from the given resource name.

Declaration
public virtual AccountsResource.AdclientsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the ad client to retrieve. Format: accounts/{account}/adclients/{adclient}

Returns
Type Description
AccountsResource.AdclientsResource.GetRequest

GetAdcode(string)

Gets the AdSense code for a given ad client. This returns what was previously known as the 'auto ad code'. This is only supported for ad clients with a product_code of AFC. For more information, see About the AdSense code.

Declaration
public virtual AccountsResource.AdclientsResource.GetAdcodeRequest GetAdcode(string name)
Parameters
Type Name Description
string name

Required. Name of the ad client for which to get the adcode. Format: accounts/{account}/adclients/{adclient}

Returns
Type Description
AccountsResource.AdclientsResource.GetAdcodeRequest

List(string)

Lists all the ad clients available in an account.

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

Required. The account which owns the collection of ad clients. Format: accounts/{account}

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