Hi,

i have my google_ads_php.ini file look as follows

jsonKeyFilePath = 
"/home/nayana/code/keywordapp-backend/managed-client-portal-4176c1bf1e30.json"
scopes = "https://www.googleapis.com/auth/adwords";
impersonatedEmail = "[email protected]"

and when I use 
oAuth2Credential = (new OAuth2TokenBuilder())->fromFile()->build();

i get the following error 

HP Fatal error:  Uncaught UnexpectedValueException: All of 'clientId', 
'clientSecret', and 'refreshToken' must be set when using installed/web 
application flow. in 
/home/nayana/code/google-ads-php/src/Google/Ads/GoogleAds/Lib/OAuth2TokenBuilder.php:216
 

i followed instruction on service account flow. anyone have experience on 
this?

Nayana

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cce76d85-e4a6-43df-8a23-545e948bed09n%40googlegroups.com.

Reply via email to