Class AdEvent
An ad event.
Implements
Inherited Members
Namespace: Google.Apis.DataManager.v1.Data
Assembly: Google.Apis.DataManager.v1.dll
Syntax
public class AdEvent : IDirectResponseSchema
Properties
AdFormat
Enum value for ad format.
Declaration
[JsonProperty("adFormat")]
public virtual string AdFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdFormatString
String value for ad format.
Declaration
[JsonProperty("adFormatString")]
public virtual string AdFormatString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdGroupId
Optional. The ID of the associated ad group.
Declaration
[JsonProperty("adGroupId")]
public virtual string AdGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdHeight
Optional. The height of the ad in pixels.
Declaration
[JsonProperty("adHeight")]
public virtual int? AdHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
AdId
Optional. The ID of the associated ad within the group.
Declaration
[JsonProperty("adId")]
public virtual string AdId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdPlacement
Enum value for ad placement.
Declaration
[JsonProperty("adPlacement")]
public virtual string AdPlacement { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdPlacementString
String value for ad placement.
Declaration
[JsonProperty("adPlacementString")]
public virtual string AdPlacementString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdType
Enum value for ad type.
Declaration
[JsonProperty("adType")]
public virtual string AdType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdTypeString
String value for ad type.
Declaration
[JsonProperty("adTypeString")]
public virtual string AdTypeString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdWidth
Optional. The width of the ad in pixels.
Declaration
[JsonProperty("adWidth")]
public virtual int? AdWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
AdvertiserId
Required. The ID of the advertiser for the ad event. This must match the ID sent in the linking flow.
Declaration
[JsonProperty("advertiserId")]
public virtual string AdvertiserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AttributionHint
Optional. The partner-assumed attribution status for this ad event. This acts only as a signal for how the partner assumed attribution played out, and does not force an end result in final reports.
Declaration
[JsonProperty("attributionHint")]
public virtual string AttributionHint { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CampaignId
Required. The ID of the associated campaign.
Declaration
[JsonProperty("campaignId")]
public virtual string CampaignId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CampaignName
Required. The name of the associated campaign.
Declaration
[JsonProperty("campaignName")]
public virtual string CampaignName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DeviceInfo
Optional. Information gathered about the device being used when the ad event happened.
Declaration
[JsonProperty("deviceInfo")]
public virtual DeviceInfo DeviceInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| DeviceInfo |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventId
Optional. An ID created and managed by the caller that uniquely identifies this event. Required if you want to deduplicate ad events that are included in multiple requests. Otherwise, this field is optional.
Declaration
[JsonProperty("eventId")]
public virtual string EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventSubtype
Enum value for event subtype.
Declaration
[JsonProperty("eventSubtype")]
public virtual string EventSubtype { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventSubtypeString
String value for event subtype.
Declaration
[JsonProperty("eventSubtypeString")]
public virtual string EventSubtypeString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventType
Required. The type of the event.
Declaration
[JsonProperty("eventType")]
public virtual string EventType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MeasurementAllowed
Optional. Represents if the row is allowed to be used for measurement purposes, as governed by applicable privacy laws within regional jurisdiction.
Declaration
[JsonProperty("measurementAllowed")]
public virtual bool? MeasurementAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Medium
Required. The medium of the ad, akin to the Google Analytics medium.
Declaration
[JsonProperty("medium")]
public virtual string Medium { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MobileDeviceId
Optional. The device ID of the device that the ad was served to.
Declaration
[JsonProperty("mobileDeviceId")]
public virtual string MobileDeviceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Platform
Enum value for platform.
Declaration
[JsonProperty("platform")]
public virtual string Platform { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlatformString
String value for platform.
Declaration
[JsonProperty("platformString")]
public virtual string PlatformString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlatformType
Enum value for platform type.
Declaration
[JsonProperty("platformType")]
public virtual string PlatformType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlatformTypeString
String value for platform type.
Declaration
[JsonProperty("platformTypeString")]
public virtual string PlatformTypeString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegionCode
Required. The ISO 3166-2 country plus subdivision.
Declaration
[JsonProperty("regionCode")]
public virtual string RegionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Source
Required. The platform source of the ad, akin to the Google Analytics source.
Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetingType
Enum value for targeting type.
Declaration
[JsonProperty("targetingType")]
public virtual string TargetingType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetingTypeString
String value for targeting type.
Declaration
[JsonProperty("targetingTypeString")]
public virtual string TargetingTypeString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Timestamp
object representation of TimestampRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimestampDateTimeOffset instead.")]
public virtual object Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
TimestampDateTimeOffset
DateTimeOffset representation of TimestampRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimestampDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
TimestampRaw
Required. The time the event occurred.
Declaration
[JsonProperty("timestamp")]
public virtual string TimestampRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserData
Optional. Multiple pieces of user-provided data, representing the user the event is associated with. It is possible to provide multiple instances of the same type of data (e.g. email address). The more data provided, the more likely a match will be found.
Declaration
[JsonProperty("userData")]
public virtual UserData UserData { get; set; }
Property Value
| Type | Description |
|---|---|
| UserData |
ViewabilityInfo
Required. Details of the viewability of the ad served.
Declaration
[JsonProperty("viewabilityInfo")]
public virtual ViewabilityInfo ViewabilityInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| ViewabilityInfo |