Class AccountsResource.AdclientsResource
The "adclients" collection of methods.
Inheritance
System.Object
AccountsResource.AdclientsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class 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
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 |
---|---|---|
System.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 |
---|---|---|
System.String | parent | Required. The account which owns the collection of ad clients. Format: accounts/{account} |
Returns
Type | Description |
---|---|
AccountsResource.AdclientsResource.ListRequest |