Class: Google::Apis::AdsensehostV4_1::AdUnit::MobileContentAdsSettings
- Inherits:
-
Object
- Object
- Google::Apis::AdsensehostV4_1::AdUnit::MobileContentAdsSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adsensehost_v4_1/classes.rb,
generated/google/apis/adsensehost_v4_1/representations.rb,
generated/google/apis/adsensehost_v4_1/representations.rb
Overview
Settings specific to WAP mobile content ads (AFMC - deprecated).
Instance Attribute Summary collapse
-
#markup_language ⇒ String
The markup language to use for this ad unit.
-
#scripting_language ⇒ String
The scripting language to use for this ad unit.
-
#size ⇒ String
Size of this ad unit.
-
#type ⇒ String
Type of this ad unit.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MobileContentAdsSettings
constructor
A new instance of MobileContentAdsSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MobileContentAdsSettings
Returns a new instance of MobileContentAdsSettings.
469 470 471 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#markup_language ⇒ String
The markup language to use for this ad unit.
Corresponds to the JSON property markupLanguage
452 453 454 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 452 def markup_language @markup_language end |
#scripting_language ⇒ String
The scripting language to use for this ad unit.
Corresponds to the JSON property scriptingLanguage
457 458 459 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 457 def scripting_language @scripting_language end |
#size ⇒ String
Size of this ad unit.
Corresponds to the JSON property size
462 463 464 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 462 def size @size end |
#type ⇒ String
Type of this ad unit.
Corresponds to the JSON property type
467 468 469 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 467 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
474 475 476 477 478 479 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 474 def update!(**args) @markup_language = args[:markup_language] if args.key?(:markup_language) @scripting_language = args[:scripting_language] if args.key?(:scripting_language) @size = args[:size] if args.key?(:size) @type = args[:type] if args.key?(:type) end |