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.
1583 1584 1585 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1583 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
1576 1577 1578 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1576 def app_id @app_id end |
#app_store ⇒ String
Required. The application store that distributes this specific app.
Corresponds to the JSON property appStore
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 |