4.5K members online now
4.5K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

Google Analytics Core Reporting API Unsampled Reports "invalid accountId"

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I am a developer working for a client that has Analytics 360. I have a service account, and I can query sampled data using the Java API, however when I try to create an UnsampledReport I get the following error where I have replaced my service account email address with ...:


CompilerException 400 Bad Request
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "invalid accountId: ...",
"reason" : "badRequest"
} ],
"message" : "invalid accountId: ..."
}, compilingSmiley Sadanalytics.clj:34:14)



Is there something more than needs to be done for me to be able to create UnsampledReports?