Class: AdWords::V201003::AdGroupAdService::TemplateAd

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

Overview

TemplateAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

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

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • templateId - SOAP::SOAPLong

  • adUnionId - AdWords::V201003::AdGroupAdService::AdUnionId

  • templateElements - AdWords::V201003::AdGroupAdService::TemplateElement

  • dimensions - AdWords::V201003::AdGroupAdService::Dimensions

  • name - SOAP::SOAPString

  • duration - SOAP::SOAPInt

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, templateId = nil, adUnionId = nil, templateElements = [], dimensions = nil, name = nil, duration = nil) ⇒ TemplateAd

Returns a new instance of TemplateAd.



2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2218

def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, templateId = nil, adUnionId = nil, templateElements = [], dimensions = nil, name = nil, duration = nil)
  @id = id
  @url = url
  @displayUrl = displayUrl
  @approvalStatus = approvalStatus
  @disapprovalReasons = disapprovalReasons
  @trademarkDisapproved = trademarkDisapproved
  @ad_Type = ad_Type
  @templateId = templateId
  @adUnionId = adUnionId
  @templateElements = templateElements
  @dimensions = dimensions
  @name = name
  @duration = duration
end

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



2210
2211
2212
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2210

def ad_Type
  @ad_Type
end

#adUnionIdObject

Returns the value of attribute adUnionId.



2212
2213
2214
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2212

def adUnionId
  @adUnionId
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



2207
2208
2209
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2207

def approvalStatus
  @approvalStatus
end

#dimensionsObject

Returns the value of attribute dimensions.



2214
2215
2216
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2214

def dimensions
  @dimensions
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



2208
2209
2210
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2208

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



2206
2207
2208
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2206

def displayUrl
  @displayUrl
end

#durationObject

Returns the value of attribute duration.



2216
2217
2218
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2216

def duration
  @duration
end

#idObject

Returns the value of attribute id.



2204
2205
2206
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2204

def id
  @id
end

#nameObject

Returns the value of attribute name.



2215
2216
2217
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2215

def name
  @name
end

#templateElementsObject

Returns the value of attribute templateElements.



2213
2214
2215
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2213

def templateElements
  @templateElements
end

#templateIdObject

Returns the value of attribute templateId.



2211
2212
2213
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2211

def templateId
  @templateId
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



2209
2210
2211
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2209

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



2205
2206
2207
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2205

def url
  @url
end