Batchjob query details

45 views
Skip to first unread message

Prince Polly

unread,
Feb 3, 2022, 7:14:47 AM2/3/22
to Google Ads API and AdWords API Forum
Hi,

I've read serveral threads on this forum that is not possible anymore to get id's from the uploaded Campaigns, adgroups, keywords, etc via the batchjob results. So can someone tell me how a can query these results afterwards? I only want to query the uploaded items, not the rest. Eg, I know how to query all Campaigns, but i only need the newly added campaigns.

Thanks!

Google Ads API Forum Advisor

unread,
Feb 3, 2022, 3:38:10 PM2/3/22
to princ...@gmail.com, adwor...@googlegroups.com
Hi Prince,

The BatchJobsService ListBatchJobResults method should return a list of BatchJobResults. Assuming no errors, you can find the mutate_operation_response within the BatchJobResult, and you can locate the resource name for the specific response type (e.g. campaign_result).

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2W3xFq:ref

Prince Polly

unread,
Feb 4, 2022, 11:18:35 AM2/4/22
to Google Ads API and AdWords API Forum
Thanks for you response. I know the format of the response (BatchJobResults). But this response (e.g. the campaign_result) doenst have the added Campaign_id from adwords. I need that id.. So how can i retreive this after the batchjob Succeeded?

Op donderdag 3 februari 2022 om 21:38:10 UTC+1 schreef adsapi:

Google Ads API Forum Advisor

unread,
Feb 7, 2022, 12:30:51 AM2/7/22
to princ...@gmail.com, adwor...@googlegroups.com
Hi Prince,

Thank you for the reply.

To check if there are any workarounds to get the ID of the Google Ads entities in batch job, would you be able to provide a sample complete request and response logs with request ID and request header generated on your end for the whole batch job usage flow?

If I determine that this is not possible, I will raise a feature request for it to the team so that this information will be included in the API response, subject for review.

You can provide the details via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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