Ok, so I'm using the Ruby client `legato` to pull data from the realtime API. I was having some other problem but that's been fixed.What's happening is this:I get this message:```ruby{"errors"=>[{"domain"=>"global", "reason"=>"required", "message"=>"Required parameter: metrics", "locationType"=>"parameter", "location"=>"metrics"}], "code"=>400, "message"=>"Required parameter: metrics"}: (OAuth2::Error){"error":{"errors":[{"domain":"global","reason":"required","message":"Required parameter: metrics","locationType":"parameter","location":"metrics"}],"code":400,"message":"Required parameter: metrics"}}```So I add the metrics and I get this message:```ruby{"errors"=>[{"domain"=>"global", "reason"=>"badRequest", "message"=>"Selected dimensions and metrics cannot be queried together."}], "code"=>400, "message"=>"Selected dimensions and metrics cannot be queried together."}: (OAuth2::Error){"error":{"errors":[{"domain":"global","reason":"badRequest","message":"Selected dimensions and metrics cannot be queried together."}],"code":400,"message":"Selected dimensions and metrics cannot be queried together."}}```What is going on?EDIT: (I created a new post because There didn't appear to be an edit button)I'm aware I'm using a ruby client that you can't help with (or maybe you can), I was hoping that you could come up with a reason the API is erroring like this so I can then provide that to the creator of legato and we can resolve this faster.--
You received this message because you are subscribed to the Google Groups "Google Analytics Real Time Reporting API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-rea...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
Georges ARNOULD |
||
| Directeur technique et associé |
|||
| Mail. | geo...@wasabi-analytics.com |
||
| Port. | +33 (0)6 48 55 66 44 |
||
| Tél. | +33 (0)1 48 06 60 39 |
||
|
www.wasabi-analytics.com | Twitter |
|||
| 36, boulevard de la Bastille, 75012 Paris |
|||
| Tél. +33 (0)1 48 06 13 20 | |||
| Fax. +33 (0)1 48 06 13 27 | |||