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 

 by 
default. Please refer this section of guide 
 for better 
clarity. You may also use this sample code 

 as 
mentioned in that section to find your home directory. However, if you want 
to store this file in another directory, you can pass the path of the file 
as an argument. For example:

fromFile('/config/myprops.ini') 

Please let me know if you have any further questions.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/4e37e2a4-f768-4d42-ac92-29a1ca26fc63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 directory where I have the application, or in the theme file or in 
> the root of the entire site? I'm a bit confused.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/ab402557-bc6e-48ff-b0d8-cb39a6d80cb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/30a5d704-95fb-4222-83ba-a8c3a42f7968%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.