如果您在上传费率规则 XML 文件后收到错误消息,请使用下表查找错误代码及其说明。
如需有关对费率规则 XML 文件进行编码的帮助,请参阅以下资源:
编码 | 说明 |
---|---|
1001 | <RateRule> ID 过长。长度不得超过 40 个字符。 |
1002 | 配置中有 <RateRule> ID 重复。
每个 <RateRule> ID 只能使用一次。 |
1003 | 相同的 ID 已提供给多个 <UserRateCondition> 。每个 ID 只能用于一个 <UserRateCondition> 。 |
1004 | “<RateRule> ”ID 的“<UserRateCondition> ”reference_id 无效。 |
1,005 | 没有为 child_id 定义任何 <UserRateCondition> 。 |
1006 | <UserRateCondition> 检查用户是否不是 Google One 成员。只允许对 Google One 会员资格进行肯定检查。 |
1007 | 一个或多个受众群体名单 ID 无效。它与合作伙伴的任何已知受众群体名单 ID 都不匹配。 |
1008 | 内嵌 <UserRateCondition> 会检查用户是否不是 Google One 成员。只允许对 Google One 会员资格进行肯定检查。 |
1009 | <RateModification> 包含非免费 Wi-Fi 的 <HotelAmenity> 。只能使用免费 Wi-Fi。 |
1010 | 元素包含无效的国家/地区代码。 |
1011 | 元素包含无效的语言代码。 |
1012 | <UserRateCondition> 不应将受众群体名单条件与细分用户的其他条件结合使用。 |
1013 | 内嵌 <UserRateCondition> 不应将受众群体名单条件与细分用户的其他条件组合使用。 |
1014 年 | 已在合作伙伴配置中设置 default_rate_rule_id 。必须定义该 id 的 <RateRule> 。 |
2001 年 | 发现 <PrivateRates> 值中存在非预期元素。 |
2002 年 | 发现 <UserRateCondition> 值中存在非预期元素。 |
2003 年 | 如果 <UserRateCondition> 中包含多个元素,则必须提供 <ConditionOperator> 的值。 |
2004 年 | 必须为顶级 <UserRateCondition> 提供一个非空 ID。 |
2005 年 | “<UserRateCondition> ”ID 使用了多次。每个 <UserRateCondition> ID 只能使用一次。 |
2006 年 | reference_id 错误:该属性未引用有效的 <UserRateCondition> 。 |
2007 年 | 内部 <UserRateCondition> 不能为空。 |
2008 年 | 如果 <UserRateCondition> 中包含多个元素,则必须提供 <ConditionOperator> 的值。 |
2009 年 | 在 <RateModification> 中发现了意外元素。 |
2016 年 | 必须为“<RateRule> ”提供非空 ID。 |
2017 | 发现 <RateRule> 值中存在非预期元素。 |
2018 年 | “<RateRule> ”ID 使用了多次。每个 <RateRule> ID 只能使用一次。 |
2019 年 | 不允许使用指定的百分比值。百分比值必须介于 0 到 100 之间。 |
2020 年 | 字符串无法理解为整数。只能使用 43 或 -67 等整数值。 |
2021 | 此值不允许使用负数。此值必须为零或正整数。 |
2022 年 | <UserDeviceType> 无效。 |
2023 年 | <PackageType> 无效。 |
2024 年 | <UserRateCondition> 运算符无效。 |
2025 年 | <UserCountry> 代码无效。请输入有效的国家/地区代码,例如 GB 或 US。 |
2026 年 | 无法理解时间值。 |
2027 年 | 星期值无法识别。 |
2028 年 | <RateModification> 的操作属性无效。 |
2029 年 | <RateModification> 的币种属性无效。请使用由 3 个字母构成的有效货币代码,例如 EUR 或 USD。 |
2030 年 | <RateModification> 必须包含至少一个嵌套元素。 |
2031 年 | XML 格式不正确。请使用“xmllint”,根据费率规则 XML 文件架构验证您的 XML 文件。”如需了解详情,请参阅架构。 |
2032 年 | “<RateRule> ”只能包含一条广告内容描述。 |
2033 年 | <RateRule> 只能有一个促销代码。 |
2034 年 | 此<IneligibilityReason> 无效。 |
2035 年 | 此<IneligibilityHintType> 无效。 |
2036 年 | 在 <RateIneligibility> 中发现了意外元素。 |
2037 年 | <RateIneligibility> 必须包含 IneligibilityType 和至少一个 <IneligibilityReason> |
2038 年 | 此<HotelAmenity> 无效。 |
3001 | 遇到内部错误。 |