Hi Vincent,

Thanks for the reply. 

To answer your questions

1) Logs : I have checked the apache logs and get nothing in them. When i 
run this script in the browser, i get 200 response, with nor errors at all.
2) Other Services. I have tested getting a client List which is successful. 
Example given below
3) I have installed the library bu using 

composer upgrade





 However, I created a new project with just googleads/googleads-php-lib 
using composer. composer.json is as follows

"require": {
        "php": ">=5.5.9",
        "google/auth": "^1.0.0",
        "googleads/googleads-php-lib": "^33.1.0"
    }



I am running a test report with the same code as previously posted and now 
I am getting the following error:



A PHP Error was encountered

Severity: Parsing Error

Message:  syntax error, unexpected ':', expecting ';' or '{'

Filename: Normalizer/GetSetMethodNormalizer.php

Line Number: 59

Backtrace:


My PHP Version is as follows

PHP 5.6.34-1+ubuntu14.04.1+deb.sury.org+1 (cli)

I have also tried the same code on a different machine with PHP v 7.2.3 on 
Ubuntu 16.04 , but no success on that either.

I have tried using getting a client list using 


 $adWordsServices = new AdWordsServices();

            $session = (new AdWordsSessionBuilder())
                ->withOAuth2Credential($this->client)
                ->withClientCustomerId($clientId)
                ->withDeveloperToken($this->developer_token)
                ->build();

which is successfully working without any errors. To my surprise, 
everything was working fine till i upgraded to v201802. I tested on v201710 
and everything works, without upgrading any PHP version.



I appreciate you help. I look forward for your reply.

Thanks and Regards

Pete

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d72ae9ce-6f55-4333-9e81-20885b215988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to