Hi Duong,
Thank you for posting your concern.
I can see that you encountered the USER_PERMISSION_DENIED error and it occurs when authenticating as a user with access to a manager account but not specifying login-customer-id in the request.
With this, could you confirm if you already tried the suggestion in the error message? If you haven't tried yet, then please follow the instruction below:
1. First determine the manager account that you want to link with the client account
2.
Generate Oauth2 credential using email address that have access to the manager account and
configure it to your client library
2. Set the customer ID of the manager account to the
login_customer_id field. Ensure to remove the hyphen ('-') of the customer ID before setting it up
3. Set the customer ID of client account to the
customer_id field and without hyphen ('-') as well
4. Try the API request again
If the error persists, please provide the complete
request and
response logs with
request ID and
request header generated on your end. You can provide it via
Reply privately to author option. If this option is not available, then send it instead on this email address
googleadsa...@google.com.
Regards,
|
Ernie John Blanca Tacata |
Google Ads API Team |
|
|
|
ref:_00D1U1174p._5004Q2PKp4b:ref