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
Brand
Optional. The brand of the device.
Declaration
public string Brand { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Browser
Optional. The brand or type of the browser.
Declaration
public string Browser { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BrowserVersion
Optional. The version of the browser.
Declaration
public string BrowserVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Category
Optional. The category of device. For example, “desktop”, “tablet”, “mobile”, “smart TV”.
Declaration
public string Category { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IpAddress
Optional. The IP address of the device for the given context. Required when used in an [AdEvent][google.ads.datamanager.v1.AdEvent] for geo checks.
Declaration
public string IpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LanguageCode
Optional. The language the device uses in ISO 639-1 format.
Declaration
public string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Model
Optional. The model of the device.
Declaration
public string Model { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OperatingSystem
Optional. The operating system or platform of the device.
Declaration
public string OperatingSystem { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OperatingSystemVersion
Optional. The version of the operating system or platform.
Declaration
public string OperatingSystemVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ScreenHeight
Optional. The height of the screen in pixels.
Declaration
public int ScreenHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ScreenWidth
Optional. The width of the screen in pixels.
Declaration
public int ScreenWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UserAgent
Optional. The user-agent string of the device for the given context.
Declaration
public string UserAgent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |