php Dynamic Namespaces to handle new versions of API

2019-01-14 Thread Mike Enos
I have hundreds of php scripts much like /examples/Adwords/v201809/BasicOperations/GetCampaignsWithAwql.php Each time there is an API version update I need to go and manually EVERY file to use the new version, and make sure NONE are missed. Yuck! For example: namespace Google\AdsApi\Exampl

Re: Why SSL Error Message?

2017-12-01 Thread Mike Enos
, November 17, 2017 at 7:02:23 AM UTC-5, Mike Enos wrote: > > Hi, > > On my local Windows 10 XAMPP system, I often getting this SSL message error > > The script runs fine on my web server, but not locally > See screenshot at https://www.screencast.com/t/t4Vdahnc4GF > &g

Why SSL Error Message?

2017-11-17 Thread Mike Enos
Hi, On my local Windows 10 XAMPP system, I often getting this SSL message error The script runs fine on my web server, but not locally See screenshot at https://www.screencast.com/t/t4Vdahnc4GF Any ideas what I'm doing wrong? Thanks!! ( ! ) Fatal error: Uncaught exception 'RuntimeExceptio

Re: v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-25 Thread Mike Enos
Hi, For anyone who is reading this thread... I solved the problem. The issue is that I am using Windows XAMPP as my development platform. The instructions at https://github.com/googleads/googleads-php-lib are a bit confusing /wrong for Windows Xampp You need to go install Composer, and a git

Re: v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-22 Thread Mike Enos
Hi Peter, When I try following this guide I do not get the composer.phar file mentioned in step 3 In Step 1, where they say to run git clone they don't say which directory. I did it from c:\DataH\xampp Why do

v201708 Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.'

2017-09-20 Thread Mike Enos
Hi, I'm trying to get v201708 working and when I try to run GetCampaigns.php I get the error message: PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.' in

Uncaught exception 'InvalidArgumentException' with message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.

2017-09-20 Thread Mike Enos
Hi There, I spent 30 minutes typing this before, but it seemed to disappear once I posted it So I hope this isn't a duplicate. I am trying to get v201708 working. After getting everything setup, When I try to run I get the failure seen below: C:\DataH\xampp\htdocs\DBGoogleAdwords\examples\A

Bulk Keyword Bid Update PHP Code Sample?

2017-01-17 Thread Mike Enos
Hi Everyone, I've been looking for a PHP code sample of bulk updating keyword bids. I have code that is allowing me to update individual keyword bids (not entire adgroups), but I cannot find any sample WORKING PHP code. Now that Mutate is being replaced by BatchJob, I would like to find a work