Show / Hide Table of Contents

Class AssociationsessionsResource

The "associationsessions" collection of methods.

Inheritance
object
AssociationsessionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AdSenseHost.v4_1
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class AssociationsessionsResource

Constructors

AssociationsessionsResource(IClientService)

Constructs a new resource.

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

Methods

Start(ProductCodeEnum, string)

Create an association session for initiating an association with an AdSense user.

Declaration
public virtual AssociationsessionsResource.StartRequest Start(AssociationsessionsResource.StartRequest.ProductCodeEnum productCode, string websiteUrl)
Parameters
Type Name Description
AssociationsessionsResource.StartRequest.ProductCodeEnum productCode

Products to associate with the user.

string websiteUrl

The URL of the user's hosted website.

Returns
Type Description
AssociationsessionsResource.StartRequest

Verify(string)

Verify an association session after the association callback returns from AdSense signup.

Declaration
public virtual AssociationsessionsResource.VerifyRequest Verify(string token)
Parameters
Type Name Description
string token

The token returned to the association callback URL.

Returns
Type Description
AssociationsessionsResource.VerifyRequest
In this article
Back to top Generated by DocFX