googleanalytics / googleanalytics/dotnet-docs-samples

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

Open
#8 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
11
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the sample code that calls RunReport and inspect its return type, imports, and referenced Google API packages. Reproduce the fresh-clone build errors; done means the sample builds without the missing PagedEnumerable reference or the RunReportResponse conversion error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.