I have created a test manager account for testing api with developer token, but I am not able to create any campaigns under it. To create campaign I first need to create a test client account, but I'm not able to do so. Facing some issue in it. It is being shown that client has been created, but it is not shown on the screen. I have tried creating test client account even with api. The issue is same.
I have been referring to https://developers.google.com/google-ads/api/docs/first-call/overview#test_account
|
||||||
With regards to your concern, you’ve encountered ‘USER_PERMISSION_DENIED' error. The ‘USER_PERMISSION_DENIED’ usually occurs due to incorrectly setting the 'login-customer-id’ in the request or not specifying login-customer-id in the request. Note that when a user doesn't have permission to access a customer and you’re accessing a client customer then the manager's customer ID must be set in the 'login-customer-id’ in the header request.
To resolve this, you will need to ensure that your OAuth2 credentials were generated while logged in as the user / email address that has access to the customer ID in your request. Also, if the said user / email address is one that has access to the MCC / manager of the customer account, then you may specify the MCC / manager account's ID as the login-customer-id. Let me know if you have any question.