AdGroupFeedService: [EntityNotFound.INVALID_ID @ operations[0].operand.feedId; trigger:'FeedId{id=*********}']

33 views
Skip to first unread message

Bogdan Padurariu

unread,
Nov 14, 2016, 9:24:58 AM11/14/16
to AdWords API Forum
When trying to create an AdGroupFeed using the PHP SDK, I get this error: EntityNotFound.INVALID_ID @ operations[0].operand.feedId; trigger:'FeedId{id=*********}.
I have checked the FeedID and it exists. I also tried using different accounts.
Until recently everything worked fine.
This is my request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201605">
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:clientCustomerId>***-***-****</ns1:clientCustomerId>
<ns1:developerToken>***********</ns1:developerToken>
<ns1:userAgent>Test App (AwApi-PHP/10.0.0, Common-PHP/10.0.0, PHP/5.6.27)</ns1:userAgent>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:mutate>
<ns1:operations>
<ns1:operator>ADD</ns1:operator>
<ns1:operand>
<ns1:feedId>*********</ns1:feedId>
<ns1:adGroupId>***********</ns1:adGroupId>
<ns1:matchingFunction>
<ns1:functionString>IDENTITY(true)</ns1:functionString>
</ns1:matchingFunction>
<ns1:status>ENABLED</ns1:status>
</ns1:operand>
</ns1:operations>
</ns1:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks,
Bogdan

Vishal Vinayak (Adwords API Team)

unread,
Nov 14, 2016, 1:45:08 PM11/14/16
to AdWords API Forum
Hi Bogdan, 

You may see EntityNotFound.INVALID_ID if you are using a client customer ID (in your properties file) which is either not a valid account ID or refers to an account that no longer exists. It might also happen if you are accidently using your AdWords manager account ID instead of your AdWords client account ID. Could you please check if you are using the correct client customer ID while making the API call?

If that doesn't help, could you please provide me with your client customer ID, feed ID and the ad group ID or the complete SOAP XML of the response that you received? Please click on Reply privately to author when responding.

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages