Show / Hide Table of Contents

Class AccountsResource.AdunitsResource.GetAdCodeRequest

Get ad code for the specified ad unit.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<AdCode>
AdSenseBaseServiceRequest<AdCode>
AccountsResource.AdunitsResource.GetAdCodeRequest
Implements
Google.Apis.Requests.IClientServiceRequest<AdCode>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
AdSenseBaseServiceRequest<AdCode>.Alt
AdSenseBaseServiceRequest<AdCode>.Fields
AdSenseBaseServiceRequest<AdCode>.Key
AdSenseBaseServiceRequest<AdCode>.OauthToken
AdSenseBaseServiceRequest<AdCode>.PrettyPrint
AdSenseBaseServiceRequest<AdCode>.QuotaUser
AdSenseBaseServiceRequest<AdCode>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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 GetAdCodeRequest : AdSenseBaseServiceRequest<AdCode>, IClientServiceRequest<AdCode>, IClientServiceRequest

Constructors

GetAdCodeRequest(IClientService, String, String, String)

Constructs a new GetAdCode request.

Declaration
public GetAdCodeRequest(IClientService service, string accountId, string adClientId, string adUnitId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
System.String accountId
System.String adClientId
System.String adUnitId

Properties

AccountId

Account which contains the ad client.

Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type Description
System.String

AdClientId

Ad client with contains the ad unit.

Declaration
[RequestParameter("adClientId", RequestParameterType.Path)]
public virtual string AdClientId { get; }
Property Value
Type Description
System.String

AdUnitId

Ad unit to get the code for.

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.AdCode>.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.AdCode>.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.AdCode>.RestPath

Methods

InitParameters()

Initializes GetAdCode parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AdSense.v1_4.AdSenseBaseServiceRequest<Google.Apis.AdSense.v1_4.Data.AdCode>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top