Show / Hide Table of Contents

Class DeviceInfo

Information about the device being used (if any) when the event happened.

Inheritance
object
DeviceInfo
Implements
IMessage<DeviceInfo>
IEquatable<DeviceInfo>
IDeepCloneable<DeviceInfo>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
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.

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

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
In this article
Back to top Generated by DocFX