Hi,
Thank you for reaching out to the Google Ads API support team.
It seems this issue is not a billing issue for campaign creation on a test account but rather a misconfiguration with the OAuth/account linkage and the user's access level to the test client account. The error messages strongly suggest the Google user associated with the OAuth token does not have the necessary permissions within the client account itself. Based on the provided information, it appears that you’ve encountered the "OPERATION_NOT_PERMITTED_FOR_CONTEXT’ error while attempting to create a campaign. This error occurs when an operation is not allowed within the current context. The NOT_ADS_USER error triggers when the provided email address/user account is not associated with any Google Ads account. To know the proper steps to create the campaigns in the test account, please refer to the Create test accounts and campaigns API documentation for step-by-step guidance. This code example explains how you programmatically create the campaign in the Google Ads account via the API.
To know the exact reasons, kindly provide the complete API logs (request and response logs with request-id and request header) generated at your end when creating the campaigns via the API in the test account and observe the specified errors.
Kindly note that you have to enable logging if you are using a client library. You can refer to the guides for Java, .Net, PHP, Python, Ruby, or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
You can send the details via the Reply privately to the author option or direct private reply to this email.
![]() |
Google Ads API Team |
[2025-10-23 16:14:24Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vRaiR:ref" (ADR-00336356)