Facing the same issue - 201607 library php PHP Fatal error: Uncaught exception 'ValidationException' with message 'Validation failed for [client_id] with value []: client_id is required.' in /home/ogexact/public/v2/audience/Google/Api/Ads/Common/Lib/AdsUser.php:536\nStack trace:\n#0 /home/ogexact/public/v2/audience/Google/Api/Ads/AdWords/Lib/AdWordsUser.php(369): AdsUser->ValidateOAuth2Info()\n#1 /home/ogexact/public/v2/audience/Google/Api/Ads/AdWords/Lib/AdWordsUser.php(215): AdWordsUser->ValidateUser()\n#2 /home/ogexact/public/v2/audience/getAdwordsAccounts.php(49): AdWordsUser->GetService('CustomerService', 'v201607')\n#3 {main}\n thrown in /home/ogexact/public/v2/audience/Google/Api/Ads/Common/Lib/AdsUser.php on line 536
This is the first step after the user gives permission to link Code is as follows $customerService = $user->GetService('CustomerService', 'v201607'); $customerdetails = $customerService->getCustomers(); $customerId = $customerdetails->customerId; $customerCompanyName = $customerdetails->companyName; $customerCurrencyCode = $customerdetails->currencyCode; $can_manage_clients = $customerdetails->canManageClients; $isautotaggingenabled = $customerdetails->autoTaggingEnabled; It was working in 201605 version with get() Please assist! Regards Deepankar On Wednesday, January 18, 2017 at 8:58:40 PM UTC+5:30, Shwetha Vastrad (AdWords API Team) wrote: > > Hi Tiana, > > Glad to hear that the issue is now resolved. If you do encounter this > error, please send over the SOAP request and response logs so I can take a > look. Please use *Reply privately to author* when responding. > > Regards, > Shwetha, AdWords API Team. > -- *DISCLAIMER*: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Further, this e-mail may contain viruses and all reasonable precaution to minimize the risk arising there from is taken by OfferGrid. OfferGrid is not liable for any damage sustained by you as a result of any virus in this e-mail. All applicable virus checks should be carried out by you before opening this e-mail or any attachment thereto. Thank you - *OfferGrid Networks (P) Ltd*. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d066ad9b-7c06-427f-aaa1-0aa828f5e561%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.