Analytics
2.3K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Unsampled report api access

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I want to create and download Unsampled report via API. API call fails with the error 'Insufficient Permission' 

 

Listing the process of downloading data following steps were taken:

1. Create service account on console.developers.google.com

2. Added service account on Admin section of the GA with access as Manage, Edit, Colloborate.

3. When access the unsampled report via core reporting API following 'Insufficient Permission' Error comes

 

ERROR: Error calling POST https://www.googleapis.com/analytics/v3/management/accounts/5883199/webproperties/UA-5883199-3/profi... (403) Insufficient Permission {
     "code": 403,
     "errors": [
             {
                 "domain": "global",
                 "reason": "insufficientPermissions",
                 "message": "Insufficient Permission"
              }
     

 

Kindly help in providing what are missing in this.

 

Achir

 

1 Expert replyverified_user

Re: Unsampled report api access

Top Contributor
# 2
Top Contributor
Did you add the Analytics API to your project in the Cloud Console?
VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan