Error: Unauthorized CREATE operation in invoking a service\'s mutate method

69 views
Skip to first unread message

Thiệp Khổng Thị

unread,
Aug 29, 2022, 7:13:14 AM8/29/22
to Google Ads API and AdWords API Forum
I call the API to create a Google Shopping ad campaign, and I get the following error. I don't know the cause of the error. I use Google library to create campaigns:

022-08-29 10:14:45    
2022-08-29 10:14:45    
request_id: "opV4PdBnWYotpFvS-xxxxx"
2022-08-29 10:14:45    
}
2022-08-29 10:14:45    
  }
2022-08-29 10:14:45    
    }
2022-08-29 10:14:45    
      field_name: "shopping_setting"
2022-08-29 10:14:45    
    field_path_elements {
2022-08-29 10:14:45    
      field_name: "create"
2022-08-29 10:14:45    
      index: 0
2022-08-29 10:14:45    
      field_name: "operations"
2022-08-29 10:14:45    
  location {
2022-08-29 10:14:45    
    string_value: ""
2022-08-29 10:14:45    
  trigger {
2022-08-29 10:14:45    
  message: "Unauthorized CREATE operation in invoking a service\'s mutate method."
2022-08-29 10:14:45    
    operation_access_denied_error: CREATE_OPERATION_NOT_PERMITTED
2022-08-29 10:14:45    
  error_code {
2022-08-29 10:14:45    
add_smart_shopping_campaign: errors {
2022-08-29 10:14:45    
Customer with ID 830070xxxx, getManager  'false'2022-08-29 03:14:45.085  WARN 1 --- [ault-executor-2] c.g.ads.googleads.lib.request.summary    : FAILURE REQUEST SUMMARY. Method: google.ads.googleads.v11.services.CampaignService/MutateCampaigns, Endpoint: googleads.googleapis.com:443, CustomerID: 830070xxxx, RequestID: opV4PdBnWYotpFvS-xxxxx, ResponseCode: INVALID_ARGUMENT, Fault: Request contains an invalid argument..

Google Ads API Forum Advisor

unread,
Aug 29, 2022, 3:47:47 PM8/29/22
to thi...@sapo.vn, adwor...@googlegroups.com

Hi Thiệp,

Thank you for reaching out to Google Ads API support with your query. To assist with the error, could you send us a 'DEBUG' log level request and response log of raw API communications that causes this error to show?

The request and response appears similar to the JSON Mappings in our REST documentation with additional headers and information such as request Id. Here are logging instructions for our Java.NETPHPPythonRuby and Perl Ads API Client Libraries.

If you are using our REST interface then the full multi line curl command line is a request log and adding curl command line option '-i' will also generate a response log.

With that being said, are you trying to create a Smart Shopping Campaign? Performance Max upgrade has started states that starting July 25, 2022, accounts without active or paused SSCs (including new accounts) will no longer be able to create SSCs.

You may send the requested information via "Reply to author" or via googleadsa...@google.com with a link to this forum post added to the new thread.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dofmE:ref
Reply all
Reply to author
Forward
0 new messages