AdWords API feature request - fault information for duplicate names
The current soap response for a duplicate campaign name does not return
the existing campaign's campaignid. It would be very useful to have
this id. It can be retrieved by retrieving all the campaigids, but if
there are thousands of them, it's foolishly time consuming.
Here's the current soap response. It would be great if the existing
campaignid that has name "1724" (in this case) was returned along with
the error.
<?xml version="1.0" ?>
- <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>Campaign name is already taken</faultstring>
- <detail>
<ns1:code
xmlns:ns1="https://adwords.google.com/api/adwords/v2">36</ns1:code>
<ns2:message
xmlns:ns2="https://adwords.google.com/api/adwords/v2">Campaign name is
already taken</ns2:message>
<ns3:trigger
xmlns:ns3="https://adwords.google.com/api/adwords/v2">1724</ns3:trigger>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
0 Comments:
Yorum Gönder
<< Home