问题描述
SOAP :: Transport :: HTTP :: Client :: send_receive:POST https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?wsdl HTTP / 1.1
接受:text / xml
接受:multipart / *
接受:application / soap
内容长度: 1388
内容类型:text / xml; charset = utf-8
$ $ $ $ $ $ $ $ $ $ $ $ $ encoding =" UTF-8"?>
< soap:Envelope
&NBSP; soap:encodingStyle =" http://schemas.xmlsoap.org/soap/encoding/"
&NBSP; xmlns:soap =" http://schemas.xmlsoap.org/soap/envelope/"
&NBSP; xmlns:soapenc =" http://schemas.xmlsoap.org/soap/encoding/"
&NBSP; xmlns:xsd =" http://www.w3.org/2001/XMLSchema"
&NBSP; xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance">
< soap:Header>
&NBSP; < ApplicationToken xmlns =" https://guideads.microsoft.com/CampaignManagement/v9" />
$
&NBSP; < UserName xmlns =" https://guideads.microsoft.com/CampaignManagement/v9">""< / UserName>
&NBSP; <密码xmlns =" https://bingads.microsoft.com/CampaignManagement/v9">""< /密码>
&NBSP; < DeveloperToken xmlns =" https://guideads.microsoft.com/CampaignManagement/v9">""< / DeveloperToken>
&NBSP; < CustomerId xmlns =" https://guideads.microsoft.com/CampaignManagement/v9">""< / CustomerId>
&NBSP; < CustomerAccountId xmlns =" https://guideads.microsoft.com/CampaignManagement/v9">""< / CustomerAccountId>
< / soap:Header>
< soap:Body>
&NBSP; < UpdateKeywordsRequest xmlns =" https://guideads.microsoft.com/CampaignManagement/v9">
&NBSP; &NBSP; < AdGroupId>""< / AdGroupId>
&NBSP; &NBSP; <关键字>
&NBSP; &NBSP; &NBSP; <关键字>
&NBSP; &NBSP; &NBSP; &NBSP; < ExactMatchBid>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; <金额> 0.20< /金额>
&NBSP; &NBSP; &NBSP; &NBSP; < / ExactMatchBid>
&NBSP; &NBSP; &NBSP; &NBSP; < Id>""< / Id>
&NBSP; &NBSP; &NBSP; < / Keyword>
&NBSP; &NBSP; < / Keywords>
&NBSP; < / UpdateKeywordsRequest>
< / soap:Body>
< / soap:Envelope>
错误:
< s:Envelope xmlns:s =" http://schemas.xmlsoap.org/soap/envelope/">< s:Header>< h:TrackingId xmlns:h =" https://bingads.microsoft.com/CampaignManagement/v9">7268a48f-a3a2-40e2-beb2-236738301cab</h:TrackingId></s:Header><s:Body><UpdateKeywordsResponse
xmlns =" https://guideads.microsoft.com/CampaignManagement/v9">< PartialErrors xmlns:i =" http://www.w3.org/2001/XMLSchema-instance">< BatchError><代码> 1534< /代码><详情i:nil =" true" />< ErrorCode> CampaignServiceUpdateKeywordEmpty< / ErrorCode>< Index> 0< / Index><消息>更新
关键字实体没有数据< / Message>< Type> BatchError< / Type>< / BatchError>< / PartialErrors>< / UpdateKeywordsResponse>< / s:Body>< / s:Envelope>
不知道我犯的是什么错误。有谁知道我正在制作什么样的错误?即使我给了ExactMatchBid,它告诉我关键字实体没有数据。如果我给pram1它可以工作,那么ExactMatchBid。
SOAP::Transport::HTTP::Client::send_receive: POST https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?wsdl HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
Content-Length: 1388
Content-Type: text/xml; charset=utf-8
SOAPAction: UpdateKeywords
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<ApplicationToken xmlns="https://bingads.microsoft.com/CampaignManagement/v9" />
<UserName xmlns="https://bingads.microsoft.com/CampaignManagement/v9">""</UserName>
<Password xmlns="https://bingads.microsoft.com/CampaignManagement/v9">""</Password>
<DeveloperToken xmlns="https://bingads.microsoft.com/CampaignManagement/v9">""</DeveloperToken>
<CustomerId xmlns="https://bingads.microsoft.com/CampaignManagement/v9">""</CustomerId>
<CustomerAccountId xmlns="https://bingads.microsoft.com/CampaignManagement/v9">""</CustomerAccountId>
</soap:Header>
<soap:Body>
<UpdateKeywordsRequest xmlns="https://bingads.microsoft.com/CampaignManagement/v9">
<AdGroupId>""</AdGroupId>
<Keywords>
<Keyword>
<ExactMatchBid>
<Amount>0.20</Amount>
</ExactMatchBid>
<Id>""</Id>
</Keyword>
</Keywords>
</UpdateKeywordsRequest>
</soap:Body>
</soap:Envelope>
Error :
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">7268a48f-a3a2-40e2-beb2-236738301cab</h:TrackingId></s:Header><s:Body><UpdateKeywordsResponse xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><PartialErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><BatchError><Code>1534</Code><Details i:nil="true"/><ErrorCode>CampaignServiceUpdateKeywordEmpty</ErrorCode><Index>0</Index><Message>Update keyword entity has no data</Message><Type>BatchError</Type></BatchError></PartialErrors></UpdateKeywordsResponse></s:Body></s:Envelope>
Don't know what mistake i am making . does any one know what mistakke i am making? even though i am given ExactMatchBid it tell me keyword entity has no data .instead ExactMatchBid if i give pram1 it works .
这篇关于更新关键字:更新关键字实体没有数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!