Package com.google.openrtb
Interface OpenRtb.BidRequest.DeviceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Device>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.BidRequest.Device,OpenRtb.BidRequest.Device.Builder
- Enclosing class:
- OpenRtb.BidRequest
public static interface OpenRtb.BidRequest.DeviceOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Device>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCarrier()Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.com.google.protobuf.ByteStringgetCarrierBytes()Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.OpenRtb.ConnectionTypegetConnectiontype()Network connection type.OpenRtb.DeviceTypegetDevicetype()The general type of device.StringgetDidmd5()Hardware device ID (e.g., IMEI); hashed via MD5.com.google.protobuf.ByteStringgetDidmd5Bytes()Hardware device ID (e.g., IMEI); hashed via MD5.StringgetDidsha1()Hardware device ID (e.g., IMEI); hashed via SHA1.com.google.protobuf.ByteStringgetDidsha1Bytes()Hardware device ID (e.g., IMEI); hashed via SHA1.booleangetDnt()Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track.StringgetDpidmd5()Platform device ID (e.g., Android ID); hashed via MD5.com.google.protobuf.ByteStringgetDpidmd5Bytes()Platform device ID (e.g., Android ID); hashed via MD5.StringgetDpidsha1()Platform device ID (e.g., Android ID); hashed via SHA1.com.google.protobuf.ByteStringgetDpidsha1Bytes()Platform device ID (e.g., Android ID); hashed via SHA1.StringgetFlashver()Version of Flash supported by the browser.com.google.protobuf.ByteStringgetFlashverBytes()Version of Flash supported by the browser.OpenRtb.BidRequest.GeogetGeo()Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12).booleangetGeofetch()Indicates if the geolocation API will be available to JavaScript code running in the banner.OpenRtb.BidRequest.GeoOrBuildergetGeoOrBuilder()Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12).intgetH()Physical height of the screen in pixels.StringgetHwv()Hardware version of the device (e.g., "5S" for iPhone 5S).com.google.protobuf.ByteStringgetHwvBytes()Hardware version of the device (e.g., "5S" for iPhone 5S).StringgetIfa()ID sanctioned for advertiser use in the clear (i.e., not hashed).com.google.protobuf.ByteStringgetIfaBytes()ID sanctioned for advertiser use in the clear (i.e., not hashed).StringgetIp()IPv4 address closest to device.com.google.protobuf.ByteStringgetIpBytes()IPv4 address closest to device.StringgetIpv6()IPv6 address closest to device.com.google.protobuf.ByteStringgetIpv6Bytes()IPv6 address closest to device.booleangetJs()Support for JavaScript.StringgetLanguage()Browser language using ISO-639-1-alpha-2.com.google.protobuf.ByteStringgetLanguageBytes()Browser language using ISO-639-1-alpha-2.booleangetLmt()"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines.StringgetMacmd5()MAC address of the device; hashed via MD5.com.google.protobuf.ByteStringgetMacmd5Bytes()MAC address of the device; hashed via MD5.StringgetMacsha1()MAC address of the device; hashed via SHA1.com.google.protobuf.ByteStringgetMacsha1Bytes()MAC address of the device; hashed via SHA1.StringgetMake()Device make (e.g., "Apple").com.google.protobuf.ByteStringgetMakeBytes()Device make (e.g., "Apple").StringgetMccmnc()Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).com.google.protobuf.ByteStringgetMccmncBytes()Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).StringgetModel()Device model (e.g., "iPhone").com.google.protobuf.ByteStringgetModelBytes()Device model (e.g., "iPhone").StringgetOs()Device operating system (e.g., "iOS").com.google.protobuf.ByteStringgetOsBytes()Device operating system (e.g., "iOS").StringgetOsv()Device operating system version (e.g., "3.1.2").com.google.protobuf.ByteStringgetOsvBytes()Device operating system version (e.g., "3.1.2").intgetPpi()Screen size as pixels per linear inch.doublegetPxratio()The ratio of physical pixels to device independent pixels.StringgetUa()Browser user agent string.com.google.protobuf.ByteStringgetUaBytes()Browser user agent string.intgetW()Physical width of the screen in pixels.booleanhasCarrier()Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.booleanhasConnectiontype()Network connection type.booleanhasDevicetype()The general type of device.booleanhasDidmd5()Hardware device ID (e.g., IMEI); hashed via MD5.booleanhasDidsha1()Hardware device ID (e.g., IMEI); hashed via SHA1.booleanhasDnt()Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track.booleanhasDpidmd5()Platform device ID (e.g., Android ID); hashed via MD5.booleanhasDpidsha1()Platform device ID (e.g., Android ID); hashed via SHA1.booleanhasFlashver()Version of Flash supported by the browser.booleanhasGeo()Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12).booleanhasGeofetch()Indicates if the geolocation API will be available to JavaScript code running in the banner.booleanhasH()Physical height of the screen in pixels.booleanhasHwv()Hardware version of the device (e.g., "5S" for iPhone 5S).booleanhasIfa()ID sanctioned for advertiser use in the clear (i.e., not hashed).booleanhasIp()IPv4 address closest to device.booleanhasIpv6()IPv6 address closest to device.booleanhasJs()Support for JavaScript.booleanhasLanguage()Browser language using ISO-639-1-alpha-2.booleanhasLmt()"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines.booleanhasMacmd5()MAC address of the device; hashed via MD5.booleanhasMacsha1()MAC address of the device; hashed via SHA1.booleanhasMake()Device make (e.g., "Apple").booleanhasMccmnc()Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).booleanhasModel()Device model (e.g., "iPhone").booleanhasOs()Device operating system (e.g., "iOS").booleanhasOsv()Device operating system version (e.g., "3.1.2").booleanhasPpi()Screen size as pixels per linear inch.booleanhasPxratio()The ratio of physical pixels to device independent pixels.booleanhasUa()Browser user agent string.booleanhasW()Physical width of the screen in pixels.-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
hasGeo
boolean hasGeo()
Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12). RECOMMENDED by the OpenRTB specification.
optional .com.google.openrtb.BidRequest.Geo geo = 4;- Returns:
- Whether the geo field is set.
-
getGeo
OpenRtb.BidRequest.Geo getGeo()
Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12). RECOMMENDED by the OpenRTB specification.
optional .com.google.openrtb.BidRequest.Geo geo = 4;- Returns:
- The geo.
-
getGeoOrBuilder
OpenRtb.BidRequest.GeoOrBuilder getGeoOrBuilder()
Location of the device assumed to be the user's current location defined by a Geo object (Section 3.2.12). RECOMMENDED by the OpenRTB specification.
optional .com.google.openrtb.BidRequest.Geo geo = 4;
-
hasDnt
boolean hasDnt()
Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track. RECOMMENDED by the OpenRTB specification.
optional bool dnt = 1;- Returns:
- Whether the dnt field is set.
-
getDnt
boolean getDnt()
Standard "Do Not Track" flag as set in the header by the browser, where false = tracking is unrestricted, true = do not track. RECOMMENDED by the OpenRTB specification.
optional bool dnt = 1;- Returns:
- The dnt.
-
hasLmt
boolean hasLmt()
"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines. RECOMMENDED by the OpenRTB specification.
optional bool lmt = 23;- Returns:
- Whether the lmt field is set.
-
getLmt
boolean getLmt()
"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android), where false = tracking is unrestricted, true = tracking must be limited per commercial guidelines. RECOMMENDED by the OpenRTB specification.
optional bool lmt = 23;- Returns:
- The lmt.
-
hasUa
boolean hasUa()
Browser user agent string. Certain data may be redacted or replaced. RECOMMENDED by the OpenRTB specification.
optional string ua = 2;- Returns:
- Whether the ua field is set.
-
getUa
String getUa()
Browser user agent string. Certain data may be redacted or replaced. RECOMMENDED by the OpenRTB specification.
optional string ua = 2;- Returns:
- The ua.
-
getUaBytes
com.google.protobuf.ByteString getUaBytes()
Browser user agent string. Certain data may be redacted or replaced. RECOMMENDED by the OpenRTB specification.
optional string ua = 2;- Returns:
- The bytes for ua.
-
hasIp
boolean hasIp()
IPv4 address closest to device. RECOMMENDED by the OpenRTB specification.
optional string ip = 3;- Returns:
- Whether the ip field is set.
-
getIp
String getIp()
IPv4 address closest to device. RECOMMENDED by the OpenRTB specification.
optional string ip = 3;- Returns:
- The ip.
-
getIpBytes
com.google.protobuf.ByteString getIpBytes()
IPv4 address closest to device. RECOMMENDED by the OpenRTB specification.
optional string ip = 3;- Returns:
- The bytes for ip.
-
hasIpv6
boolean hasIpv6()
IPv6 address closest to device.
optional string ipv6 = 9;- Returns:
- Whether the ipv6 field is set.
-
getIpv6
String getIpv6()
IPv6 address closest to device.
optional string ipv6 = 9;- Returns:
- The ipv6.
-
getIpv6Bytes
com.google.protobuf.ByteString getIpv6Bytes()
IPv6 address closest to device.
optional string ipv6 = 9;- Returns:
- The bytes for ipv6.
-
hasDevicetype
boolean hasDevicetype()
The general type of device.
optional .com.google.openrtb.DeviceType devicetype = 18;- Returns:
- Whether the devicetype field is set.
-
getDevicetype
OpenRtb.DeviceType getDevicetype()
The general type of device.
optional .com.google.openrtb.DeviceType devicetype = 18;- Returns:
- The devicetype.
-
hasMake
boolean hasMake()
Device make (e.g., "Apple").
optional string make = 12;- Returns:
- Whether the make field is set.
-
getMake
String getMake()
Device make (e.g., "Apple").
optional string make = 12;- Returns:
- The make.
-
getMakeBytes
com.google.protobuf.ByteString getMakeBytes()
Device make (e.g., "Apple").
optional string make = 12;- Returns:
- The bytes for make.
-
hasModel
boolean hasModel()
Device model (e.g., "iPhone").
optional string model = 13;- Returns:
- Whether the model field is set.
-
getModel
String getModel()
Device model (e.g., "iPhone").
optional string model = 13;- Returns:
- The model.
-
getModelBytes
com.google.protobuf.ByteString getModelBytes()
Device model (e.g., "iPhone").
optional string model = 13;- Returns:
- The bytes for model.
-
hasOs
boolean hasOs()
Device operating system (e.g., "iOS").
optional string os = 14;- Returns:
- Whether the os field is set.
-
getOs
String getOs()
Device operating system (e.g., "iOS").
optional string os = 14;- Returns:
- The os.
-
getOsBytes
com.google.protobuf.ByteString getOsBytes()
Device operating system (e.g., "iOS").
optional string os = 14;- Returns:
- The bytes for os.
-
hasOsv
boolean hasOsv()
Device operating system version (e.g., "3.1.2").
optional string osv = 15;- Returns:
- Whether the osv field is set.
-
getOsv
String getOsv()
Device operating system version (e.g., "3.1.2").
optional string osv = 15;- Returns:
- The osv.
-
getOsvBytes
com.google.protobuf.ByteString getOsvBytes()
Device operating system version (e.g., "3.1.2").
optional string osv = 15;- Returns:
- The bytes for osv.
-
hasHwv
boolean hasHwv()
Hardware version of the device (e.g., "5S" for iPhone 5S).
optional string hwv = 24;- Returns:
- Whether the hwv field is set.
-
getHwv
String getHwv()
Hardware version of the device (e.g., "5S" for iPhone 5S).
optional string hwv = 24;- Returns:
- The hwv.
-
getHwvBytes
com.google.protobuf.ByteString getHwvBytes()
Hardware version of the device (e.g., "5S" for iPhone 5S).
optional string hwv = 24;- Returns:
- The bytes for hwv.
-
hasW
boolean hasW()
Physical width of the screen in pixels.
optional int32 w = 25;- Returns:
- Whether the w field is set.
-
getW
int getW()
Physical width of the screen in pixels.
optional int32 w = 25;- Returns:
- The w.
-
hasH
boolean hasH()
Physical height of the screen in pixels.
optional int32 h = 26;- Returns:
- Whether the h field is set.
-
getH
int getH()
Physical height of the screen in pixels.
optional int32 h = 26;- Returns:
- The h.
-
hasPpi
boolean hasPpi()
Screen size as pixels per linear inch.
optional int32 ppi = 27;- Returns:
- Whether the ppi field is set.
-
getPpi
int getPpi()
Screen size as pixels per linear inch.
optional int32 ppi = 27;- Returns:
- The ppi.
-
hasPxratio
boolean hasPxratio()
The ratio of physical pixels to device independent pixels.
optional double pxratio = 28;- Returns:
- Whether the pxratio field is set.
-
getPxratio
double getPxratio()
The ratio of physical pixels to device independent pixels.
optional double pxratio = 28;- Returns:
- The pxratio.
-
hasJs
boolean hasJs()
Support for JavaScript.
optional bool js = 16;- Returns:
- Whether the js field is set.
-
getJs
boolean getJs()
Support for JavaScript.
optional bool js = 16;- Returns:
- The js.
-
hasGeofetch
boolean hasGeofetch()
Indicates if the geolocation API will be available to JavaScript code running in the banner.
optional bool geofetch = 29;- Returns:
- Whether the geofetch field is set.
-
getGeofetch
boolean getGeofetch()
Indicates if the geolocation API will be available to JavaScript code running in the banner.
optional bool geofetch = 29;- Returns:
- The geofetch.
-
hasFlashver
boolean hasFlashver()
Version of Flash supported by the browser.
optional string flashver = 19;- Returns:
- Whether the flashver field is set.
-
getFlashver
String getFlashver()
Version of Flash supported by the browser.
optional string flashver = 19;- Returns:
- The flashver.
-
getFlashverBytes
com.google.protobuf.ByteString getFlashverBytes()
Version of Flash supported by the browser.
optional string flashver = 19;- Returns:
- The bytes for flashver.
-
hasLanguage
boolean hasLanguage()
Browser language using ISO-639-1-alpha-2.
optional string language = 11;- Returns:
- Whether the language field is set.
-
getLanguage
String getLanguage()
Browser language using ISO-639-1-alpha-2.
optional string language = 11;- Returns:
- The language.
-
getLanguageBytes
com.google.protobuf.ByteString getLanguageBytes()
Browser language using ISO-639-1-alpha-2.
optional string language = 11;- Returns:
- The bytes for language.
-
hasCarrier
boolean hasCarrier()
Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.
optional string carrier = 10;- Returns:
- Whether the carrier field is set.
-
getCarrier
String getCarrier()
Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.
optional string carrier = 10;- Returns:
- The carrier.
-
getCarrierBytes
com.google.protobuf.ByteString getCarrierBytes()
Carrier or ISP (e.g., "VERIZON") using exchange curated string names which should be published to bidders a priori.
optional string carrier = 10;- Returns:
- The bytes for carrier.
-
hasMccmnc
boolean hasMccmnc()
Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA). Refer to https://en.wikipedia.org/wiki/Mobile_country_code for further examples. Note that the dash between the MCC and MNC parts is required to remove parsing ambiguity.
optional string mccmnc = 30;- Returns:
- Whether the mccmnc field is set.
-
getMccmnc
String getMccmnc()
Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA). Refer to https://en.wikipedia.org/wiki/Mobile_country_code for further examples. Note that the dash between the MCC and MNC parts is required to remove parsing ambiguity.
optional string mccmnc = 30;- Returns:
- The mccmnc.
-
getMccmncBytes
com.google.protobuf.ByteString getMccmncBytes()
Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA). Refer to https://en.wikipedia.org/wiki/Mobile_country_code for further examples. Note that the dash between the MCC and MNC parts is required to remove parsing ambiguity.
optional string mccmnc = 30;- Returns:
- The bytes for mccmnc.
-
hasConnectiontype
boolean hasConnectiontype()
Network connection type.
optional .com.google.openrtb.ConnectionType connectiontype = 17;- Returns:
- Whether the connectiontype field is set.
-
getConnectiontype
OpenRtb.ConnectionType getConnectiontype()
Network connection type.
optional .com.google.openrtb.ConnectionType connectiontype = 17;- Returns:
- The connectiontype.
-
hasIfa
boolean hasIfa()
ID sanctioned for advertiser use in the clear (i.e., not hashed).
optional string ifa = 20;- Returns:
- Whether the ifa field is set.
-
getIfa
String getIfa()
ID sanctioned for advertiser use in the clear (i.e., not hashed).
optional string ifa = 20;- Returns:
- The ifa.
-
getIfaBytes
com.google.protobuf.ByteString getIfaBytes()
ID sanctioned for advertiser use in the clear (i.e., not hashed).
optional string ifa = 20;- Returns:
- The bytes for ifa.
-
hasDidsha1
boolean hasDidsha1()
Hardware device ID (e.g., IMEI); hashed via SHA1.
optional string didsha1 = 5;- Returns:
- Whether the didsha1 field is set.
-
getDidsha1
String getDidsha1()
Hardware device ID (e.g., IMEI); hashed via SHA1.
optional string didsha1 = 5;- Returns:
- The didsha1.
-
getDidsha1Bytes
com.google.protobuf.ByteString getDidsha1Bytes()
Hardware device ID (e.g., IMEI); hashed via SHA1.
optional string didsha1 = 5;- Returns:
- The bytes for didsha1.
-
hasDidmd5
boolean hasDidmd5()
Hardware device ID (e.g., IMEI); hashed via MD5.
optional string didmd5 = 6;- Returns:
- Whether the didmd5 field is set.
-
getDidmd5
String getDidmd5()
Hardware device ID (e.g., IMEI); hashed via MD5.
optional string didmd5 = 6;- Returns:
- The didmd5.
-
getDidmd5Bytes
com.google.protobuf.ByteString getDidmd5Bytes()
Hardware device ID (e.g., IMEI); hashed via MD5.
optional string didmd5 = 6;- Returns:
- The bytes for didmd5.
-
hasDpidsha1
boolean hasDpidsha1()
Platform device ID (e.g., Android ID); hashed via SHA1.
optional string dpidsha1 = 7;- Returns:
- Whether the dpidsha1 field is set.
-
getDpidsha1
String getDpidsha1()
Platform device ID (e.g., Android ID); hashed via SHA1.
optional string dpidsha1 = 7;- Returns:
- The dpidsha1.
-
getDpidsha1Bytes
com.google.protobuf.ByteString getDpidsha1Bytes()
Platform device ID (e.g., Android ID); hashed via SHA1.
optional string dpidsha1 = 7;- Returns:
- The bytes for dpidsha1.
-
hasDpidmd5
boolean hasDpidmd5()
Platform device ID (e.g., Android ID); hashed via MD5.
optional string dpidmd5 = 8;- Returns:
- Whether the dpidmd5 field is set.
-
getDpidmd5
String getDpidmd5()
Platform device ID (e.g., Android ID); hashed via MD5.
optional string dpidmd5 = 8;- Returns:
- The dpidmd5.
-
getDpidmd5Bytes
com.google.protobuf.ByteString getDpidmd5Bytes()
Platform device ID (e.g., Android ID); hashed via MD5.
optional string dpidmd5 = 8;- Returns:
- The bytes for dpidmd5.
-
hasMacsha1
boolean hasMacsha1()
MAC address of the device; hashed via SHA1.
optional string macsha1 = 21;- Returns:
- Whether the macsha1 field is set.
-
getMacsha1
String getMacsha1()
MAC address of the device; hashed via SHA1.
optional string macsha1 = 21;- Returns:
- The macsha1.
-
getMacsha1Bytes
com.google.protobuf.ByteString getMacsha1Bytes()
MAC address of the device; hashed via SHA1.
optional string macsha1 = 21;- Returns:
- The bytes for macsha1.
-
hasMacmd5
boolean hasMacmd5()
MAC address of the device; hashed via MD5.
optional string macmd5 = 22;- Returns:
- Whether the macmd5 field is set.
-
getMacmd5
String getMacmd5()
MAC address of the device; hashed via MD5.
optional string macmd5 = 22;- Returns:
- The macmd5.
-
getMacmd5Bytes
com.google.protobuf.ByteString getMacmd5Bytes()
MAC address of the device; hashed via MD5.
optional string macmd5 = 22;- Returns:
- The bytes for macmd5.
-
-