Hi Alex, I looked up your request and noticed that you are not setting the *clientCustomerId* in your SOAP header. As a result, the API will attempt to back into the effective account from your credentials. If you are using credentials from an MCC account then the feed with that ID will not exist in the effective account (assuming your feed is in an AdWords account, not your MCC). Setting the customer ID to the actual AdWords client account should resolve this.
Cheers, Josh, AdWords API Team On Wednesday, June 4, 2014 12:04:10 PM UTC-4, Alex Schäfer wrote: > > Hi group, > > when I try to add a new FeedItem with FeedItemService I get the error that > my feedId is invalid. We have only one feed in the system and the id is > correct. (FeedService or AdGroupFeedService returns this id). Updating > FeedItems works perfect. Hope you can help me :) > > Request: > <ns1:operations> > <ns1:operator>ADD</ns1:operator> > <ns1:operand> > <ns1:feedId>11874994</ns1:feedId> > <ns1:status>ACTIVE</ns1:status> > <ns1:startTime>20140616 000000</ns1:startTime> > <ns1:endTime>20141029 235959</ns1:endTime> > <ns1:attributeValues> > <ns1:feedAttributeId>1</ns1:feedAttributeId> > <ns1:stringValue>Test1</ns1:stringValue> > </ns1:attributeValues> > <ns1:attributeValues> > <ns1:feedAttributeId>2</ns1:feedAttributeId> > <ns1:stringValue>http://www.test2.de</ns1:stringValue> > </ns1:attributeValues> > <ns1:attributeValues> > <ns1:feedAttributeId>5</ns1:feedAttributeId> > <ns1:stringValue>descrp1</ns1:stringValue> > </ns1:attributeValues> > <ns1:attributeValues> > <ns1:feedAttributeId>6</ns1:feedAttributeId> > <ns1:stringValue>descrp1</ns1:stringValue> > </ns1:attributeValues> > <ns1:devicePreference/> > </ns1:operand> > </ns1:operations> > > Response: > > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[EntityNotFound.INVALID_ID @ > operations[0].operand.feedId]</faultstring> > <detail> > <ApiExceptionFault xmlns=" > https://adwords.google.com/api/adwords/cm/v201402"> > <message>[EntityNotFound.INVALID_ID @ > operations[0].operand.feedId]</message> > > <ApplicationException.Type>ApiException</ApplicationException.Type> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="EntityNotFound"> > <fieldPath>operations[0].operand.feedId</fieldPath> > <trigger/> > <errorString>EntityNotFound.INVALID_ID</errorString> > <ApiError.Type>EntityNotFound</ApiError.Type> > <reason>INVALID_ID</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > > Thanks > > Alex > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
