Class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::AppIcon

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

Overview

The app icon, for app download ads.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppIcon

Returns a new instance of AppIcon.



993
994
995
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 993

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

Instance Attribute Details

#heightFixnum

Corresponds to the JSON property height

Returns:

  • (Fixnum)


981
982
983
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 981

def height
  @height
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


986
987
988
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 986

def url
  @url
end

#widthFixnum

Corresponds to the JSON property width

Returns:

  • (Fixnum)


991
992
993
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 991

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



998
999
1000
1001
1002
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 998

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