Class: AdWords::V201003::AdGroupAdService::ImageAd

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

Overview

ImageAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V201003::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • image - AdWords::V201003::AdGroupAdService::Image

  • name - SOAP::SOAPString

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) ⇒ ImageAd

Returns a new instance of ImageAd.



2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2106

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



2102
2103
2104
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2102

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



2099
2100
2101
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2099

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



2100
2101
2102
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2100

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



2098
2099
2100
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2098

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



2096
2097
2098
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2096

def id
  @id
end

#imageObject

Returns the value of attribute image.



2103
2104
2105
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2103

def image
  @image
end

#nameObject

Returns the value of attribute name.



2104
2105
2106
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2104

def name
  @name
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



2101
2102
2103
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2101

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



2097
2098
2099
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2097

def url
  @url
end