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

Cannot implicitly convert type Google.Analytics.Data.V1Beta.RunReportResponse to Google.Api.Gax.PagedEnumerable #8

Open
arnold-overby-SIM opened this issue Jun 18, 2021 · 3 comments

Comments

@arnold-overby-SIM
Copy link

Trying to build this from fresh clone results in error "The type or namespace PagedEnumerable<> could not be found."

Adding "using Google.Api.Gax" resolves that, but then results in build error:

Cannot implicitly convert type Google.Analytics.Data.V1Beta.RunReportResponse to Google.Api.Gax.PagedEnumerable<Google.Analytics.Data.V1Beta.RunReportResponse,Google.Analytics.Data.V1Beta.DimensionHeader>

@SanderHexadot
Copy link

Have the same issue

@surferjeff
Copy link
Contributor

Me too.

@surferjeff
Copy link
Contributor

And even when I fix the code so that it runs, I see this error:

RpcException: Status(StatusCode="InvalidArgument", Detail="property must be in the form `properties/1234` where `1234` is an GA4 property Id. Instead, the API received property = property/26[redacted]30 To learn more about Property ID, see https://developers.google.com/analytics/devguides/reporting/data/v1/property-id.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1635129070.133087000","description":"Error received from peer ipv6:[2607:f8b0:4005:80c::200a]:443","file":"/tmpfs/src/github/grpc/workspace_csharp_ext_macos_x64/src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"property must be in the form `properties/1234` where `1234` is an GA4 property Id. Instead, the API received property = property/26[redacted]30 To learn more about Property ID, see https://developers.google.com/analytics/devguides/reporting/data/v1/property-id.","grpc_status":3}")

I followed the instructions in the error message and visited https://developers.google.com/analytics/devguides/reporting and confirmed my property id is numeric.

surferjeff added a commit to surferjeff/dotnet-docs-samples that referenced this issue Oct 26, 2021
Code didn't compile, and Property path was incorrect.
ikuleshov pushed a commit that referenced this issue Oct 28, 2021
Code didn't compile, and Property path was incorrect.
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