Class: AdWords::V201008::AdGroupAdService::ImageAd

Inherits:
Ad
  • Object
show all
Defined in:
lib/adwords4r/v201008/AdGroupAdService.rb

Overview

ImageAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V201008::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • image - AdWords::V201008::AdGroupAdService::Image

  • name - SOAP::SOAPString

  • adToCopyImageFrom - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, image = nil, name = nil, adToCopyImageFrom = nil) ⇒ ImageAd

Returns a new instance of ImageAd.



2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2144

def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, image = nil, name = nil, adToCopyImageFrom = nil)
  @id = id
  @url = url
  @displayUrl = displayUrl
  @approvalStatus = approvalStatus
  @disapprovalReasons = disapprovalReasons
  @trademarkDisapproved = trademarkDisapproved
  @ad_Type = ad_Type
  @image = image
  @name = name
  @adToCopyImageFrom = adToCopyImageFrom
end

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



2139
2140
2141
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2139

def ad_Type
  @ad_Type
end

#adToCopyImageFromObject

Returns the value of attribute adToCopyImageFrom.



2142
2143
2144
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2142

def adToCopyImageFrom
  @adToCopyImageFrom
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



2136
2137
2138
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2136

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



2137
2138
2139
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2137

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



2135
2136
2137
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2135

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



2133
2134
2135
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2133

def id
  @id
end

#imageObject

Returns the value of attribute image.



2140
2141
2142
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2140

def image
  @image
end

#nameObject

Returns the value of attribute name.



2141
2142
2143
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2141

def name
  @name
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



2138
2139
2140
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2138

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



2134
2135
2136
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2134

def url
  @url
end