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.
For more options, visit https://groups.google.com/d/optout.
  • Got err... Divyesh patel
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to