Class AccountsResource.AdunitsResource
The "adunits" collection of methods.
Inheritance
System.Object
AccountsResource.AdunitsResource
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.v1_4
Assembly: Google.Apis.AdSense.v1_4.dll
Syntax
public class AdunitsResource
Constructors
AdunitsResource(IClientService)
Constructs a new resource.
Declaration
public AdunitsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Properties
Customchannels
Gets the Customchannels resource.
Declaration
public virtual AccountsResource.AdunitsResource.CustomchannelsResource Customchannels { get; }
Property Value
Type | Description |
---|---|
AccountsResource.AdunitsResource.CustomchannelsResource |
Methods
Get(String, String, String)
Gets the specified ad unit in the specified ad client for the specified account.
Declaration
public virtual AccountsResource.AdunitsResource.GetRequest Get(string accountId, string adClientId, string adUnitId)
Parameters
Type | Name | Description |
---|---|---|
System.String | accountId | Account to which the ad client belongs. |
System.String | adClientId | Ad client for which to get the ad unit. |
System.String | adUnitId | Ad unit to retrieve. |
Returns
Type | Description |
---|---|
AccountsResource.AdunitsResource.GetRequest |
GetAdCode(String, String, String)
Get ad code for the specified ad unit.
Declaration
public virtual AccountsResource.AdunitsResource.GetAdCodeRequest GetAdCode(string accountId, string adClientId, string adUnitId)
Parameters
Type | Name | Description |
---|---|---|
System.String | accountId | Account which contains the ad client. |
System.String | adClientId | Ad client with contains the ad unit. |
System.String | adUnitId | Ad unit to get the code for. |
Returns
Type | Description |
---|---|
AccountsResource.AdunitsResource.GetAdCodeRequest |
List(String, String)
List all ad units in the specified ad client for the specified account.
Declaration
public virtual AccountsResource.AdunitsResource.ListRequest List(string accountId, string adClientId)
Parameters
Type | Name | Description |
---|---|---|
System.String | accountId | Account to which the ad client belongs. |
System.String | adClientId | Ad client for which to list ad units. |
Returns
Type | Description |
---|---|
AccountsResource.AdunitsResource.ListRequest |