Re: Uncaught exception 'InvalidArgumentException' with message 'Config file not found as specified: 'adsapi_php.ini'.

2018-05-04 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Stephen, Great! Just to sum up, the fromFile() method looks for an adsapi_php.ini file in your home directory

Re: Uncaught exception 'InvalidArgumentException' with message 'Config file not found as specified: 'adsapi_php.ini'.

2018-05-04 Thread Stephen Barrett
I figured it out. I just had to put a path inside fromfile() On Friday, May 4, 2018 at 10:38:40 AM UTC-6, Stephen Barrett wrote: > > I just put all of these files onto a website (Wordpress site) and I can't > determine where it needs me to place the adspai_php.ini file. Do I put it > in the dire

Uncaught exception 'InvalidArgumentException' with message 'Config file not found as specified: 'adsapi_php.ini'.

2018-05-04 Thread Stephen Barrett
I just put all of these files onto a website (Wordpress site) and I can't determine where it needs me to place the adspai_php.ini file. Do I put it in the directory where I have the application, or in the theme file or in the root of the entire site? I'm a bit confused. -- -- =~=~=~=~=~=~=~=~

Re: PHP Fatal error: Uncaught InvalidArgumentException: Config file not found as specified: 'adsapi_php.ini'. Home directory could not...

2018-01-03 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Max, This error is thrown when adsapi_php.ini file cannot be found in your home directory. If you are trying to get started to use AdWords PHP client library, you may want to refer the guide and let us know if you have further

PHP Fatal error: Uncaught InvalidArgumentException: Config file not found as specified: 'adsapi_php.ini'. Home directory could not...

2018-01-03 Thread Max Leong
Anyone knows what should I do to this error? I have tried many different ways but no luck with it... Regards, Max -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/

Re: v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-25 Thread Mike Enos
Hi, For anyone who is reading this thread... I solved the problem. The issue is that I am using Windows XAMPP as my development platform. The instructions at https://github.com/googleads/googleads-php-lib are a bit confusing /wrong for Windows Xampp You need to go install Composer, and a git

Re: v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi Mike, Since the issue is more related to the setup of your PHP client library, you may contact the library owners via this link for further assistance. Best regards, Peter AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-22 Thread Mike Enos
Hi Peter, When I try following this guide I do not get the composer.phar file mentioned in step 3 In Step 1, where they say to run git clone they don't say which directory. I did it from c:\DataH\xampp Why do

Re: v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-21 Thread 'Peter Oliquino' via AdWords API Forum
Hi Mike, I could see that you have already specified the OAuth2 credentials correctly in their respective properties in your adsapi_php.ini. However, could you confirm if you have also followed this guide when setti

v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-20 Thread Mike Enos
Hi, I'm trying to get v201708 working and when I try to run GetCampaigns.php I get the error message: PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be s

Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.

2017-09-20 Thread Mike Enos
mples\AdWords\v201708\BasicOperations>php GetCampaigns.php PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application fl

Re: InvalidArgumentException

2011-03-07 Thread AdWords API Advisor
Hi William, Could you post a request id for a failed request? I could take a look at the call logs to figure out more details. Cheers, Anash P. Oommen, AdWords API Advisor On Mar 7, 5:48 pm, William Vicary wrote: > Hi there, > > We are receiving the error exception "InvalidArg

InvalidArgumentException

2011-03-07 Thread William Vicary
Hi there, We are receiving the error exception "InvalidArgumentException" with the error message "Error Found: The login request used a username or password that is not recognized." This is an intermittent error message, we are able to make around 25 requests then recieve th