Hi Sneha, Thank you for posting your concern.
The "401 Unauthorized" error means that the email address that you used in generating the OAuth2 credentials is not a valid user in the account you specified as clientCustomerId, or it could be that there is something wrong in the generation of your OAuth2 credentials itself (e.g. your refresh token is not matched with your client ID and secret). With this, could you try to re-generate the OAuth2 credentials? Please make sure that the user authenticating the API call is having access to the target account. Please check this guide to see the steps to setup OAuth2 authentication. If the issue persists, could you provide the email address you used in generating the credentials via Reply privately to author? Please let me know if you have further concerns. Regards, Hiroyuki Google Ads API Team ref:_00D1U1174p._5001UKNkRb: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/hVYVV000000000000000000000000000000000000000000000PZK3AD00s_nWlCwgShCyotNqsV9adQ%40sfdc.net.
