给定不存在的Id时,ApplyProductPartitionActionsRequest不再返回错误 [英] ApplyProductPartitionActionsRequest no longer returns an error when given an Id that does not exist

查看:62
本文介绍了给定不存在的Id时,ApplyProductPartitionActionsRequest不再返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ApplyProductPartitionActionsRequest的语义是否有变化?以前,每当我们提交不存在的ID时,我们都会收到错误消息。截至今天上午,我们现在收到一个没有错误的SOAP响应。 

Has there been a change in the semantics of ApplyProductPartitionActionsRequest? Previously, whenever we submitted an Id that did not exist we were returned an error. As of this morning, we now receive a SOAP response without an error. 

重现的步骤:


  1. 创建广告系列
  2. 在广告系列中创建广告组(1)
  3. 创建产品分区使用来自(2)的广告组
  4. 使用不正确的< Id>发送ApplyProductPartitionActionsRequest标签
  5. 检查错误的响应

以下请求中的ID *在我们的帐户中不存在*。

The Id in the below request *does not exist* in our account.

SOAP请求(ApplyProductPartitionActionsRequest):

SOAP request (ApplyProductPartitionActionsRequest):

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Header>
    <h:ApplicationToken
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9"
        xsi:nil="true"/>
    <h:CustomerAccountId
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">
    </h:CustomerAccountId>
    <h:CustomerId
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">
    </h:CustomerId>
    <h:DeveloperToken
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">
    </h:DeveloperToken>
    <h:AuthenticationToken
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">
    </h:AuthenticationToken>
    <h:Password
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">
    </h:Password>
    <h:UserName
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">
    </h:UserName>
  </soap:Header>
  <soap:Body
      xmlns="https://bingads.microsoft.com/CampaignManagement/v9">
    <ApplyProductPartitionActionsRequest>
      <AccountId>REDACTED
      </AccountId>
      <CriterionActions>
        <AdGroupCriterionAction>
          <Action>Update
          </Action>
          <AdGroupCriterion
              xsi:type="BiddableAdGroupCriterion">
            <AdGroupId>REDACTED
            </AdGroupId>
            <Id>1100201908758
            </Id>
            <CriterionBid
                xsi:type="FixedBid">
              <Bid>
                <Amount>0.76
                </Amount>
              </Bid>
            </CriterionBid>
          </AdGroupCriterion>
        </AdGroupCriterionAction>
      </CriterionActions>
    </ApplyProductPartitionActionsRequest>
  </soap:Body>
</soap:Envelope>

SOAP响应(ApplyProductPartitionActionsResponse):

SOAP response (ApplyProductPartitionActionsResponse):

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope
    xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <h:TrackingId
        xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">5a1f8feb-1559-4f3f-aa4e-1225904ad959
    </h:TrackingId>
  </s:Header>
  <s:Body>
    <ApplyProductPartitionActionsResponse
        xmlns="https://bingads.microsoft.com/CampaignManagement/v9">
      <AdGroupCriterionIds
          xmlns:a="http://schemas.datacontract.org/2004/07/System"
          xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:long>1100201908758
        </a:long>
      </AdGroupCriterionIds>
      <PartialErrors
          xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
    </ApplyProductPartitionActionsResponse>
  </s:Body>
</s:Envelope>

任何建议都非常有帮助。

Any advice would be extremely helpful.

谢谢, 

Hunter M。

推荐答案

嗨Hunter。

Hi Hunter.

感谢您提出此问题。我们现在正在研究它。我会跟进。

Thanks for raising this issue. We are looking into it now. I will follow up.

祝你好运,

Eric


这篇关于给定不存在的Id时,ApplyProductPartitionActionsRequest不再返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆