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

- old
+ new

@@ -511,10 +511,29 @@ @apiError_Type = apiError_Type @reason = reason end end +# EntityNotFound +# - fieldPath - SOAP::SOAPString +# - trigger - SOAP::SOAPString +# - apiError_Type - SOAP::SOAPString +# - reason - AdWords::V200909::AdExtensionOverrideService::EntityNotFoundReason +class EntityNotFound < 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 + # InternalApiError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::AdExtensionOverrideService::InternalApiErrorReason @@ -587,10 +606,29 @@ @apiError_Type = apiError_Type @reason = reason end end +# OperatorError +# - fieldPath - SOAP::SOAPString +# - trigger - SOAP::SOAPString +# - apiError_Type - SOAP::SOAPString +# - reason - AdWords::V200909::AdExtensionOverrideService::OperatorErrorReason +class OperatorError < 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 + # QuotaCheckError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::AdExtensionOverrideService::QuotaCheckErrorReason @@ -890,10 +928,15 @@ # DistinctError.Reason class DistinctErrorReason < ::String DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT") end +# EntityNotFound.Reason +class EntityNotFoundReason < ::String + INVALID_ID = EntityNotFoundReason.new("INVALID_ID") +end + # InternalApiError.Reason class InternalApiErrorReason < ::String UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR") end @@ -927,9 +970,14 @@ # Operator class Operator < ::String ADD = Operator.new("ADD") REMOVE = Operator.new("REMOVE") SET = Operator.new("SET") +end + +# OperatorError.Reason +class OperatorErrorReason < ::String + OPERATOR_NOT_SUPPORTED = OperatorErrorReason.new("OPERATOR_NOT_SUPPORTED") end # QuotaCheckError.Reason class QuotaCheckErrorReason < ::String ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")