getting Fatal error while running getChangeDetails example for change event service

14 views
Skip to first unread message

Vijaysinh Parmar

unread,
Jan 8, 2021, 12:47:23 PM1/8/21
to AdWords API and Google Ads API Forum

I am getting api response but same time after printing API response I am getting below error.

Please check attached screenshot.

I am using PHP.

I am using V6 api version.

Fatal error: Uncaught TypeError: Argument 1 passed to Google\Ads\GoogleAds\Util\FieldMasks::getDescriptorForMessage() must be an instance of Google\Protobuf\Internal\Message, instance of Google\Protobuf\Internal\RepeatedField given, called in C:\wamp64\www\libs\google-ads-php\src\Google\Ads\GoogleAds\Util\FieldMasks.php on line 261 and defined in C:\wamp64\www\libs\google-ads-php\src\Google\Ads\GoogleAds\Util\FieldMasks.php on line 293





error.PNG

Google Ads API Forum Advisor Prod

unread,
Jan 11, 2021, 12:25:27 AM1/11/21
to er.parm...@gmail.com, adwor...@googlegroups.com
Hi Vijaysinh,

Thank you for posting your concern.

Our team can provide support to Google Ads API / AdWords API related concerns.

I understand that you are encountering error with your PHP code/client library, however, I am afraid that issues and concerns related to this is already outside of our expertise.

With this, I would suggest reaching out to the author of the PHP client library via this link to get support from them as they are more equipped to provide support to PHP code and PHP client library related concerns and issues

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AIioY:ref
Reply all
Reply to author
Forward
0 new messages