CREATE_OPERATION_NOT_PERMITTED

58 views
Skip to first unread message

anh Lê

unread,
Sep 10, 2022, 5:04:52 AM9/10/22
to Google Ads API and AdWords API Forum
I send request api create Campaign Google Shopping, but error

response : 
"message": "Unauthorized CREATE operation in invoking a service's mutate method.",
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 }, { "fieldName": "create" }, { "fieldName": "shopping_setting" } ] }
"requestId": "ygZK5ipesJDCWx9eURb_AA"

PostData :

'operations' => [
'create' => [
// Trang5j thái chiến dịch
'status' => 'UNSPECIFIED',
// Trạng thái phân phát chiến dịch
'servingStatus' => 'UNSPECIFIED',
// Trạng thái tối ưu chiến dịch
'adServingOptimizationStatus' => 'UNSPECIFIED',
'advertisingChannelType' => 'SHOPPING',
'advertisingChannelSubType' => 'SHOPPING_SMART_ADS',
'shopping_setting' => [
//"feed_label" => "vn",
"merchantId" => $merchant_id,
"salesCountry" => 'VN',
"campaignPriority" => 3,
"enableLocal" => false
],
'name' => 'Chiến dịch đầu tiên',
//'campaignBudget' => 'customers/7387834446/campaignBudgets/11502236316',
'campaignBudget' => 'customers/7387834446/campaignBudgets/11502495099',
// 'targetCpa' => [
// 'targetCpaMicros' => '500000',
// 'cpcBidCeilingMicros' => '100',
// 'cpcBidFloorMicros' => '2000'
// ],
'maximizeConversionValue' => [
"targetRoas" => 7,
// "cpcBidCeilingMicros" => "1000",
// "cpcBidFloorMicros" => "100"
]
]
],

Please help me

Google Ads API Forum Advisor

unread,
Sep 11, 2022, 9:20:37 PM9/11/22
to anhle...@gmail.com, adwor...@googlegroups.com

Hi Anh,

 

Thanks for reaching out to the Google Ads API team. I hope you are doing well today.

 

With regard to your concern, to better check this concern, could you please provide the complete Ads API logs (request and response with request-id) so our team further investigates this issue and gives guidance on this?  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 can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

 

Regards,

Google Logo
Darwin
Google Ads API Team
 

 



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