Class AdEvent
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class AdEvent : IMessage<AdEvent>, IEquatable<AdEvent>, IDeepCloneable<AdEvent>, IBufferMessage, IMessage
Constructors
AdEvent()
Declaration
AdEvent(AdEvent)
Declaration
public AdEvent(AdEvent other)
Parameters
| Type |
Name |
Description |
| AdEvent |
other |
|
Properties
Enum value for ad format.
Declaration
public AdFormat AdFormat { get; set; }
Property Value
Declaration
public AdEvent.AdFormatOneofOneofCase AdFormatOneofCase { get; }
Property Value
String value for ad format.
Declaration
public string AdFormatString { get; set; }
Property Value
AdGroupId
Optional. The ID of the associated ad group.
Declaration
public string AdGroupId { get; set; }
Property Value
AdHeight
Optional. The height of the ad in pixels.
Declaration
public int AdHeight { get; set; }
Property Value
AdId
Optional. The ID of the associated ad within the group.
Declaration
public string AdId { get; set; }
Property Value
AdPlacement
Enum value for ad placement.
Declaration
public AdPlacement AdPlacement { get; set; }
Property Value
AdPlacementOneofCase
Declaration
public AdEvent.AdPlacementOneofOneofCase AdPlacementOneofCase { get; }
Property Value
AdPlacementString
String value for ad placement.
Declaration
public string AdPlacementString { get; set; }
Property Value
AdType
Declaration
public AdType AdType { get; set; }
Property Value
AdTypeOneofCase
Declaration
public AdEvent.AdTypeOneofOneofCase AdTypeOneofCase { get; }
Property Value
AdTypeString
String value for ad type.
Declaration
public string AdTypeString { get; set; }
Property Value
AdWidth
Optional. The width of the ad in pixels.
Declaration
public int AdWidth { get; set; }
Property Value
AdvertiserId
Required. The ID of the advertiser for the ad event.
This must match the ID sent in the linking flow.
Declaration
public string AdvertiserId { get; set; }
Property Value
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
public AttributionHint AttributionHint { get; set; }
Property Value
CampaignId
Required. The ID of the associated campaign.
Declaration
public string CampaignId { get; set; }
Property Value
CampaignName
Required. The name of the associated campaign.
Declaration
public string CampaignName { get; set; }
Property Value
DeviceInfo
Optional. Information gathered about the device being used when the ad
event happened.
Declaration
public DeviceInfo DeviceInfo { get; set; }
Property Value
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
public string EventId { get; set; }
Property Value
EventSubtype
Enum value for event subtype.
Declaration
public AdEvent.Types.EventSubtype EventSubtype { get; set; }
Property Value
EventSubtypeOneofCase
Declaration
public AdEvent.EventSubtypeOneofOneofCase EventSubtypeOneofCase { get; }
Property Value
EventSubtypeString
String value for event subtype.
Declaration
public string EventSubtypeString { get; set; }
Property Value
EventType
Required. The type of the event.
Declaration
public AdEvent.Types.EventType EventType { get; set; }
Property Value
Gets whether the "ad_format" field is set
Declaration
public bool HasAdFormat { get; }
Property Value
Gets whether the "ad_format_string" field is set
Declaration
public bool HasAdFormatString { get; }
Property Value
HasAdPlacement
Gets whether the "ad_placement" field is set
Declaration
public bool HasAdPlacement { get; }
Property Value
HasAdPlacementString
Gets whether the "ad_placement_string" field is set
Declaration
public bool HasAdPlacementString { get; }
Property Value
HasAdType
Gets whether the "ad_type" field is set
Declaration
public bool HasAdType { get; }
Property Value
HasAdTypeString
Gets whether the "ad_type_string" field is set
Declaration
public bool HasAdTypeString { get; }
Property Value
HasEventSubtype
Gets whether the "event_subtype" field is set
Declaration
public bool HasEventSubtype { get; }
Property Value
HasEventSubtypeString
Gets whether the "event_subtype_string" field is set
Declaration
public bool HasEventSubtypeString { get; }
Property Value
HasMeasurementAllowed
Gets whether the "measurement_allowed" field is set
Declaration
public bool HasMeasurementAllowed { get; }
Property Value
Gets whether the "platform" field is set
Declaration
public bool HasPlatform { get; }
Property Value
Gets whether the "platform_string" field is set
Declaration
public bool HasPlatformString { get; }
Property Value
Gets whether the "platform_type" field is set
Declaration
public bool HasPlatformType { get; }
Property Value
Gets whether the "platform_type_string" field is set
Declaration
public bool HasPlatformTypeString { get; }
Property Value
HasTargetingType
Gets whether the "targeting_type" field is set
Declaration
public bool HasTargetingType { get; }
Property Value
HasTargetingTypeString
Gets whether the "targeting_type_string" field is set
Declaration
public bool HasTargetingTypeString { get; }
Property Value
MeasurementAllowed
Optional. Represents if the row is allowed to be used for measurement
purposes, as governed by applicable privacy laws within regional
jurisdiction.
Declaration
public bool MeasurementAllowed { get; set; }
Property Value
Medium
Required. The medium of the ad, akin to the Google Analytics medium.
Declaration
public string Medium { get; set; }
Property Value
MobileDeviceId
Optional. The device ID of the device that the ad was served to.
Declaration
public string MobileDeviceId { get; set; }
Property Value
Declaration
public Platform Platform { get; set; }
Property Value
Declaration
public AdEvent.PlatformOneofOneofCase PlatformOneofCase { get; }
Property Value
String value for platform.
Declaration
public string PlatformString { get; set; }
Property Value
Enum value for platform type.
Declaration
public PlatformType PlatformType { get; set; }
Property Value
Declaration
public AdEvent.PlatformTypeOneofOneofCase PlatformTypeOneofCase { get; }
Property Value
String value for platform type.
Declaration
public string PlatformTypeString { get; set; }
Property Value
RegionCode
Required. The ISO 3166-2 country plus subdivision.
Declaration
public string RegionCode { get; set; }
Property Value
Source
Required. The platform source of the ad, akin to the Google Analytics
source.
Declaration
public string Source { get; set; }
Property Value
TargetingType
Enum value for targeting type.
Declaration
public TargetingType TargetingType { get; set; }
Property Value
TargetingTypeOneofCase
Declaration
public AdEvent.TargetingTypeOneofOneofCase TargetingTypeOneofCase { get; }
Property Value
TargetingTypeString
String value for targeting type.
Declaration
public string TargetingTypeString { get; set; }
Property Value
Timestamp
Required. The time the event occurred.
Declaration
public Timestamp Timestamp { get; set; }
Property Value
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
public UserData UserData { get; set; }
Property Value
ViewabilityInfo
Required. Details of the viewability of the ad served.
Declaration
public ViewabilityInfo ViewabilityInfo { get; set; }
Property Value