Class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::Adexchangebuyer2V2beta1::HtmlContent
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
 generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
 generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
HTML content for a creative.
Instance Attribute Summary collapse
- 
  
    
      #height  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The height of the HTML snippet in pixels. 
- 
  
    
      #snippet  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The HTML snippet that displays the ad when inserted in the web page. 
- 
  
    
      #width  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The width of the HTML snippet in pixels. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HtmlContent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of HtmlContent. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HtmlContent
Returns a new instance of HtmlContent
| 1086 1087 1088 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1086 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#height ⇒ Fixnum
The height of the HTML snippet in pixels.
Corresponds to the JSON property height
| 1074 1075 1076 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1074 def height @height end | 
#snippet ⇒ String
The HTML snippet that displays the ad when inserted in the web page.
Corresponds to the JSON property snippet
| 1079 1080 1081 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1079 def snippet @snippet end | 
#width ⇒ Fixnum
The width of the HTML snippet in pixels.
Corresponds to the JSON property width
| 1084 1085 1086 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1084 def width @width end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1091 1092 1093 1094 1095 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1091 def update!(**args) @height = args[:height] if args.key?(:height) @snippet = args[:snippet] if args.key?(:snippet) @width = args[:width] if args.key?(:width) end |