Class: Google::Apis::DfareportingV2_1::TechnologyTargeting
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::TechnologyTargeting
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Technology Targeting.
Instance Attribute Summary collapse
-
#browsers ⇒ Array<Google::Apis::DfareportingV2_1::Browser>
Browsers that this ad targets.
-
#connection_types ⇒ Array<Google::Apis::DfareportingV2_1::ConnectionType>
Connection types that this ad targets.
-
#mobile_carriers ⇒ Array<Google::Apis::DfareportingV2_1::MobileCarrier>
Mobile carriers that this ad targets.
-
#operating_system_versions ⇒ Array<Google::Apis::DfareportingV2_1::OperatingSystemVersion>
Operating system versions that this ad targets.
-
#operating_systems ⇒ Array<Google::Apis::DfareportingV2_1::OperatingSystem>
Operating systems that this ad targets.
-
#platform_types ⇒ Array<Google::Apis::DfareportingV2_1::PlatformType>
Platform types that this ad targets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TechnologyTargeting
constructor
A new instance of TechnologyTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TechnologyTargeting
Returns a new instance of TechnologyTargeting
10373 10374 10375 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10373 def initialize(**args) update!(**args) end |
Instance Attribute Details
#browsers ⇒ Array<Google::Apis::DfareportingV2_1::Browser>
Browsers that this ad targets. For each browser either set browserVersionId or
dartId along with the version numbers. If both are specified, only
browserVersionId will be used.The other fields are populated automatically
when the ad is inserted or updated.
Corresponds to the JSON property browsers
10331 10332 10333 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10331 def browsers @browsers end |
#connection_types ⇒ Array<Google::Apis::DfareportingV2_1::ConnectionType>
Connection types that this ad targets. For each connection type only id is
required.The other fields are populated automatically when the ad is inserted
or updated.
Corresponds to the JSON property connectionTypes
10338 10339 10340 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10338 def connection_types @connection_types end |
#mobile_carriers ⇒ Array<Google::Apis::DfareportingV2_1::MobileCarrier>
Mobile carriers that this ad targets. For each mobile carrier only id is
required, and the other fields are populated automatically when the ad is
inserted or updated. If targeting a mobile carrier, do not set targeting for
any zip codes.
Corresponds to the JSON property mobileCarriers
10346 10347 10348 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10346 def mobile_carriers @mobile_carriers end |
#operating_system_versions ⇒ Array<Google::Apis::DfareportingV2_1::OperatingSystemVersion>
Operating system versions that this ad targets. To target all versions, use
operatingSystems. For each operating system version, only id is required. The
other fields are populated automatically when the ad is inserted or updated.
If targeting an operating system version, do not set targeting for the
corresponding operating system in operatingSystems.
Corresponds to the JSON property operatingSystemVersions
10355 10356 10357 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10355 def @operating_system_versions end |
#operating_systems ⇒ Array<Google::Apis::DfareportingV2_1::OperatingSystem>
Operating systems that this ad targets. To target specific versions, use
operatingSystemVersions. For each operating system only dartId is required.
The other fields are populated automatically when the ad is inserted or
updated. If targeting an operating system, do not set targeting for operating
system versions for the same operating system.
Corresponds to the JSON property operatingSystems
10364 10365 10366 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10364 def @operating_systems end |
#platform_types ⇒ Array<Google::Apis::DfareportingV2_1::PlatformType>
Platform types that this ad targets. For example, desktop, mobile, or tablet.
For each platform type, only id is required, and the other fields are
populated automatically when the ad is inserted or updated.
Corresponds to the JSON property platformTypes
10371 10372 10373 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10371 def platform_types @platform_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10378 10379 10380 10381 10382 10383 10384 10385 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10378 def update!(**args) @browsers = args[:browsers] unless args[:browsers].nil? @connection_types = args[:connection_types] unless args[:connection_types].nil? @mobile_carriers = args[:mobile_carriers] unless args[:mobile_carriers].nil? @operating_system_versions = args[:operating_system_versions] unless args[:operating_system_versions].nil? @operating_systems = args[:operating_systems] unless args[:operating_systems].nil? @platform_types = args[:platform_types] unless args[:platform_types].nil? end |