Table of Contents

Class AccountsResource.AdunitsResource.GetAdCodeRequest

Namespace
Google.Apis.AdSense.v1_4
Assembly
Google.Apis.AdSense.v1_4.dll

Get ad code for the specified ad unit.

public class AccountsResource.AdunitsResource.GetAdCodeRequest : AdSenseBaseServiceRequest<AdCode>
Inheritance
AccountsResource.AdunitsResource.GetAdCodeRequest
Inherited Members

Constructors

GetAdCodeRequest(IClientService, string, string, string)

Constructs a new GetAdCode request.

public GetAdCodeRequest(IClientService service, string accountId, string adClientId, string adUnitId)

Parameters

service IClientService
accountId string
adClientId string
adUnitId string

Properties

AccountId

Account which contains the ad client.

public virtual string AccountId { get; }

Property Value

string

AdClientId

Ad client with contains the ad unit.

public virtual string AdClientId { get; }

Property Value

string

AdUnitId

Ad unit to get the code for.

public virtual string AdUnitId { get; }

Property Value

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

Methods

InitParameters()

Initializes GetAdCode parameter list.

protected override void InitParameters()