Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMobileAppAsset

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

Overview

An asset representing a mobile app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonMobileAppAsset

Returns a new instance of GoogleAdsSearchads360V0CommonMobileAppAsset.



1544
1545
1546
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1544

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

Instance Attribute Details

#app_idString

Required. A string that uniquely identifies a mobile application. It should just contain the platform native id, like "com.android.ebay" for Android or " 12345689" for iOS. Corresponds to the JSON property appId

Returns:

  • (String)


1537
1538
1539
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1537

def app_id
  @app_id
end

#app_storeString

Required. The application store that distributes this specific app. Corresponds to the JSON property appStore

Returns:

  • (String)


1542
1543
1544
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1542

def app_store
  @app_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1549
1550
1551
1552
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1549

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