Class: Google::Apis::AdmobV1::AppManualAppInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admob_v1/classes.rb,
lib/google/apis/admob_v1/representations.rb,
lib/google/apis/admob_v1/representations.rb

Overview

Information provided for manual apps which are not linked to an application store (Example: Google Play, App Store).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppManualAppInfo

Returns a new instance of AppManualAppInfo.



179
180
181
# File 'lib/google/apis/admob_v1/classes.rb', line 179

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

The display name of the app as shown in the AdMob UI, which is provided by the user. The maximum length allowed is 80 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


177
178
179
# File 'lib/google/apis/admob_v1/classes.rb', line 177

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



184
185
186
# File 'lib/google/apis/admob_v1/classes.rb', line 184

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