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

.AddMetric and .AddDimension is not working on .NET Framework platform #19

Open
moceletsor opened this issue Jul 3, 2021 · 3 comments

Comments

@moceletsor
Copy link

.AddMetric and .AddDimension is not working on .NET Framework platform, on .NET Core 5.0 .AddMetric and .AddDimension works well. Would you gimme anoyer solution how to add Metrics and Dimensions to API requset using .NET Framework platform 4.5 and above...

@donovanfm
Copy link
Contributor

Hi, thanks for reporting this issue. The underlying problem is that the Google .NET client library that these examples use does not support repeated query parameters like Dimensions and Metrics in the AdSense Management API. I based the workaround (AddMetric and AddDimension) in these examples on this issue comment in that client library.

Can you provide the error message you're getting with .NET Framework platform?

@moceletsor
Copy link
Author

moceletsor commented Jul 17, 2021

I always recive Error 400 Bad Request from API on using your examples on .NET Framework platform.
The same code on Core platform works well. Please see what is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@donovanfm @moceletsor and others