Batch job - Temporary id for update operation

46 views
Skip to first unread message

SR

unread,
Jul 8, 2022, 9:18:24 AM7/8/22
to Google Ads API and AdWords API Forum
We are creating campaign, adset and ad using batch job. Can we add update operation in the same batch job (using temporary id) to set the conversion goal for that campaign? 

I am getting the below error message. 
{"error": {"code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [{"@type": "type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure", "errors": [{"errorCode": {"mutateError": "OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE"}, "message": "This operation cannot be used with \"partial_failure\".", "location": {"fieldPathElements": [{"fieldName": "mutate_operations", "index": 9}, {"fieldName": "campaign_conversion_goal_operation"}]}}], "requestId": "Wh9YDaHHiQKH9NNjBk1HWA"}]}}

Please let me know if there is any issue in the below structure
{'campaignConversionGoalOperation': {'updateMask': 'category', 'update': {'resourceName': 'customers/REDACTED/campaignConversionGoals/-3~BEGIN_CHECKOUT~WEBSITE', 'campaign': 'customers/REDACTED/campaigns/-3', 'category': 'BEGIN_CHECKOUT', 'origin': 'WEBSITE', 'biddable': True}}}

Google Ads API Forum Advisor

unread,
Jul 8, 2022, 12:21:35 PM7/8/22
to sar...@crigloo.com, adwor...@googlegroups.com

Hello,

Good day to you. I hope this email finds you well.

To investigate the issue further, could you please provide the complete request and response logs, with the request-id? 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 author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead. 


Best,

Google Logo
Anthony Cyril
Google Ads API Team
 


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