Show / Hide Table of Contents

Class AdUnit

Inheritance
System.Object
AdUnit
Implements
Google.Apis.Requests.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.AdSenseHost.v4_1.Data
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class AdUnit : IDirectResponseSchema

Properties

Code

Identity code of this ad unit, not necessarily unique across ad clients.

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

ContentAdsSettings

Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

Declaration
[JsonProperty("contentAdsSettings")]
public virtual AdUnit.ContentAdsSettingsData ContentAdsSettings { get; set; }
Property Value
Type Description
AdUnit.ContentAdsSettingsData

CustomStyle

Custom style information specific to this ad unit.

Declaration
[JsonProperty("customStyle")]
public virtual AdStyle CustomStyle { get; set; }
Property Value
Type Description
AdStyle

ETag

The ETag of the item.

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

Id

Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

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

Kind

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

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

MobileContentAdsSettings

Settings specific to WAP mobile content ads (AFMC - deprecated).

Declaration
[JsonProperty("mobileContentAdsSettings")]
public virtual AdUnit.MobileContentAdsSettingsData MobileContentAdsSettings { get; set; }
Property Value
Type Description
AdUnit.MobileContentAdsSettingsData

Name

Name of this ad unit.

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

Status

Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. ACTIVE: Indicates that there has been activity on this ad unit in the last seven days. INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.

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

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top