Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMobileAppAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMobileAppAsset
- 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
-
#app_id ⇒ String
Required.
-
#app_store ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonMobileAppAsset
constructor
A new instance of GoogleAdsSearchads360V0CommonMobileAppAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonMobileAppAsset
Returns a new instance of GoogleAdsSearchads360V0CommonMobileAppAsset.
1519 1520 1521 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1519 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
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
1512 1513 1514 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1512 def app_id @app_id end |
#app_store ⇒ String
Required. The application store that distributes this specific app.
Corresponds to the JSON property appStore
1517 1518 1519 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1517 def app_store @app_store end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1524 1525 1526 1527 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1524 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @app_store = args[:app_store] if args.key?(:app_store) end |