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.



1583
1584
1585
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1583

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)


1576
1577
1578
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1576

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)


1581
1582
1583
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1581

def app_store
  @app_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1588
1589
1590
1591
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1588

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