Thanks Martin, As far as I can tell your account set up looks OK, but since it lives in Pantheon I can't examine your account directly so I can't be 100% sure.
One benefit of using a client library is it will handle the process of generating and refreshing your access token automatically, which might be very valuable in this case. While I look over your script below, would you mind running a basic test to see if the PHP client library can make a successful request with your existing service account credentials? The documentation for setting up the library is here. You should be able to execute the test locally to verify it, so that you don't have to modify your cron job script. Mainly I'm curious if you get the same error, if not, and the request succeeds, then there might be an issue with your logic that retrieves the access token. Thanks, Ben, Google Ads API Team ref:_00D1U1174p._5004Q2R74x8:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/vMO7R000000000000000000000000000000000000000000000R3G4HR00Fu2hTAWYTOits2mfcBBsWA%40sfdc.net.
