AdWords API is not working

46 views
Skip to first unread message

Laura Höß

unread,
Jan 11, 2017, 11:03:51 AM1/11/17
to AdWords API Forum

Hi everybody,


we want to use the API for our internal tool, but still have no access to our AdWords MCC.

We already managed these steps:

  • We opened the API Manager with a service account an Client ID
  • We are using GSuite 
  • We added the GSuite Mailadress as user to our AdWords MCC Account
  • We added the Client ID to our Gsuite account as API-Client-access and put https://www.googleapis.com/auth/adwords there es URL (is this URL correct?)

Is something missing? Can you help me where the problem could be?


We are receiving this Error Code:

"reason": "authError",
"message": "1072 : Failed to authenticate. User profile ID XXXXXXXXXX not found.",

 

We want to use this API: DCM/DFA Reporting And Trafficking API

With this function: listAccounts($adGroupId)

 

We are using the PHP Framework.

"google/apiclient": "^2.0"

 

è We want to import the reporting kpis like clicks, impressions, conversions, cost,… in our tool.
Is DCM/DFA Reporting And Trafficking API the right API for that?

 

We are receiving this error:

 

{

"error": {

"errors": [

{

"domain": "global",

"reason": "authError",

"message": "1072 : Failed to authenticate. User profile ID XXXXXXXXX not found.",

"locationType": "header",

"location": "Authorization"

}

],

"code": 401,

"message": "1072 : Failed to authenticate. User profile ID XXXXXXXXX not found."

}

}

 


What could be the problem?

Vishal Vinayak (Adwords API Team)

unread,
Jan 11, 2017, 2:40:58 PM1/11/17
to AdWords API Forum
Hi,

My team supports AdWords API related technical queries on this forum. For questions related to DCM/DFA Reporting and Trafficking API, please post your question on this forum.

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages