错误1520,添加关键字时的禁止文本(始终) [英] Error 1520, Forbidden Text when Adding Keywords (All the time)

查看:84
本文介绍了错误1520,添加关键字时的禁止文本(始终)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我第一次使用API​​提交关键字时,我收到错误1520:

In my first submission of keywords using the API, I got Error 1520:

[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Message] => There is some forbidden text in the Keyword.

For every keyword that was submitted. For example, submitting 30 keywords will
produce 30 errors. Ideas?



In case you prefer the Soap explanation:

s:Server Invalid client data. Check the SOAP fault details for more information.
Last SOAP request:

<soap-env:envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adcenter.microsoft.com/v7">
<soap-env:header>
<ns1:applicationtoken>
<ns1:developertoken>MY_TOKEN</ns1:developertoken>
<ns1:username>MY_USERNAME</ns1:username>
<ns1:password>MY_PASSWORD</ns1:password>
<ns1:customeraccountid>MY_CUSTOMER_ACCOUNT_ID</ns1:customeraccountid>
</ns1:applicationtoken>
<soap-env:body>
<ns1:addkeywordsrequest>
<ns1:adgroupid>MY_ADGROUP_ID</ns1:adgroupid>
<ns1:keywords>
<ns1:keyword><ns1:text>this is my first keyword
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>Second Life phrase
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>3rd Street hotels
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>Forth of July is lovely
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>Fifth time is a charm
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>voila la 6e
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>this is my 7th keyword
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>this is my 8th keyword
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>my 9th keyword
</ns1:text></ns1:keyword><ns1:keyword><ns1:text>this is my 10th and luckiest
</ns1:text></ns1:keyword>
</ns1:keywords>
</ns1:addkeywordsrequest></soap-env:body></soap-env:header>


Response:

[faultstring] => Invalid client data. Check the SOAP fault details for more information
[faultcode] => s:Server
[detail] => stdClass Object
(
[EditorialApiFaultDetail] => stdClass Object
(
[TrackingId] => fed3691a-1e49-423d-8864-6a3759393307
[BatchErrors] =>
[EditorialErrors] => stdClass Object
(
[EditorialError] => Array
(
[0] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => this is my first keyword
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 0
[Message] => There is some forbidden text in the Keyword.
)

[1] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => Second Life phrase
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 1
[Message] => There is some forbidden text in the Keyword.
)

[2] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => 3rd Street hotels
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 2
[Message] => There is some forbidden text in the Keyword.
)

[3] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => Forth of July is lovely
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 3
[Message] => There is some forbidden text in the Keyword.
)

[4] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => Fifth time is a charm
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 4
[Message] => There is some forbidden text in the Keyword.
)

[5] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => voila la 6e
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 5
[Message] => There is some forbidden text in the Keyword.
)

[6] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => this is my 7th keyword
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 6
[Message] => There is some forbidden text in the Keyword.
)

[7] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => this is my 8th keyword
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 7
[Message] => There is some forbidden text in the Keyword.
)

[8] => stdClass Object
(
[Appealable] =>
[Code] => 1520
[DisapprovedText] => my 9th keyword
[ErrorCode] => CampaignServiceForbiddenWordInKeywordText
[Index] => 8
[Message] => There is some forbidden text in the Keyword.
)

)

)

[OperationErrors] =>
)

)











推荐答案

您好,

我可以为以下SOAP添加相同的关键字要求:

I am able to add the same keywords per the following SOAP request:

<?xml version =" 1.0" encoding =" utf-8"?>

< s:Envelope xmlns:s =" http://schemas.xmlsoap.org/soap/envelope/ ">

  < s:标题>

    < h:ApplicationToken i:nil =" true" xmlns:h =" https://adcenter.microsoft.com/v7 " xmlns:i =" http://www.w3.org/2001/XMLSchema-instance " />

    < h:CustomerAccountId xmlns:h =" https://adcenter.microsoft。 com / v7"> ***< / h:CustomerAccountId >

    < h:CustomerId xmlns:h =" https://adcenter.microsoft。 com / v7"> ***< / h:CustomerId >

    < h:DeveloperToken xmlns:h =" https://adcenter.microsoft。 com / v7"> ***< / h:DeveloperToken >

    < h:密码xmlns:h =" https://adcenter.microsoft。 com / v7"> ***< / h:密码>

    < h:UserName xmlns:h =" https://adcenter.microsoft。 com / v7"> ***< / h:用户名>

  < / s:Header>

  < s:正文>

    < AddKeywordsRequest xmlns =" https://adcenter.microsoft.com/v7 ">

      < AdGroupId> ***< / AdGroupId>

      < Keywords xmlns:i =" http://www.w3.org/2001/XMLSchema-instance ">

        <关键字>

          <文字>这是我的第一个关键字< / Text>

        < / Keyword>

        <关键字>

          < Text> Second Life短语< / Text>

        < / Keyword>

        <关键字>

          < Text> 3rd Street酒店< / Text>

        < / Keyword>

        <关键字>

          <文字> 7月份很可爱< / Text>

        < / Keyword>

        <关键字>

          <文字>第五次是魅力< / Text>

        < / Keyword>

        <关键字>

          < Text> voila la 6e< / Text>

        < / Keyword>

        <关键字>

          <文字>这是我的第7个关键字< / Text>

        < / Keyword>

        <关键字>

          <文字>这是我的第8个关键字< / Text>

        < / Keyword>

        <关键字>

          <文字>我的第9个关键字< /文字>

        < / Keyword>

        <关键字>

          <文字>这是我的第10个和最幸运的< /文字>

        < / Keyword>

      < / Keywords>

    < / AddKeywordsRequest>

  < / s:正文>

< / s:信封>

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <h:ApplicationToken i:nil="true" xmlns:h="https://adcenter.microsoft.com/v7" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
    <h:CustomerAccountId xmlns:h="https://adcenter.microsoft.com/v7">***</h:CustomerAccountId>
    <h:CustomerId xmlns:h="https://adcenter.microsoft.com/v7">***</h:CustomerId>
    <h:DeveloperToken xmlns:h="https://adcenter.microsoft.com/v7">***</h:DeveloperToken>
    <h:Password xmlns:h="https://adcenter.microsoft.com/v7">***</h:Password>
    <h:UserName xmlns:h="https://adcenter.microsoft.com/v7">***</h:UserName>
  </s:Header>
  <s:Body>
    <AddKeywordsRequest xmlns="https://adcenter.microsoft.com/v7">
      <AdGroupId>***</AdGroupId>
      <Keywords xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <Keyword>
          <Text>this is my first keyword</Text>
        </Keyword>
        <Keyword>
          <Text>Second Life phrase</Text>
        </Keyword>
        <Keyword>
          <Text>3rd Street hotels</Text>
        </Keyword>
        <Keyword>
          <Text>Forth of July is lovely</Text>
        </Keyword>
        <Keyword>
          <Text>Fifth time is a charm</Text>
        </Keyword>
        <Keyword>
          <Text>voila la 6e</Text>
        </Keyword>
        <Keyword>
          <Text>this is my 7th keyword</Text>
        </Keyword>
        <Keyword>
          <Text>this is my 8th keyword</Text>
        </Keyword>
        <Keyword>
          <Text>my 9th keyword</Text>
        </Keyword>
        <Keyword>
          <Text>this is my 10th and luckiest</Text>
        </Keyword>
      </Keywords>
    </AddKeywordsRequest>
  </s:Body>
</s:Envelope>

如果您仍遇到问题,请考虑升级支持请求,团队可以调查您的具体案例。

If you are still experiencing an issue please consider escalating a support request, and the team could investigate your specific case.


这篇关于错误1520,添加关键字时的禁止文本(始终)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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