Hi Divyesh,
The error you encountered seems specific to PHP client library rather than
the AdWords API. This said, I would suggest to post your issue on this link
<https://github.com/googleads/googleads-php-lib/issues> as the client
library owners of PHP are better equipped to assist you here.
Thanks and regards,
Luis
AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 02/27/19 22:03:01 [email protected] wrote:
Hello Developers,
I got the error in first call API.
I have already set clientId, ClientSecret, RefreshToken in adsapi_php.ini
files and put those file in root directory of Codeigniter project.
This was the error which i got,
An uncaught Exception was encountered
Type: InvalidArgumentException
Message: All of 'clientId', 'clientSecret', and 'refreshToken' must be set
when using installed/web application flow.
Filename: /var/projects/filud/filud_dev/application/vendor/googleads/
googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php
Line Number: 225
Backtrace:
File: /var/projects/filud/filud_dev/application/vendor/googleads/googleads-
php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php
Line: 173
Function: validatePlease look at the error and give me a solution for that.
Please look at the error and give me a solution for that.
Thank you
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads 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/bac98b6c-fe92-4cd4-a16a-3ff155ca60d3%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/bac98b6c-fe92-4cd4-a16a-3ff155ca60d3%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads 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/ijlio0tulo0000010iekr6001edn52y74mj4d9p74o30c1g68qj8e9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.