Hi everyone,
I had to delete all your initial posts as it appears to have contained sensitive information in the logs of the initial poster. I am now re-posting the redacted details of the initial post below for reference :
"
Hello, i am trying to create a new campaign and budget but i get the following errors all the time Unauthorized CREATE operation in invoking a service's mutate method
My code in (Nodejs):
const client = new GoogleAdsApi({
client_id: 'XXXXXXXXXXXXXXXXXXXX',
client_secret: '***************************',
developer_token: '****************************'
})
const customer = client.Customer({
customer_account_id: '371-114-1084',
refresh_token: '1//03*************************************
})
try {
const response = await customer.mutateResources([
// Create new budget
{
_resource: 'CampaignBudget',
_operation: 'create',
resource_name: 'customers/3711141084/campaignBudgets/-1',
name: 'My all new budget',
amount_micros: 3000000,
explicitly_shared: true
}
]);
console.log(response);
} catch (err) {
console.log(err)
}
});
The response:
request_id: 'XXXXXXXXXX',
location: 'mutate_operations[0].campaign_budget_operation',
policy_violation_details: undefined,
failure: Error: 3 INVALID_ARGUMENT: Unauthorized CREATE operation in invoking a service's mutate method."
Moving forward, could you both provide the complete
request and
response logs, with the
request-id, separately? If you haven't yet, logging can be enabled by navigating to the
Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this
link.
You may then send the requested information via the
Reply privately to author option. If this option is not available, you may send the details directly to our
googleadsa...@google.com alias instead.
Best regards,
 |
| Peter Laurence Napa Oliquino |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2IxP34:ref