Class: Google::Apis::AuthorizedbuyersmarketplaceV1::FirstPartyMobileApplicationTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::FirstPartyMobileApplicationTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
Represents a list of targeted and excluded mobile application IDs that publishers own. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded.
Instance Attribute Summary collapse
-
#excluded_app_ids ⇒ Array<String>
A list of application IDs to be excluded.
-
#targeted_app_ids ⇒ Array<String>
A list of application IDs to be included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirstPartyMobileApplicationTargeting
constructor
A new instance of FirstPartyMobileApplicationTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FirstPartyMobileApplicationTargeting
Returns a new instance of FirstPartyMobileApplicationTargeting.
920 921 922 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_app_ids ⇒ Array<String>
A list of application IDs to be excluded.
Corresponds to the JSON property excludedAppIds
913 914 915 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 913 def excluded_app_ids @excluded_app_ids end |
#targeted_app_ids ⇒ Array<String>
A list of application IDs to be included.
Corresponds to the JSON property targetedAppIds
918 919 920 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 918 def targeted_app_ids @targeted_app_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
925 926 927 928 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 925 def update!(**args) @excluded_app_ids = args[:excluded_app_ids] if args.key?(:excluded_app_ids) @targeted_app_ids = args[:targeted_app_ids] if args.key?(:targeted_app_ids) end |