lib/adwords4r/v200906/AdGroupCriterionServiceMappingRegistry.rb in adwords4r-16.0.0 vs lib/adwords4r/v200906/AdGroupCriterionServiceMappingRegistry.rb in adwords4r-17.0.0

- old
+ new

@@ -44,10 +44,22 @@ ["limitType", "AdWords::V200906::AdGroupCriterionService::AdGroupCriterionLimitExceededCriteriaLimitType", [0, 1]] ] ) EncodedRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::AuthenticationError, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::AdGroupCriterionService::AuthenticationErrorReason", [0, 1]] + ] + ) + + EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::AuthorizationError, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -209,22 +221,10 @@ ["matchType", "AdWords::V200906::AdGroupCriterionService::KeywordMatchType", [0, 1]] ] ) EncodedRegistry.register( - :class => AdWords::V200906::AdGroupCriterionService::LoasAuthenticationError, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError"), - :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), - :schema_element => [ - ["fieldPath", "SOAP::SOAPString", [0, 1]], - ["trigger", "SOAP::SOAPString", [0, 1]], - ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], - ["reason", "AdWords::V200906::AdGroupCriterionService::LoasAuthenticationErrorReason", [0, 1]] - ] - ) - - EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::LongValue, :schema_type => XSD::QName.new(NsV200906, "LongValue"), :schema_basetype => XSD::QName.new(NsV200906, "NumberValue"), :schema_element => [ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ComparableValue.Type")], [0, 1]], @@ -385,10 +385,22 @@ ["reason", "AdWords::V200906::AdGroupCriterionService::QuotaCheckErrorReason", [0, 1]] ] ) EncodedRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::QuotaExceededError, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::AdGroupCriterionService::QuotaExceededErrorReason", [0, 1]] + ] + ) + + EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::ReadOnlyError, :schema_type => XSD::QName.new(NsV200906, "ReadOnlyError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -460,11 +472,12 @@ EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::StatsSelector, :schema_type => XSD::QName.new(NsV200906, "StatsSelector"), :schema_element => [ - ["dateRange", "AdWords::V200906::AdGroupCriterionService::DateRange", [0, 1]] + ["dateRange", "AdWords::V200906::AdGroupCriterionService::DateRange", [0, 1]], + ["statsSelector_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "StatsSelector.Type")], [0, 1]] ] ) EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::Criterion, @@ -499,10 +512,34 @@ ["violatingParts", "AdWords::V200906::AdGroupCriterionService::PolicyViolationErrorPart[]", [0, nil]] ] ) EncodedRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::Stats, + :schema_type => XSD::QName.new(NsV200906, "Stats"), + :schema_element => [ + ["startDate", "SOAP::SOAPString", [0, 1]], + ["endDate", "SOAP::SOAPString", [0, 1]], + ["network", "AdWords::V200906::AdGroupCriterionService::StatsNetwork", [0, 1]], + ["clicks", "SOAP::SOAPLong", [0, 1]], + ["impressions", "SOAP::SOAPLong", [0, 1]], + ["cost", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["averagePosition", "SOAP::SOAPDouble", [0, 1]], + ["averageCpc", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["averageCpm", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["ctr", "SOAP::SOAPDouble", [0, 1]], + ["conversions", "SOAP::SOAPLong", [0, 1]], + ["conversionRate", "SOAP::SOAPDouble", [0, 1]], + ["costPerConversion", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["conversionsManyPerClick", "SOAP::SOAPLong", [0, 1]], + ["conversionRateManyPerClick", "SOAP::SOAPDouble", [0, 1]], + ["costPerConversionManyPerClick", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["stats_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "Stats.Type")], [0, 1]] + ] + ) + + EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::ApiException, :schema_type => XSD::QName.new(NsV200906, "ApiException"), :schema_basetype => XSD::QName.new(NsV200906, "ApplicationException"), :schema_element => [ ["message", "SOAP::SOAPString", [0, 1]], @@ -583,11 +620,12 @@ ["systemServingStatus", "AdWords::V200906::AdGroupCriterionService::SystemServingStatus", [0, 1]], ["approvalStatus", "AdWords::V200906::AdGroupCriterionService::ApprovalStatus", [0, 1]], ["destinationUrl", "SOAP::SOAPString", [0, 1]], ["bids", "AdWords::V200906::AdGroupCriterionService::AdGroupCriterionBids", [0, 1]], ["firstPageCpc", "AdWords::V200906::AdGroupCriterionService::Bid", [0, 1]], - ["qualityInfo", "AdWords::V200906::AdGroupCriterionService::QualityInfo", [0, 1]] + ["qualityInfo", "AdWords::V200906::AdGroupCriterionService::QualityInfo", [0, 1]], + ["stats", "AdWords::V200906::AdGroupCriterionService::Stats", [0, 1]] ] ) EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::AdGroupCriterion, @@ -658,10 +696,15 @@ :class => AdWords::V200906::AdGroupCriterionService::ApprovalStatus, :schema_type => XSD::QName.new(NsV200906, "ApprovalStatus") ) EncodedRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::AuthenticationErrorReason, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError.Reason") + ) + + EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::AuthorizationErrorReason, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError.Reason") ) EncodedRegistry.register( @@ -723,15 +766,10 @@ :class => AdWords::V200906::AdGroupCriterionService::KeywordMatchType, :schema_type => XSD::QName.new(NsV200906, "KeywordMatchType") ) EncodedRegistry.register( - :class => AdWords::V200906::AdGroupCriterionService::LoasAuthenticationErrorReason, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError.Reason") - ) - - EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::NewEntityCreationErrorReason, :schema_type => XSD::QName.new(NsV200906, "NewEntityCreationError.Reason") ) EncodedRegistry.register( @@ -768,10 +806,15 @@ :class => AdWords::V200906::AdGroupCriterionService::QuotaCheckErrorReason, :schema_type => XSD::QName.new(NsV200906, "QuotaCheckError.Reason") ) EncodedRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::QuotaExceededErrorReason, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError.Reason") + ) + + EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::ReadOnlyErrorReason, :schema_type => XSD::QName.new(NsV200906, "ReadOnlyError.Reason") ) EncodedRegistry.register( @@ -783,10 +826,15 @@ :class => AdWords::V200906::AdGroupCriterionService::SizeLimitErrorReason, :schema_type => XSD::QName.new(NsV200906, "SizeLimitError.Reason") ) EncodedRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::StatsNetwork, + :schema_type => XSD::QName.new(NsV200906, "Stats.Network") + ) + + EncodedRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::StatsQueryErrorReason, :schema_type => XSD::QName.new(NsV200906, "StatsQueryError.Reason") ) EncodedRegistry.register( @@ -835,10 +883,22 @@ ["limitType", "AdWords::V200906::AdGroupCriterionService::AdGroupCriterionLimitExceededCriteriaLimitType", [0, 1]] ] ) LiteralRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::AuthenticationError, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::AdGroupCriterionService::AuthenticationErrorReason", [0, 1]] + ] + ) + + LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::AuthorizationError, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -1000,22 +1060,10 @@ ["matchType", "AdWords::V200906::AdGroupCriterionService::KeywordMatchType", [0, 1]] ] ) LiteralRegistry.register( - :class => AdWords::V200906::AdGroupCriterionService::LoasAuthenticationError, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError"), - :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), - :schema_element => [ - ["fieldPath", "SOAP::SOAPString", [0, 1]], - ["trigger", "SOAP::SOAPString", [0, 1]], - ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], - ["reason", "AdWords::V200906::AdGroupCriterionService::LoasAuthenticationErrorReason", [0, 1]] - ] - ) - - LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::LongValue, :schema_type => XSD::QName.new(NsV200906, "LongValue"), :schema_basetype => XSD::QName.new(NsV200906, "NumberValue"), :schema_element => [ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ComparableValue.Type")], [0, 1]], @@ -1176,10 +1224,22 @@ ["reason", "AdWords::V200906::AdGroupCriterionService::QuotaCheckErrorReason", [0, 1]] ] ) LiteralRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::QuotaExceededError, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::AdGroupCriterionService::QuotaExceededErrorReason", [0, 1]] + ] + ) + + LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::ReadOnlyError, :schema_type => XSD::QName.new(NsV200906, "ReadOnlyError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -1251,11 +1311,12 @@ LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::StatsSelector, :schema_type => XSD::QName.new(NsV200906, "StatsSelector"), :schema_element => [ - ["dateRange", "AdWords::V200906::AdGroupCriterionService::DateRange", [0, 1]] + ["dateRange", "AdWords::V200906::AdGroupCriterionService::DateRange", [0, 1]], + ["statsSelector_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "StatsSelector.Type")], [0, 1]] ] ) LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::Criterion, @@ -1290,10 +1351,34 @@ ["violatingParts", "AdWords::V200906::AdGroupCriterionService::PolicyViolationErrorPart[]", [0, nil]] ] ) LiteralRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::Stats, + :schema_type => XSD::QName.new(NsV200906, "Stats"), + :schema_element => [ + ["startDate", "SOAP::SOAPString", [0, 1]], + ["endDate", "SOAP::SOAPString", [0, 1]], + ["network", "AdWords::V200906::AdGroupCriterionService::StatsNetwork", [0, 1]], + ["clicks", "SOAP::SOAPLong", [0, 1]], + ["impressions", "SOAP::SOAPLong", [0, 1]], + ["cost", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["averagePosition", "SOAP::SOAPDouble", [0, 1]], + ["averageCpc", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["averageCpm", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["ctr", "SOAP::SOAPDouble", [0, 1]], + ["conversions", "SOAP::SOAPLong", [0, 1]], + ["conversionRate", "SOAP::SOAPDouble", [0, 1]], + ["costPerConversion", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["conversionsManyPerClick", "SOAP::SOAPLong", [0, 1]], + ["conversionRateManyPerClick", "SOAP::SOAPDouble", [0, 1]], + ["costPerConversionManyPerClick", "AdWords::V200906::AdGroupCriterionService::Money", [0, 1]], + ["stats_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "Stats.Type")], [0, 1]] + ] + ) + + LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::ApiException, :schema_type => XSD::QName.new(NsV200906, "ApiException"), :schema_basetype => XSD::QName.new(NsV200906, "ApplicationException"), :schema_element => [ ["message", "SOAP::SOAPString", [0, 1]], @@ -1374,11 +1459,12 @@ ["systemServingStatus", "AdWords::V200906::AdGroupCriterionService::SystemServingStatus", [0, 1]], ["approvalStatus", "AdWords::V200906::AdGroupCriterionService::ApprovalStatus", [0, 1]], ["destinationUrl", "SOAP::SOAPString", [0, 1]], ["bids", "AdWords::V200906::AdGroupCriterionService::AdGroupCriterionBids", [0, 1]], ["firstPageCpc", "AdWords::V200906::AdGroupCriterionService::Bid", [0, 1]], - ["qualityInfo", "AdWords::V200906::AdGroupCriterionService::QualityInfo", [0, 1]] + ["qualityInfo", "AdWords::V200906::AdGroupCriterionService::QualityInfo", [0, 1]], + ["stats", "AdWords::V200906::AdGroupCriterionService::Stats", [0, 1]] ] ) LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::AdGroupCriterion, @@ -1449,10 +1535,15 @@ :class => AdWords::V200906::AdGroupCriterionService::ApprovalStatus, :schema_type => XSD::QName.new(NsV200906, "ApprovalStatus") ) LiteralRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::AuthenticationErrorReason, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError.Reason") + ) + + LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::AuthorizationErrorReason, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError.Reason") ) LiteralRegistry.register( @@ -1514,15 +1605,10 @@ :class => AdWords::V200906::AdGroupCriterionService::KeywordMatchType, :schema_type => XSD::QName.new(NsV200906, "KeywordMatchType") ) LiteralRegistry.register( - :class => AdWords::V200906::AdGroupCriterionService::LoasAuthenticationErrorReason, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError.Reason") - ) - - LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::NewEntityCreationErrorReason, :schema_type => XSD::QName.new(NsV200906, "NewEntityCreationError.Reason") ) LiteralRegistry.register( @@ -1559,10 +1645,15 @@ :class => AdWords::V200906::AdGroupCriterionService::QuotaCheckErrorReason, :schema_type => XSD::QName.new(NsV200906, "QuotaCheckError.Reason") ) LiteralRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::QuotaExceededErrorReason, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError.Reason") + ) + + LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::ReadOnlyErrorReason, :schema_type => XSD::QName.new(NsV200906, "ReadOnlyError.Reason") ) LiteralRegistry.register( @@ -1571,9 +1662,14 @@ ) LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::SizeLimitErrorReason, :schema_type => XSD::QName.new(NsV200906, "SizeLimitError.Reason") + ) + + LiteralRegistry.register( + :class => AdWords::V200906::AdGroupCriterionService::StatsNetwork, + :schema_type => XSD::QName.new(NsV200906, "Stats.Network") ) LiteralRegistry.register( :class => AdWords::V200906::AdGroupCriterionService::StatsQueryErrorReason, :schema_type => XSD::QName.new(NsV200906, "StatsQueryError.Reason")