Show / Hide Table of Contents

Class AssociationSession

Inheritance
object
AssociationSession
Implements
IDirectResponseSchema
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.Data
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class AssociationSession : IDirectResponseSchema

Properties

AccountId

Hosted account id of the associated publisher after association. Present if status is ACCEPTED.

Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

Unique identifier of this association session.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

Kind

Kind of resource this is, in this case adsensehost#associationSession.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

ProductCodes

The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated)

Declaration
[JsonProperty("productCodes")]
public virtual IList<string> ProductCodes { get; set; }
Property Value
Type Description
IList<string>

RedirectUrl

Redirect URL of this association session. Used to redirect users into the AdSense association flow.

Declaration
[JsonProperty("redirectUrl")]
public virtual string RedirectUrl { get; set; }
Property Value
Type Description
string

Status

Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.

Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type Description
string

UserLocale

The preferred locale of the user themselves when going through the AdSense association flow.

Declaration
[JsonProperty("userLocale")]
public virtual string UserLocale { get; set; }
Property Value
Type Description
string

WebsiteLocale

The locale of the user's hosted website.

Declaration
[JsonProperty("websiteLocale")]
public virtual string WebsiteLocale { get; set; }
Property Value
Type Description
string

WebsiteUrl

The URL of the user's hosted website.

Declaration
[JsonProperty("websiteUrl")]
public virtual string WebsiteUrl { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX