"Error occurred during parsing: Unexpected wire type."

208 views
Skip to first unread message

Matt Rodney

unread,
Dec 23, 2022, 2:29:34 PM12/23/22
to Google Ads API and AdWords API Forum
Hi,
I am trying to use List accessible customers code snippet from the documentation, however i run into an error "Error occurred during parsing: Unexpected wire type." at the point of initializing the $googleadsclient:
$googleAdsClient = (new GoogleAdsClientBuilder())->fromFile()
           
->withOAuth2Credential($oAuth2Credential)
           
->build();
Please  help make sense of this and is there a solution for it?

Google Ads API Forum Advisor

unread,
Dec 27, 2022, 11:28:48 AM12/27/22
to mattr...@gmail.com, adwor...@googlegroups.com
Hi Matt,

Thanks for reaching out. This appears to be a protocol buffer error. Can you please try reaching out to the PHP client library owners for more information on this issue?

Thanks,

Google Logo
Matt
Google Ads API Team
 


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