GithubHelp home page GithubHelp logo

Comments (14)

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

Hello Tanya:)
This is the right place to ask questions:)

Have you turned on fast combine? (Ignore the privacy levels option)?

from pqgoogleanalytics.

TanjaWeber avatar TanjaWeber commented on August 15, 2024

Hi Maxim,
thanks for the quick reply.
Switched on Fast Combine, but am still getting an error message (see attachment).
Power Query Step Get Json: “DataSource.Error: Web.Contents failed to get contents from 'https://accounts.google.com/o/oauth2/token' (400): Bad Request
Details:
https://accounts.google.com/o/oauth2/token”

from pqgoogleanalytics.

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

It can be if you are trying to get refresh token second time. It can be
retrieved only once.

Please, follow the steps as it descibed in manual:

  1. Use link to get auth token
  2. Copy and paste auth token
  3. Push button to get refresh token

When it is retrieved you dont need to refresh it, so you can use reports
again and again:)

Let me know if doesnt work

Max

On Wednesday, May 6, 2015, TanjaWeber [email protected] wrote:

Hi Maxim,
thanks for the quick reply.
Switched on Fast Combine, but am still getting an error message (see
attachment).
Power Query Step Get Json: “DataSource.Error: Web.Contents failed to get
contents from 'https://accounts.google.com/o/oauth2/token' (400): Bad
Request
Details:
https://accounts.google.com/o/oauth2/token”

From: Maxim Uvarov [mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');]
Sent: Tuesday, May 5, 2015 7:27 PM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in Excel
(#1)

Hello Tanya:)
This is the right place to ask questions:)

Have you turned on fast combine? (Ignore the privacy levels option)?

[
https://camo.githubusercontent.com/cc6300976b544848b05ad639782147342508e3c3/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416c672d4d5533434c4a49643434673247636e39493737786a4d6a6d6d56646e4249422f696d6167652e706e67
]<
https://camo.githubusercontent.com/cc6300976b544848b05ad639782147342508e3c3/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416c672d4d5533434c4a49643434673247636e39493737786a4d6a6d6d56646e4249422f696d6167652e706e67>

[
https://camo.githubusercontent.com/a8d35f6bc5833025a3ce2d3bd1b4826e75e76a92/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416d6c793433745236524b615964784f64634372704e383475705476483554454945422f696d6167652e706e67
]<
https://camo.githubusercontent.com/a8d35f6bc5833025a3ce2d3bd1b4826e75e76a92/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416d6c793433745236524b615964784f64634372704e383475705476483554454945422f696d6167652e706e67>


Reply to this email directly or view it on GitHub<
https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99150650>.


Reply to this email directly or view it on GitHub
#1 (comment)
.

+7.925.8024003

Sent from microwave oven. Supposed to contain typos.
o_O

from pqgoogleanalytics.

TanjaWeber avatar TanjaWeber commented on August 15, 2024

Sorry Max, that’s what I’ve been doing, but the first refresh doesn’t work.That specific query runs an error.

Any other ideas?
By the way, the url has a dot at the end, and therefore I always have to remove that first.

from pqgoogleanalytics.

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

Well, Im out of pc temporarily
When Im back I'll check all the steps again.

There is already pasted token in distrib with access to marketing-wiki.ru
google analytics

Can you try please to get report with it?

Max

On Wednesday, May 6, 2015, TanjaWeber [email protected] wrote:

Sorry Max, that’s what I’ve been doing, but the first refresh doesn’t
work.That specific query runs an error.

Any other ideas?
By the way, the url has a dot at the end, and therefore I always have to
remove that first.

From: Maxim Uvarov [mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');]
Sent: Wednesday, May 6, 2015 11:31 AM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in Excel
(#1)

It can be if you are trying to get refresh token second time. It can be
retrieved only once.

Please, follow the steps as it descibed in manual:

  1. Use link to get auth token
  2. Copy and paste auth token
  3. Push button to get refresh token

When it is retrieved you dont need to refresh it, so you can use reports
again and again:)

Let me know if doesnt work

Max

On Wednesday, May 6, 2015, TanjaWeber <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');<mailto:
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:

Hi Maxim,
thanks for the quick reply.
Switched on Fast Combine, but am still getting an error message (see
attachment).
Power Query Step Get Json: “DataSource.Error: Web.Contents failed to get
contents from 'https://accounts.google.com/o/oauth2/token' (400): Bad
Request
Details:
https://accounts.google.com/o/oauth2/token”

From: Maxim Uvarov [mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');><mailto:
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');%3e>]
Sent: Tuesday, May 5, 2015 7:27 PM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in
Excel
(#1)

Hello Tanya:)
This is the right place to ask questions:)

Have you turned on fast combine? (Ignore the privacy levels option)?

[

https://camo.githubusercontent.com/cc6300976b544848b05ad639782147342508e3c3/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416c672d4d5533434c4a49643434673247636e39493737786a4d6a6d6d56646e4249422f696d6167652e706e67
]<

https://camo.githubusercontent.com/cc6300976b544848b05ad639782147342508e3c3/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416c672d4d5533434c4a49643434673247636e39493737786a4d6a6d6d56646e4249422f696d6167652e706e67>

[

https://camo.githubusercontent.com/a8d35f6bc5833025a3ce2d3bd1b4826e75e76a92/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416d6c793433745236524b615964784f64634372704e383475705476483554454945422f696d6167652e706e67
]<

https://camo.githubusercontent.com/a8d35f6bc5833025a3ce2d3bd1b4826e75e76a92/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416d6c793433745236524b615964784f64634372704e383475705476483554454945422f696d6167652e706e67>


Reply to this email directly or view it on GitHub<

https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99150650>.


Reply to this email directly or view it on GitHub
<
https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99380646>

.

+7.925.8024003

Sent from microwave oven. Supposed to contain typos.
o_O


Reply to this email directly or view it on GitHub<
https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99397027>.


Reply to this email directly or view it on GitHub
#1 (comment)
.

+7.925.8024003

Sent from microwave oven. Supposed to contain typos.
o_O

from pqgoogleanalytics.

TanjaWeber avatar TanjaWeber commented on August 15, 2024

Nope, same error.
Sorry ☹

Probably some other setting that isn’t set the correct way…

from pqgoogleanalytics.

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

Can you tell me pls what is your setup?
Windows/excel/power query version

On Thursday, May 7, 2015, TanjaWeber [email protected] wrote:

Nope, same error.
Sorry ☹

Probably some other setting that isn’t set the correct way…

From: Maxim Uvarov [mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');]
Sent: Wednesday, May 6, 2015 7:16 PM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in Excel
(#1)

Well, Im out of pc temporarily
When Im back I'll check all the steps again.

There is already pasted token in distrib with access to marketing-wiki.ru
google analytics

Can you try please to get report with it?

Max

On Wednesday, May 6, 2015, TanjaWeber <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');<mailto:
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:

Sorry Max, that’s what I’ve been doing, but the first refresh doesn’t
work.That specific query runs an error.

Any other ideas?
By the way, the url has a dot at the end, and therefore I always have to
remove that first.

From: Maxim Uvarov [mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');><mailto:
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');%3e>]
Sent: Wednesday, May 6, 2015 11:31 AM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in
Excel
(#1)

It can be if you are trying to get refresh token second time. It can be
retrieved only once.

Please, follow the steps as it descibed in manual:

  1. Use link to get auth token
  2. Copy and paste auth token
  3. Push button to get refresh token

When it is retrieved you dont need to refresh it, so you can use reports
again and again:)

Let me know if doesnt work

Max

On Wednesday, May 6, 2015, TanjaWeber <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');%0b>>
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');><mailto:
mailto:%0b> [email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');<mailto:
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');>
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');>>> wrote:

Hi Maxim,
thanks for the quick reply.
Switched on Fast Combine, but am still getting an error message (see
attachment).
Power Query Step Get Json: “DataSource.Error: Web.Contents failed to
get
contents from 'https://accounts.google.com/o/oauth2/token' (400): Bad
Request
Details:
https://accounts.google.com/o/oauth2/token”

From: Maxim Uvarov [mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');>
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');>');><mailto:
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');>
%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
<javascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
');>');%3e><mailto:[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
');%3e%0b%3e%20%3e%20%3cjavascript:_e(%7B%7D,'cvml','
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');%3e');%
3e%3cmailto:%0b%3e%[email protected]
javascript:_e(%7B%7D,'cvml','3e%253cmailto:%250b%253e%[email protected]');
%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
');%3e%0b%3e%20%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','
[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');
%0b%3e%20%3cjavascript:_e(%7B%7D,'cvml','[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');');%3e');%3e%3e>]

Sent: Tuesday, May 5, 2015 7:27 PM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in
Excel
(#1)

Hello Tanya:)
This is the right place to ask questions:)

Have you turned on fast combine? (Ignore the privacy levels option)?

[

https://camo.githubusercontent.com/cc6300976b544848b05ad639782147342508e3c3/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416c672d4d5533434c4a49643434673247636e39493737786a4d6a6d6d56646e4249422f696d6167652e706e67

]<

https://camo.githubusercontent.com/cc6300976b544848b05ad639782147342508e3c3/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416c672d4d5533434c4a49643434673247636e39493737786a4d6a6d6d56646e4249422f696d6167652e706e67>

[

https://camo.githubusercontent.com/a8d35f6bc5833025a3ce2d3bd1b4826e75e76a92/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416d6c793433745236524b615964784f64634372704e383475705476483554454945422f696d6167652e706e67

]<

https://camo.githubusercontent.com/a8d35f6bc5833025a3ce2d3bd1b4826e75e76a92/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41416d6c793433745236524b615964784f64634372704e383475705476483554454945422f696d6167652e706e67>


Reply to this email directly or view it on GitHub<

https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99150650>.


Reply to this email directly or view it on GitHub
<

https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99380646>

.

+7.925.8024003

Sent from microwave oven. Supposed to contain typos.
o_O


Reply to this email directly or view it on GitHub<

https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99397027>.


Reply to this email directly or view it on GitHub
<
https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99463484>

.

+7.925.8024003

Sent from microwave oven. Supposed to contain typos.
o_O


Reply to this email directly or view it on GitHub<
https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-99541663>.


Reply to this email directly or view it on GitHub
#1 (comment)
.

+7.925.8024003

Sent from microwave oven. Supposed to contain typos.
o_O

from pqgoogleanalytics.

TanjaWeber avatar TanjaWeber commented on August 15, 2024

Gladly ;)

Windows 8.1
Excel 2013 (15.0.4711.1000) 64-bit
Power Query: Version: 2.21.3974.242

from pqgoogleanalytics.

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

I have almost the same setup.
I've just updated power query to latest version and made a new build of excel file with it.

To try it please do next:

  1. download it from here
  2. Enable fast combine
  3. Try to get report with default token

And please let me know about result.

from pqgoogleanalytics.

TanjaWeber avatar TanjaWeber commented on August 15, 2024

Hi Max,

sorry, for the delayed reply.

That works (more or less). It first results in an error, but when I jump into the query, I need to edit the Credentials from
https://www.googleapis.com to https://www.googleapis.com/analytics/v3/data/. And then the query “getData” produces “Results”.

from pqgoogleanalytics.

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

I'm glad:)
Can you try to get reports for your accounts too?

from pqgoogleanalytics.

TanjaWeber avatar TanjaWeber commented on August 15, 2024

Nope, not yet.

I think there is a problem with the Data Source Credentials. Could it be that only Users with admin rights in Google Analytics get access?

Or could we maybe take a look together via skype?

From: Maxim Uvarov [mailto:[email protected]]
Sent: Friday, May 8, 2015 6:10 PM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in Excel (#1)

I'm glad:)
Can you try to get reports for your accounts too?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-100283145.

from pqgoogleanalytics.

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

You don't need to be admin to get data via api.

Add me on skype: maxim.uvaroff, and we would try together

Max

On 8 May 2015 at 19:16, TanjaWeber [email protected] wrote:

Nope, not yet.

I think there is a problem with the Data Source Credentials. Could it be
that only Users with admin rights in Google Analytics get access?

Or could we maybe take a look together via skype?

From: Maxim Uvarov [mailto:[email protected]]
Sent: Friday, May 8, 2015 6:10 PM
To: 40-02/GoogleAnalyticsViaPowerQueryForExcel
Cc: Tanja Weber
Subject: Re: [GoogleAnalyticsViaPowerQueryForExcel] Error Message in Excel
(#1)

I'm glad:)
Can you try to get reports for your accounts too?


Reply to this email directly or view it on GitHub<
https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/issues/1#issuecomment-100283145>.


Reply to this email directly or view it on GitHub
#1 (comment)
.

Cheers,
Maxim Uvarov
+7.925.8024003

from pqgoogleanalytics.

maxim-uvarov avatar maxim-uvarov commented on August 15, 2024

It seems like we'd worked this out:)

from pqgoogleanalytics.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.