Class: Google::Apis::RealtimebiddingV1::AddTargetedAppsRequest
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::AddTargetedAppsRequest
- 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 request to start targeting the provided app IDs in a specific pretargeting configuration. The pretargeting configuration itself specifies how these apps are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.
Instance Attribute Summary collapse
-
#app_ids ⇒ Array<String>
A list of app IDs to target in the pretargeting configuration.
-
#targeting_mode ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddTargetedAppsRequest
constructor
A new instance of AddTargetedAppsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddTargetedAppsRequest
Returns a new instance of AddTargetedAppsRequest.
112 113 114 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_ids ⇒ Array<String>
A list of app IDs to target in the pretargeting configuration. These values
will be added to the list of targeted app IDs in PretargetingConfig.
appTargeting.mobileAppTargeting.values.
Corresponds to the JSON property appIds
102 103 104 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 102 def app_ids @app_ids end |
#targeting_mode ⇒ String
Required. The targeting mode that should be applied to the list of app IDs. If
there are existing targeted app IDs, must be equal to the existing
PretargetingConfig.appTargeting.mobileAppTargeting.targetingMode or a 400 bad
request error will be returned.
Corresponds to the JSON property targetingMode
110 111 112 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 110 def targeting_mode @targeting_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 120 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 117 def update!(**args) @app_ids = args[:app_ids] if args.key?(:app_ids) @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode) end |