Show / Hide Table of Contents

Class AdUnit

Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.

Inheritance
object
AdUnit
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.Adsense.v2.Data
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AdUnit : IDirectResponseSchema

Properties

ContentAdsSettings

Required. Settings specific to content ads (AFC).

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

DisplayName

Required. Display name of the ad unit, as provided when the ad unit was created.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { 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

Name

Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}

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

ReportingDimensionId

Output only. Unique ID of the ad unit as used in the AD_UNIT_ID reporting dimension.

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

State

Required. State of the ad unit.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX