lib/adwords4r/v200909/CampaignCriterionService.rb in adwords4r-17.2.0 vs lib/adwords4r/v200909/CampaignCriterionService.rb in adwords4r-17.3.0

- old
+ new

@@ -437,10 +437,29 @@ @apiError_Type = apiError_Type @reason = reason end end +# OperationAccessDenied +# - fieldPath - SOAP::SOAPString +# - trigger - SOAP::SOAPString +# - apiError_Type - SOAP::SOAPString +# - reason - AdWords::V200909::CampaignCriterionService::OperationAccessDeniedReason +class OperationAccessDenied < ApiError + attr_accessor :fieldPath + attr_accessor :trigger + attr_accessor :apiError_Type + attr_accessor :reason + + def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) + @fieldPath = fieldPath + @trigger = trigger + @apiError_Type = apiError_Type + @reason = reason + end +end + # OperatorError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::CampaignCriterionService::OperatorErrorReason @@ -513,10 +532,29 @@ @apiError_Type = apiError_Type @reason = reason end end +# RangeError +# - fieldPath - SOAP::SOAPString +# - trigger - SOAP::SOAPString +# - apiError_Type - SOAP::SOAPString +# - reason - AdWords::V200909::CampaignCriterionService::RangeErrorReason +class C_RangeError < ApiError + attr_accessor :fieldPath + attr_accessor :trigger + attr_accessor :apiError_Type + attr_accessor :reason + + def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) + @fieldPath = fieldPath + @trigger = trigger + @apiError_Type = apiError_Type + @reason = reason + end +end + # ReadOnlyError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::CampaignCriterionService::ReadOnlyErrorReason @@ -864,10 +902,18 @@ # NullError.Reason class NullErrorReason < ::String NULL_CONTENT = NullErrorReason.new("NULL_CONTENT") end +# OperationAccessDenied.Reason +class OperationAccessDeniedReason < ::String + ACTION_NOT_PERMITTED = OperationAccessDeniedReason.new("ACTION_NOT_PERMITTED") + ADD_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("ADD_OPERATION_NOT_PERMITTED") + REMOVE_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("REMOVE_OPERATION_NOT_PERMITTED") + SET_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("SET_OPERATION_NOT_PERMITTED") +end + # Operator class Operator < ::String ADD = Operator.new("ADD") REMOVE = Operator.new("REMOVE") SET = Operator.new("SET") @@ -904,9 +950,15 @@ end # QuotaExceededError.Reason class QuotaExceededErrorReason < ::String QUOTA_EXCEEDED = QuotaExceededErrorReason.new("QUOTA_EXCEEDED") +end + +# RangeError.Reason +class RangeErrorReason < ::String + TOO_HIGH = RangeErrorReason.new("TOO_HIGH") + TOO_LOW = RangeErrorReason.new("TOO_LOW") end # ReadOnlyError.Reason class ReadOnlyErrorReason < ::String READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")