This issue was down to my own environments PHP Settings and a related 
directory issue, so unrelated to the API.

Thanks

On Monday, February 19, 2018 at 2:43:46 PM UTC, Alan Coleman wrote:
>
> Hello everyone,
>
> I've put together a simple PHP test script based on the GetCampaigns.php 
> <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201705/BasicOperations/GetCampaigns.php>
>  
> example.
>
> It returns data in my local development environment and also on my live 
> server when being run via *shell*.
>
>
>    - Local PHP Version: 5.6.24
>    - Live PHP Version: 5.6.32
>
>
> However when I run the script through a browser on my live server I get 
> the following error:
>
> *Fatal error*: Call to undefined function Google\AdsApi\AdWords\boolval() 
> in 
> */home2/adwordsl/public_html/app/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/AdWordsSessionBuilder.php*
>  on 
> line *134*
>
>
> *Has anyone else come across this?*
>
> Any help would be greatly appreciated.
>
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a4ab142c-f6b8-40da-8862-c860b3ad609f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Fatal error:... Alan Coleman
    • Re: Fat... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
    • Re: Fat... Alan Coleman

Reply via email to