FeedError.DUPLICATE_FEED_NAME

93 views
Skip to first unread message

Hunter

unread,
Sep 29, 2014, 2:30:14 PM9/29/14
to adwor...@googlegroups.com
For the past few days our FeedService test has been failing due to this error: [FeedError.DUPLICATE_FEED_NAME @ operations[0].operand.name]. I am confused by this because before we run this test we are verifying that the only sitelinks feed that exists is the main ADWORDS feed.

Here are the relevant request and response:

REQUEST
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header>
    <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201406">
      <clientCustomerId xmlns="https://adwords.google.com/api/adwords/cm/v201406">3302759889
      </clientCustomerId>
      <developerToken xmlns="https://adwords.google.com/api/adwords/cm/v201406">REDACTED
      </developerToken>
      <userAgent xmlns="https://adwords.google.com/api/adwords/cm/v201406">REDACTED
      </userAgent>
      <validateOnly xmlns="https://adwords.google.com/api/adwords/cm/v201406">false
      </validateOnly>
      <partialFailure xmlns="https://adwords.google.com/api/adwords/cm/v201406">false
      </partialFailure>
    </RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201406">
      <operations>
        <operator>ADD
        </operator>
        <operand>
          <name>REDACTED
          </name>
          <attributes>
            <name>SitelinkName
            </name>
            <type>STRING
            </type>
          </attributes>
          <attributes>
            <name>SitelinkUrl
            </name>
            <type>URL
            </type>
          </attributes>
          <attributes>
            <name>SitelinkDescription1
            </name>
            <type>STRING
            </type>
          </attributes>
          <attributes>
            <name>SitelinkDescription2
            </name>
            <type>STRING
            </type>
          </attributes>
          <origin>USER
          </origin>
        </operand>
      </operations>
    </mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

RESPONSE
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201406">
      <requestId>000504381a21ce010aec1e02f0000a68
      </requestId>
      <serviceName>FeedService
      </serviceName>
      <methodName>mutate
      </methodName>
      <operations>1
      </operations>
      <responseTime>166
      </responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server
      </faultcode>
      <faultstring>[FeedError.DUPLICATE_FEED_NAME @ operations[0].operand.name]
      </faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201406">
          <message>[FeedError.DUPLICATE_FEED_NAME @ operations[0].operand.name]
          </message>
          <ApplicationException.Type>ApiException
          </ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="FeedError">
            <fieldPath>operations[0].operand.name
            </fieldPath>
            <trigger>
            </trigger>
            <errorString>FeedError.DUPLICATE_FEED_NAME
            </errorString>
            <ApiError.Type>FeedError
            </ApiError.Type>
            <reason>DUPLICATE_FEED_NAME
            </reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Is there any other reason we would be getting this error back?


(Note: I will be happy to give more information if needed)
Thanks.
Hunter.

Ray Tsang (AdWords API Team)

unread,
Sep 29, 2014, 6:03:47 PM9/29/14
to adwor...@googlegroups.com
Hunter,

It's most likely that the name of the feed that you are trying to use is already existing.  You can find the existing feeds by using the FeedService.  The feed names cannot be duplicate.

Thanks,

Ray
Reply all
Reply to author
Forward
Message has been deleted
0 new messages