Class AssociationsessionsResource
The "associationsessions" collection of methods.
Inherited Members
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 |