In my case, there was only a manager account set without any client account 
- once creating such an account (had to do it via the API, as there's an 
issue when it comes to test accounts) everything works as epected.  

On Monday, June 21, 2021 at 6:24:05 PM UTC+3 Yossi wrote:

> Hi,
> I'm getting the same issue, have you managed to overcome it?
>
> Thanks
>
> On Thursday, February 18, 2021 at 8:19:57 AM UTC+2 onefla...@gmail.com 
> wrote:
>
>>
>> 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: '
>> 1004921226288-vu85lph7lcjm2g11ncb0o4chuuir01cj.apps.googleusercontent.com
>> ',
>>     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: 'MdY5RUivI7vUaKUccZBhsw',
>>   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.
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/661d7a54-46af-4574-baae-81d037c8dc87n%40googlegroups.com.

Reply via email to