Hi, I'd like to add to this that batch jobs containing AssetGroup operations do not finish for our test MCC account. So I am not sure if you are able to process these batch jobs, or if something needs to be enabled for our account? The same operations do succeed if I use the MutateRequest.
The operations are as follows: asset_group_operation { create { resource_name: "customers/<redacted>/assetGroups/-1" campaign: "customers/<redacted>/campaigns/17306801024" name: "d26e8877-1a49-40da-9e98-6f8fcae2cf80" status: ENABLED } } asset_group_operation { create { resource_name: "customers/<redacted>/assetGroups/-2" campaign: "customers/<redacted>/campaigns/17295242067" name: "6b97b83c-1c71-4d5a-8d8b-e0b785e0eb70" status: ENABLED } } We would like to continue the development for Performance Max campaigns and - as an integrator - we rely heavily on batch jobs. Without it, we are uncertain whether we can make the deadline before the auto-migration of Smart Shopping Campaigns. Hope you can help. Best, Ciel On Monday, May 16, 2022 at 4:01:20 PM UTC+2 Miquel Isern Roca wrote: > Hello Google, > > We are facing an error when trying to create a PMax campaign through > BatchJobs. We consistently get an error saying 'A mutate action is not > allowed on this resource, from this client.' with the code: > 'MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT'. > > We have checked and are able to create such campaigns via a MutateRequest, > but when doing so with a MutateOperation inside a BatchJob the operation > fails. The operations we send are to create exactly the same type of > Campaign with the same settings. See the examples of the operations. > > The operation for the MutateRequest: > ``` > create { > status: PAUSED > advertising_channel_type: PERFORMANCE_MAX > bidding_strategy_type: MAXIMIZE_CONVERSION_VALUE > maximize_conversion_value { > target_roas: 3.5 > } > shopping_setting { > merchant_id: XXXXXXX > sales_country: "XX" > } > name: "automated_test_campaign_0_474d67eb-d35d-4bd4-8516-521e38483285" > campaign_budget: "customers/XXXXXXX/campaignBudgets/XXXXXXX" > url_expansion_opt_out: false > } > ``` > > The operation inside the BatchJob: > ``` > campaign_operation { > create { > resource_name: "customers/XXXXXXX/campaigns/-57" > status: PAUSED > advertising_channel_type: PERFORMANCE_MAX > bidding_strategy_type: MAXIMIZE_CONVERSION_VALUE > maximize_conversion_value { > target_roas: 0.5 > } > shopping_setting { > merchant_id: XXXXXXX > sales_country: "XX" > } > name: "Test - Mutate Campaign ops - 57" > campaign_budget: "customers/XXXXXXX/campaignBudgets/XXXXXXX" > url_expansion_opt_out: false > } > } > ``` > > I have logs I can send privately of the BatchJob with the operation to > create the Campaign failed. > > Thanks, > > Miquel Isern Roca > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/6580f8a0-09cc-423a-8377-72275704500en%40googlegroups.com.