class Google::Apis::AdmobV1beta::App

Describes an AdMob app for a specific platform (For example: Android or iOS).

Attributes

app_id[RW]

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]

linked_app_info[RW]

Information from the app store if the app is linked to an app store. Corresponds to the JSON property `linkedAppInfo` @return [Google::Apis::AdmobV1beta::AppLinkedAppInfo]

manual_app_info[RW]

Information provided for manual apps which are not linked to an application store (Example: Google Play, App Store). Corresponds to the JSON property `manualAppInfo` @return [Google::Apis::AdmobV1beta::AppManualAppInfo]

name[RW]

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]

platform[RW]

Describes the platform of the app. Limited to “IOS” and “ANDROID”. Corresponds to the JSON property `platform` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admob_v1beta/classes.rb, line 120
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admob_v1beta/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