class Google::Apis::DfareportingV2_1::Browser
Contains information about a browser that can be targeted by ads.
Attributes
ID referring to this grouping of browser and version numbers. This is the ID used for targeting. Corresponds to the JSON property `browserVersionId` @return [String]
DART ID of this browser. This is the ID used when generating reports. Corresponds to the JSON property `dartId` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#browser”. Corresponds to the JSON property `kind` @return [String]
Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome . targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is. Corresponds to the JSON property `majorVersion` @return [String]
Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome . targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is. Corresponds to the JSON property `minorVersion` @return [String]
Name of this browser. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 1329 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 1334 def update!(**args) @browser_version_id = args[:browser_version_id] unless args[:browser_version_id].nil? @dart_id = args[:dart_id] unless args[:dart_id].nil? @kind = args[:kind] unless args[:kind].nil? @major_version = args[:major_version] unless args[:major_version].nil? @minor_version = args[:minor_version] unless args[:minor_version].nil? @name = args[:name] unless args[:name].nil? end