Hi Chad,

Thank you for your reply.

Interactions are sometimes made private due to the sensitive information being 
shared. Regarding your issue with the service account authentication, and for 
this "User in the cookie is not a valid Ads user." issue, this appears to be 
related to the NOT_ADS_USER error.

That said, could you confirm whether the user / email address you used during 
the service account credentials generation process is indeed one that has 
access to a Google Ads account?

In addition, I understand that you have opted to use the service account flow. 
However, we also recommend that you consider using the other authentication 
flows, since as also per the service account guide :

Key Point: We strongly recommend using OAuth2 desktop app or web app flow 
instead of service accounts unless you need a domain-specific feature (for 
example, impersonation). OAuth2 desktop app and web app flows do require an 
initial user interaction for granting access to the account, but are much 
simpler to set up.
For the OAuth2 desktop app flow, you can persist a refresh token (which never 
expires) to obtain a new access token whenever necessary. When using one of our 
client libraries, you can authorize your app by filling out a configuration 
file.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2ewsYl: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 
"Google Ads API and AdWords 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/u4d_A000000000000000000000000000000000000000000000RJ8MIY0054lEGLofQLO4uaFD_l_oyw%40sfdc.net.
  • Go... Chad Wood
    • ... Chad Wood
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Chad Wood
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Chad Wood
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Chad Wood
                • ... Chad Wood
                • ... Chad Wood
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Chad Wood
                • ... Chad Wood
                • ... Chad Wood

Reply via email to