Hi Damian,
Thank you for reaching out. The USER_PERMISSION_DENIED error indicates that the
authorized customer does not have access to the operating customer. Since your
OAuth2 credentials were generated for 3191377543, you will have to authenticate
your calls from this account, not from 6170837244. Can you confirm if you are
trying to manage the accounts with account 3191377543? If so, you will need to
specify this account as your loginCustomerId. The "client account" refers to
the account being managed by a manager account, so I suggest trying the
following:
define("MANAGER_CUSTOMER_ID", 3191377543);
define("CUSTOMER_ID", 6170837244);
This way, account 3191377543 would be able to manage the manager account
6170837244.
Let me know if this is what you are trying to accomplish. If not, please
elaborate so I can further assist you. Additionally, if you continue to run
into issues, kindly provide the complete detailed logs along with the email you
are authenticating the API call with. Please "Reply privately to author" when
providing this information.
Regards,
Danica, Google Ads API Team
ref:_00D1U1174p._5004Q218Dpr:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/DPcC7000000000000000000000000000000000000000000000QCCA1700I-MDbnqzT_a-kpjKs45buw%40sfdc.net.