такая ошибка выходит: хотя adsapi_php.ini подставил данные и
расскомментировал clientId clientSecret refreshToken
*Fatal error*: Uncaught exception 'InvalidArgumentException' with message
'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when
using installed/web application flow.' in
C:\OSPanel\domains\two-step-ru\googleads-php-lib\src\Google\AdsApi\Common\OAuth2TokenBuilder.php:225
Stack trace: #0
C:\OSPanel\domains\two-step-ru\googleads-php-lib\src\Google\AdsApi\Common\OAuth2TokenBuilder.php(173):
Google\AdsApi\Common\OAuth2TokenBuilder->validate() #1
C:\OSPanel\domains\two-step-ru\googleads-php-lib\examples\AdWords\v201710\BasicOperations\GetCampaigns.php(81):
Google\AdsApi\Common\OAuth2TokenBuilder->build() #2
C:\OSPanel\domains\two-step-ru\googleads-php-lib\examples\AdWords\v201710\BasicOperations\GetCampaigns.php(90):
Google\AdsApi\Examples\AdWords\v201710\BasicOperations\GetCampaigns::main()
#3 {main} thrown in
*C:\OSPanel\domains\two-step-ru\googleads-php-lib\src\Google\AdsApi\Common\OAuth2TokenBuilder.php*
on
line *225*
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/1d6482d1-c475-405c-bf49-a920953c6eaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.