MutateBatchJobResponse no longer has ResourceNameAsBatchJobName property

19 views
Skip to first unread message

Rapolas

unread,
Sep 8, 2022, 2:26:32 AM9/8/22
to Google Ads API and AdWords API Forum
After updating Google.Ads.GoogleAds nuget version to 12.1.0, MutateBatchJobResponse no longer has ResourceNameAsBatchJobName property. Can I find this property somewhere else or should I switch the query to search by ResourceName? Differences provided below

Old:
MutateBatchJobResponse.Result.ResourceNameAsBatchJobName.BatchJobId

New:
MutateBatchJobResponse.Result.ResourceName

Old query:
SELECT [...]
FROM batch_job
WHERE batch_job.id = {0}

Google Ads API Forum Advisor

unread,
Sep 8, 2022, 7:05:48 AM9/8/22
to snitkus...@gmail.com, adwor...@googlegroups.com

Hi Ropolas,

Thank you for reaching out to our API support team.

Since you migrate to Google Ads API we suggest you use the new MutateBatchJobResponse.Result.ResourceName. In addition the batch_job.resource_name has batch job resource names and have the forms of customers/{customer_id}/batchJobs/{batch_job_id} Also, you may visit this link to get other properties like batch_job.id. I hope this helps.

 

Best regards,

Google Logo
Anthony Cyril
Google Ads API Team
 


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