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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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)