Fatal error: Uncaught exception 'Google\AdsApi\AdWords\v201710\cm\ApiException' with message '[EntityNotFound.INVALID_ID @ operations[0].operand.adGroupId; trigger:'AdGroupId:

26 views
Skip to first unread message

Bhairavi

unread,
Nov 29, 2017, 5:15:26 AM11/29/17
to AdWords API Forum
Hi,

I am using PHP client library for Google adwords api.In basic operations ,GetCampaigns and GetAdGroups are working fine.but GetExpandedTextAds returns me 0 and AddExpandedTextAds returns me error Fatal error: Uncaught exception 'Google\AdsApi\AdWords\v201710\cm\ApiException' with message '[EntityNotFound.INVALID_ID @ operations[0].operand.adGroupId; trigger:'AdGroupId ,I have provided valid AdGroup Id ,which i got from running GetAdGroups api.

Jude Amagoh

unread,
Nov 29, 2017, 10:23:11 AM11/29/17
to AdWords API Forum
Hi,

Could you provide the following details?
  • PHP version and if you are using 32-bit or 64-bit PHP
  • PHP client library version
If you're using 32-bit PHP, you'll need to change all instances of intval() to floatval(). Please check here for more details. If that is not the case, could you enable logging and provide the SOAP request and response so I can check if the values are being passed correctly? Please use Reply privately to author when responding. 

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