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.



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

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)


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

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



190
191
192
# File 'lib/google/apis/admob_v1/classes.rb', line 190

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