Show / Hide Table of Contents

Class Site

Representation of a Site.

Inheritance
System.Object
Site
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Adsense.v2.Data
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class Site : IDirectResponseSchema

Properties

AutoAdsEnabled

Whether auto ads is turned on for the site.

Declaration
[JsonProperty("autoAdsEnabled")]
public virtual bool? AutoAdsEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Domain

Domain (or subdomain) of the site, e.g. "example.com" or "www.example.com". This is used in the OWNED_SITE_DOMAIN_NAME reporting dimension.

Declaration
[JsonProperty("domain")]
public virtual string Domain { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

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

Name

Resource name of a site. Format: accounts/{account}/sites/{site}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

ReportingDimensionId

Output only. Unique ID of the site as used in the OWNED_SITE_ID reporting dimension.

Declaration
[JsonProperty("reportingDimensionId")]
public virtual string ReportingDimensionId { get; set; }
Property Value
Type Description
System.String

State

Output only. State of a site.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top