Class: Google::Apis::RealtimebiddingV1::AppTargeting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/realtimebidding_v1/classes.rb,
lib/google/apis/realtimebidding_v1/representations.rb,
lib/google/apis/realtimebidding_v1/representations.rb

Overview

A subset of app inventory to target. Bid requests that match criteria in at least one of the specified dimensions will be sent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppTargeting

Returns a new instance of AppTargeting.



249
250
251
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 249

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#mobile_app_category_targetingGoogle::Apis::RealtimebiddingV1::NumericTargetingDimension

Generic targeting used for targeting dimensions that contain a list of included and excluded numeric IDs used in app, user list, geo, and vertical id targeting. Corresponds to the JSON property mobileAppCategoryTargeting



241
242
243
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 241

def mobile_app_category_targeting
  @mobile_app_category_targeting
end

#mobile_app_targetingGoogle::Apis::RealtimebiddingV1::StringTargetingDimension

Generic targeting with string values used in app, website and publisher targeting. Corresponds to the JSON property mobileAppTargeting



247
248
249
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 247

def mobile_app_targeting
  @mobile_app_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



254
255
256
257
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 254

def update!(**args)
  @mobile_app_category_targeting = args[:mobile_app_category_targeting] if args.key?(:mobile_app_category_targeting)
  @mobile_app_targeting = args[:mobile_app_targeting] if args.key?(:mobile_app_targeting)
end