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.


2658
2659
2660
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2658

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


2656
2657
2658
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2656

def first_party_targeting
  @first_party_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2663
2664
2665
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2663

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