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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/realtimebidding_v1/classes.rb,
generated/google/apis/realtimebidding_v1/representations.rb,
generated/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.



197
198
199
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 197

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



189
190
191
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 189

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



195
196
197
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 195

def mobile_app_targeting
  @mobile_app_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



202
203
204
205
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 202

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