Table of Contents

Class AdUnit

Namespace
Google.Apis.AdSense.v1_4.Data
Assembly
Google.Apis.AdSense.v1_4.dll
public class AdUnit : IDirectResponseSchema
Inheritance
AdUnit
Implements
IDirectResponseSchema
Inherited Members

Constructors

AdUnit()

public AdUnit()

Properties

Code

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

public virtual string Code { get; set; }

Property Value

string

ContentAdsSettings

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

public virtual AdUnit.ContentAdsSettingsData ContentAdsSettings { get; set; }

Property Value

AdUnit.ContentAdsSettingsData

CustomStyle

Custom style information specific to this ad unit.

public virtual AdStyle CustomStyle { get; set; }

Property Value

AdStyle

ETag

The ETag of the item.

public virtual string ETag { get; set; }

Property Value

string

FeedAdsSettings

Settings specific to feed ads (AFF) - deprecated.

public virtual AdUnit.FeedAdsSettingsData FeedAdsSettings { get; set; }

Property Value

AdUnit.FeedAdsSettingsData

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.

public virtual string Id { get; set; }

Property Value

string

Kind

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

public virtual string Kind { get; set; }

Property Value

string

MobileContentAdsSettings

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

public virtual AdUnit.MobileContentAdsSettingsData MobileContentAdsSettings { get; set; }

Property Value

AdUnit.MobileContentAdsSettingsData

Name

Name of this ad unit.

public virtual string Name { get; set; }

Property Value

string

SavedStyleId

ID of the saved ad style which holds this ad unit's style information.

public virtual string SavedStyleId { get; set; }

Property Value

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.
public virtual string Status { get; set; }

Property Value

string