Hi,
I have a developers token for my master ad account, created a service 
account, created a public/private key pair, and enabled domain wide 
delegation.

I have successfully requested an access token (server to server in php) and 
have a Cron job that refreshes the token when it is around 48 minutes old.  
All that part works fine.

But when I try to call the Google Ads API (again in php, server to server 
and without using the client libraries) using the current token, I get the 
HTTP 401 code.
"Request is missing required authentication credential. Expected OAuth 2 
access token, login cookie or other valid authentication credential.
UNAUTHENTICATED"

There many different elements in the overall setup and I suspect that I may 
have failed to "join the dots" somewhere.  The documentation is not easy to 
follow.

Please can someone help me to solve this.

Thanks in advance,
Martin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7d1222ea-01a0-417c-bafa-9c9d1ae4ced7n%40googlegroups.com.
  • Se... Martin Levi
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Martin Levi
        • ... Martin Levi
          • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
            • ... Martin Levi
              • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
                • ... Martin Levi
                • ... Martin Levi
                • ... Martin Levi
                • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to