Hi Tim,
Thanks for this information and for trying out the Google Ads API. I can see a couple issues with the request logs you sent which are independent of the PHP library. I'm a little unsure why you don't receive a more meaningful error message though. I'll help you work through some of the things I can see, but if something specific to the PHP library comes up I'm going to ask you to file an Issue on their GitHub repo, there the maintainers or other users will be able to offer more specialized support.
First, the CID you're using (9876543211) doesn't actually appear to be valid. Second the login-customer-id appears to not only be invalid, but it isn't formatted correctly - it should not include the hyphens as it does in your request.
Have you gone through our
Quickstart Guide and followed the instructions on how to create an account and OAuth credentials to make a request to our API? They will explain how to attain a valid Customer ID as well as how to use the login-customer-id header (
you don't always need to include it).
Here are
additional instructions specific to the PHP client library, if you haven't already seen them.
Let me know if you've gone over these yet, and whether you expect that this CID should in fact be valid.
Thanks,
Ben, Google Ads API Team

ref:_00D1U1174p._5004Q28lAef:ref