Class: AdWords::V200909::AdGroupAdService::PolygonTarget

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

Overview

PolygonTarget

  • target_Type - SOAP::SOAPString

  • excluded - SOAP::SOAPBoolean

  • vertices - AdWords::V200909::AdGroupAdService::GeoPoint

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_Type = nil, excluded = nil, vertices = []) ⇒ PolygonTarget

Returns a new instance of PolygonTarget.



910
911
912
913
914
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 910

def initialize(target_Type = nil, excluded = nil, vertices = [])
  @target_Type = target_Type
  @excluded = excluded
  @vertices = vertices
end

Instance Attribute Details

#excludedObject

Returns the value of attribute excluded.



907
908
909
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 907

def excluded
  @excluded
end

#target_TypeObject

Returns the value of attribute target_Type.



906
907
908
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 906

def target_Type
  @target_Type
end

#verticesObject

Returns the value of attribute vertices.



908
909
910
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 908

def vertices
  @vertices
end