" Failed to authenticate." via postman

22 views
Skip to first unread message

Nikhil Mahajan

unread,
Apr 24, 2024, 10:08:31 PMApr 24
to Google's Campaign Manager 360 API Forum
Hi There,
I am trying to access Campaign Manager via POSTMAN. 

I have created an OAuth Client Id for Campaign Manager 360 API  in GCP, gotten it's client id credentials.
In POSTMAN, i have configured Gran type as "Authorization Code", given correct values for auth url callback url , access token url, client id, client secret and scope. When i generate New Access TOken, the token gets generated without any error. but when i SEND the above URL i.e. GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/<accountid>/accountPermissionGroups

it throws the below error :

{
    "error": {
        "code": 401,
        "message": "1075 : Failed to authenticate. Google account can not access the user profile/account requested.",
        "errors": [
            {
                "message": "1075 : Failed to authenticate. Google account can not access the user profile/account requested.",
                "domain": "global",
                "reason": "authError",
                "location": "Authorization",
                "locationType": "header"
            }
        ]
    }
}

Any idea where i am going wrong with this ? Please advise.
Thanks,
Nikhil



DCM API (DoubleClick Campaign Mgr)

unread,
Apr 25, 2024, 1:51:19 AMApr 25
to google-doubleclick-...@googlegroups.com
Hi Nikhil,

Thank you for reaching out to the DCM API support team.

Can you confirm that you are using the same user email while creating credentials in the GCP and authenticating with the DCM Account. Also, please share the following details to investigate further:
  • DCM Account ID.
  • User profile ID or the user email / service account email used for authenticating the API query.
  • Error screenshots (if any).
This message is in relation to case "ref:!00D1U01174p.!5004Q02tPJB4:ref" (ADR-00232568)

Thanks,
 
Google Logo DCM API Team


Reply all
Reply to author
Forward
0 new messages