Class: Google::Apis::RealtimebiddingV1::AddTargetedAppsRequest
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::AddTargetedAppsRequest
- 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 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.
60 61 62 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 60 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
50 51 52 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 50 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
58 59 60 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 58 def targeting_mode @targeting_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
65 66 67 68 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 65 def update!(**args) @app_ids = args[:app_ids] if args.key?(:app_ids) @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode) end |