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

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

Overview

Mobile application targeting settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MobileApplicationTargeting

Returns a new instance of MobileApplicationTargeting.



2682
2683
2684
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2682

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



2680
2681
2682
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2680

def first_party_targeting
  @first_party_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2687
2688
2689
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2687

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