Class DeviceInfo
Information about the device being used (if any) when the event happened.
Implements
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class DeviceInfo : IMessage<DeviceInfo>, IEquatable<DeviceInfo>, IDeepCloneable<DeviceInfo>, IBufferMessage, IMessage
Constructors
DeviceInfo()
Declaration
public DeviceInfo()
DeviceInfo(DeviceInfo)
Declaration
public DeviceInfo(DeviceInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| DeviceInfo | other |
Properties
IpAddress
Optional. The IP address of the device for the given context.
Note: Google Ads does not support IP address matching for end users in the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to conditionally exclude sharing IP addresses from users from these regions and ensure that you provide users with clear and comprehensive information about the data you collect on your sites, apps, and other properties and get consent where required by law or any applicable Google policies. See the About offline conversion imports page for more details.
Declaration
public string IpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserAgent
Optional. The user-agent string of the device for the given context.
Declaration
public string UserAgent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |