Hi, thanks for your reply i tried to run command line. My live environment is Linux Centos 6.8 , PHP Ver:5.3. When i run this BasicOperations]$ php GetCampaigns.php it shows this error
PHP Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in thanks. On Wednesday, August 30, 2017 at 7:06:13 AM UTC+1, Vincent Racaza (AdWords API Team) wrote: > > Hi, > > Our PHP examples are meant to be run only in command prompt, and not in a > web application as described here > <https://github.com/googleads/googleads-php-lib#basic-usage>. So, if you > run it on a webpage, you may not see the result as usual. However, you may > use the same code flow from one of the code samples > <https://github.com/googleads/googleads-php-lib/tree/master/examples/AdWords> > (e.g. > extracting a part of runExample() > <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201708/BasicOperations/GetCampaigns.php#L38> > and > put it in your function to show results on the webpage) into your > application. > > If you have further clarifications on this, I suggest to post this in the PHP > client library <https://github.com/googleads/googleads-php-lib/issues> as > this concern is PHP specific, and not AdWords API specific. > > Thanks, > Vincent > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/683ebc48-5023-4bce-ae3a-f5cf5e48155e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
