Class: AdwordsApi::V201101::AdGroupService::Predicate

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v201101/AdGroupService.rb

Overview

Predicate

  • field - SOAP::SOAPString

  • operator - AdwordsApi::V201101::AdGroupService::PredicateOperator

  • values - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field = nil, operator = nil, values = []) ⇒ Predicate

Returns a new instance of Predicate.



54
55
56
57
58
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 54

def initialize(field = nil, operator = nil, values = [])
  @field = field
  @operator = operator
  @values = values
end

Instance Attribute Details

#fieldObject

Returns the value of attribute field.



50
51
52
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 50

def field
  @field
end

#operatorObject

Returns the value of attribute operator.



51
52
53
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 51

def operator
  @operator
end

#valuesObject

Returns the value of attribute values.



52
53
54
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 52

def values
  @values
end