Class: Google::Apis::AuthorizedbuyersmarketplaceV1::MobileApplicationTargeting

Inherits:
Object
  • Object
show all
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

Mobile application targeting settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MobileApplicationTargeting

Returns a new instance of MobileApplicationTargeting.



1308
1309
1310
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1308

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

Instance Attribute Details

#first_party_targetingGoogle::Apis::AuthorizedbuyersmarketplaceV1::FirstPartyMobileApplicationTargeting

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



1306
1307
1308
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1306

def first_party_targeting
  @first_party_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1313
1314
1315
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1313

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