Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid_client with service account #211

Closed
va-b opened this issue Jul 23, 2020 · 8 comments
Closed

invalid_client with service account #211

va-b opened this issue Jul 23, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@va-b
Copy link

va-b commented Jul 23, 2020

Google.Ads.GoogleAds v4.0.0
Net Core 3.1
win10-x64

Actions taken
var client = new GoogleAdsClient(new GoogleAdsConfig { DeveloperToken = DeveloperToken, OAuth2Mode = OAuth2Flow.SERVICE_ACCOUNT, OAuth2SecretsJsonPath = Path.Combine(Directory.GetCurrentDirectory(), "responsive-hall-284114-1d4e3cda539a.json"), OAuth2PrnEmail = AdWordsAccountEmail });
Expected result
Works properly as Google.AdWords with identical config

Actual result
Error:"invalid_client", Description:"The OAuth client was not found.", Uri:""

@va-b va-b added the bug Something isn't working label Jul 23, 2020
@keeblebogdan
Copy link

keeblebogdan commented Aug 10, 2020

I have the same issue. @va-b did you manage to found a solution?

@morsanu
Copy link

morsanu commented Aug 10, 2020

Same here.

@va-b
Copy link
Author

va-b commented Aug 10, 2020

@keeblebogdan No. Finally we have agreed with the manager to use regular accounts

@AnashOommen
Copy link
Member

That's strange, I am pretty sure this got fixed in 4.0.0. Could you send me a way to replicate this issue by mailing a json file and account email to googleadsapi-support@google.com? Please address the email to Attn:Anash so it reaches me.

@keeblebogdan
Copy link

That's strange, I am pretty sure this got fixed in 4.0.0. Could you send me a way to replicate this issue by mailing a json file and account email to googleadsapi-support@google.com? Please address the email to Attn:Anash so it reaches me.

Send it. Thank you Anash.

@AndrewMBurke
Copy link
Contributor

The issue has been identified and is fixed in the upcoming V5 release.

@keeblebogdan
Copy link

The issue has been identified and is fixed in the upcoming V5 release.

Thank you!

@AnashOommen
Copy link
Member

This is now fixed. Please reopen if you see it recurring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants