Class: YSM::AdGroupService::AdGroupResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/AdGroupService.rb,
lib/ysm4r/v2/AdGroupService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(adGroup = nil, errors = nil, operationSucceeded = nil) ⇒ AdGroupResponse

Returns a new instance of AdGroupResponse.



53
54
55
56
57
# File 'lib/ysm4r/v1/AdGroupService.rb', line 53

def initialize(adGroup = nil, errors = nil, operationSucceeded = nil)
  @adGroup = adGroup
  @errors = errors
  @operationSucceeded = operationSucceeded
end

Instance Attribute Details

#adGroupObject

Returns the value of attribute adGroup.



49
50
51
# File 'lib/ysm4r/v1/AdGroupService.rb', line 49

def adGroup
  @adGroup
end

#errorsObject

Returns the value of attribute errors.



50
51
52
# File 'lib/ysm4r/v1/AdGroupService.rb', line 50

def errors
  @errors
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



51
52
53
# File 'lib/ysm4r/v1/AdGroupService.rb', line 51

def operationSucceeded
  @operationSucceeded
end