Hi All,
I am using google adwords php api and i got stuck while accessing 
the GetReportFields.php file.

When i execute this file then an error log file generated which says.

[04-Sep-2017 12:05:50 UTC] PHP Fatal error:  Uncaught exception 
> 'InvalidArgumentException' with message 'Config file not found as 
> specified: 'adsapi_php.ini'. Home directory could not be located so it was 
> not searched.' in 
> /home/techximu/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/ConfigurationLoader.php:71
> Stack trace:
> #0 
> /home/techximu/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php(61):
>  
> Google\AdsApi\Common\ConfigurationLoader->fromFile('adsapi_php.ini')
> #1 
> /home/techximu/public_html/adwords/examples/AdWords/v201609/Reporting/GetReportFields.php(63):
>  
> Google\AdsApi\Common\OAuth2TokenBuilder->fromFile()
> #2 
> /home/techximu/public_html/adwords/examples/AdWords/v201609/Reporting/GetReportFields.php(76):
>  
> Google\AdsApi\Examples\AdWords\v201609\Reporting\GetReportFields::main()
> #3 {main}
>   thrown in 
> /home/techximu/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/ConfigurationLoader.php
>  
> on line 71



Can someone help me to fix this issue.

Thank you........ 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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/1fb7c40e-7d68-4dfc-ac8e-a44d7246883c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Trying Google Ad... Pradeep Kumar
    • Re: Trying ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: Try... Pradeep Kumar
        • Re:... Pradeep Kumar
          • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
            • ... Pradeep Kumar
              • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
                • ... Pradeep Kumar
                • ... Pradeep Kumar
                • ... Pradeep Kumar
                • ... Pradeep Kumar

Reply via email to