Class: AdWords::V200909::BulkMutateJobService::Ad

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v200909/BulkMutateJobService.rb

Overview

Ad

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V200909::BulkMutateJobService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • ad_Type - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil) ⇒ Ad

Returns a new instance of Ad.



21
22
23
24
25
26
27
28
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 21

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



19
20
21
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 19

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



17
18
19
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 17

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



18
19
20
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 18

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



16
17
18
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 16

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



14
15
16
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 14

def id
  @id
end

#urlObject

Returns the value of attribute url.



15
16
17
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 15

def url
  @url
end