Show / Hide Table of Contents

Class AccountsResource

The "accounts" collection of methods.

Inheritance
object
AccountsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AccountsResource

Constructors

AccountsResource(IClientService)

Constructs a new resource.

Declaration
public AccountsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Adclients

Gets the Adclients resource.

Declaration
public virtual AccountsResource.AdclientsResource Adclients { get; }
Property Value
Type Description
AccountsResource.AdclientsResource

Alerts

Gets the Alerts resource.

Declaration
public virtual AccountsResource.AlertsResource Alerts { get; }
Property Value
Type Description
AccountsResource.AlertsResource

Payments

Gets the Payments resource.

Declaration
public virtual AccountsResource.PaymentsResource Payments { get; }
Property Value
Type Description
AccountsResource.PaymentsResource

PolicyIssues

Gets the PolicyIssues resource.

Declaration
public virtual AccountsResource.PolicyIssuesResource PolicyIssues { get; }
Property Value
Type Description
AccountsResource.PolicyIssuesResource

Reports

Gets the Reports resource.

Declaration
public virtual AccountsResource.ReportsResource Reports { get; }
Property Value
Type Description
AccountsResource.ReportsResource

Sites

Gets the Sites resource.

Declaration
public virtual AccountsResource.SitesResource Sites { get; }
Property Value
Type Description
AccountsResource.SitesResource

Methods

Get(string)

Gets information about the selected AdSense account.

Declaration
public virtual AccountsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Account to get information about. Format: accounts/{account}

Returns
Type Description
AccountsResource.GetRequest

GetAdBlockingRecoveryTag(string)

Gets the ad blocking recovery tag of an account.

Declaration
public virtual AccountsResource.GetAdBlockingRecoveryTagRequest GetAdBlockingRecoveryTag(string name)
Parameters
Type Name Description
string name

Required. The name of the account to get the tag for. Format: accounts/{account}

Returns
Type Description
AccountsResource.GetAdBlockingRecoveryTagRequest

List()

Lists all accounts available to this user.

Declaration
public virtual AccountsResource.ListRequest List()
Returns
Type Description
AccountsResource.ListRequest

ListChildAccounts(string)

Lists all accounts directly managed by the given AdSense account.

Declaration
public virtual AccountsResource.ListChildAccountsRequest ListChildAccounts(string parent)
Parameters
Type Name Description
string parent

Required. The parent account, which owns the child accounts. Format: accounts/{account}

Returns
Type Description
AccountsResource.ListChildAccountsRequest
In this article
Back to top Generated by DocFX