Table of Contents

Class AdSenseBaseServiceRequest<TResponse>

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

A base abstract class for AdSense requests.

public abstract class AdSenseBaseServiceRequest<TResponse> : ClientServiceRequest<TResponse>

Type Parameters

TResponse
Inheritance
AdSenseBaseServiceRequest<TResponse>
Derived

Constructors

AdSenseBaseServiceRequest(IClientService)

Constructs a new AdSenseBaseServiceRequest instance.

protected AdSenseBaseServiceRequest(IClientService service)

Parameters

service IClientService

Properties

Alt

Data format for the response.

public virtual AdSenseBaseServiceRequest<TResponse>.AltEnum? Alt { get; set; }

Property Value

AdSenseBaseServiceRequest<TResponse>.AltEnum?

Fields

Selector specifying which fields to include in a partial response.

public virtual string Fields { get; set; }

Property Value

string

Key

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

public virtual string Key { get; set; }

Property Value

string

OauthToken

OAuth 2.0 token for the current user.

public virtual string OauthToken { get; set; }

Property Value

string

PrettyPrint

Returns response with indentations and line breaks.

public virtual bool? PrettyPrint { get; set; }

Property Value

bool?

QuotaUser

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.

public virtual string QuotaUser { get; set; }

Property Value

string

UserIp

IP address of the site where the request originates. Use this if you want to enforce per-user limits.

public virtual string UserIp { get; set; }

Property Value

string

Methods

InitParameters()

Initializes AdSense parameter list.

protected override void InitParameters()