Class: AdWords::V201008::AdGroupAdService::TemplateAd

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

Overview

TemplateAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

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

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • templateId - SOAP::SOAPLong

  • adUnionId - AdWords::V201008::AdGroupAdService::AdUnionId

  • templateElements - AdWords::V201008::AdGroupAdService::TemplateElement

  • dimensions - AdWords::V201008::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.



2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2257

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.



2249
2250
2251
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2249

def ad_Type
  @ad_Type
end

#adUnionIdObject

Returns the value of attribute adUnionId.



2251
2252
2253
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2251

def adUnionId
  @adUnionId
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



2246
2247
2248
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2246

def approvalStatus
  @approvalStatus
end

#dimensionsObject

Returns the value of attribute dimensions.



2253
2254
2255
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2253

def dimensions
  @dimensions
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



2247
2248
2249
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2247

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



2245
2246
2247
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2245

def displayUrl
  @displayUrl
end

#durationObject

Returns the value of attribute duration.



2255
2256
2257
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2255

def duration
  @duration
end

#idObject

Returns the value of attribute id.



2243
2244
2245
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2243

def id
  @id
end

#nameObject

Returns the value of attribute name.



2254
2255
2256
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2254

def name
  @name
end

#templateElementsObject

Returns the value of attribute templateElements.



2252
2253
2254
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2252

def templateElements
  @templateElements
end

#templateIdObject

Returns the value of attribute templateId.



2250
2251
2252
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2250

def templateId
  @templateId
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



2248
2249
2250
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2248

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



2244
2245
2246
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 2244

def url
  @url
end