Table of Contents

Class 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 AdunitsResource.GetAdCodeRequest : AdSenseBaseServiceRequest<AdCode>
Inheritance
AdunitsResource.GetAdCodeRequest
Inherited Members

Constructors

GetAdCodeRequest(IClientService, string, string)

Constructs a new GetAdCode request.

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

Parameters

service IClientService
adClientId string
adUnitId string

Properties

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()