Class: Google::Apis::Adexchangebuyer2V2beta1::MobileApplicationTargeting

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

Mobile application targeting settings.

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) ⇒ MobileApplicationTargeting

Returns a new instance of MobileApplicationTargeting.



2750
2751
2752
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2750

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

Instance Attribute Details

#first_party_targetingGoogle::Apis::Adexchangebuyer2V2beta1::FirstPartyMobileApplicationTargeting

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. Corresponds to the JSON property firstPartyTargeting



2748
2749
2750
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2748

def first_party_targeting
  @first_party_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2755
2756
2757
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2755

def update!(**args)
  @first_party_targeting = args[:first_party_targeting] if args.key?(:first_party_targeting)
end