Class AccountsResource.AdunitsResource.GetRequest
Gets the specified ad unit in the specified ad client for the specified account.
Inheritance
System.Object
AccountsResource.AdunitsResource.GetRequest
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 GetRequest : AdSenseBaseServiceRequest<AdUnit>, IClientServiceRequest<AdUnit>, IClientServiceRequest
Constructors
GetRequest(IClientService, String, String, String)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string accountId, string adClientId, string adUnitId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | accountId | |
| System.String | adClientId | |
| System.String | adUnitId |
Properties
AccountId
Account to which the ad client belongs.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
AdClientId
Ad client for which to get the ad unit.
Declaration
[RequestParameter("adClientId", RequestParameterType.Path)]
public virtual string AdClientId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
AdUnitId
Ad unit to retrieve.
Declaration
[RequestParameter("adUnitId", RequestParameterType.Path)]
public virtual string AdUnitId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnit>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnit>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnit>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.AdSense.v1_4.AdSenseBaseServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnit>.InitParameters()