class Google::Apis::AdmobV1::App
Describes an AdMob app for a specific platform (For example: Android or iOS).
Attributes
The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~ 0123456789 Corresponds to the JSON property `appId` @return [String]
Information from the app store if the app is linked to an app store. Corresponds to the JSON property `linkedAppInfo` @return [Google::Apis::AdmobV1::AppLinkedAppInfo]
Resource name for this app. Format is accounts/`publisher_id`/apps/` app_id_fragment` Example: accounts/pub-9876543210987654/apps/0123456789 Corresponds to the JSON property `name` @return [String]
Describes the platform of the app. Limited to “IOS” and “ANDROID”. Corresponds to the JSON property `platform` @return [String]
Public Class Methods
# File lib/google/apis/admob_v1/classes.rb, line 120 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/admob_v1/classes.rb, line 125 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @linked_app_info = args[:linked_app_info] if args.key?(:linked_app_info) @manual_app_info = args[:manual_app_info] if args.key?(:manual_app_info) @name = args[:name] if args.key?(:name) @platform = args[:platform] if args.key?(:platform) end