Class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Logo

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

A smaller image, for the advertiser logo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Logo

Returns a new instance of Logo.



1055
1056
1057
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1055

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

Instance Attribute Details

#heightFixnum

Corresponds to the JSON property height

Returns:

  • (Fixnum)


1043
1044
1045
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1043

def height
  @height
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


1048
1049
1050
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1048

def url
  @url
end

#widthFixnum

Corresponds to the JSON property width

Returns:

  • (Fixnum)


1053
1054
1055
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1053

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1060
1061
1062
1063
1064
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1060

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