Class: Google::Apis::Adexchangebuyer2V2beta1::FirstPartyMobileApplicationTargeting

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

Overview

Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. 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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FirstPartyMobileApplicationTargeting

Returns a new instance of FirstPartyMobileApplicationTargeting.



1831
1832
1833
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1831

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

Instance Attribute Details

#excluded_app_idsArray<String>

A list of application IDs to be excluded. Corresponds to the JSON property excludedAppIds

Returns:

  • (Array<String>)


1824
1825
1826
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1824

def excluded_app_ids
  @excluded_app_ids
end

#targeted_app_idsArray<String>

A list of application IDs to be included. Corresponds to the JSON property targetedAppIds

Returns:

  • (Array<String>)


1829
1830
1831
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1829

def targeted_app_ids
  @targeted_app_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1836
1837
1838
1839
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1836

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