RE: Error details missing from ListBatchJobResultsResponse

92 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Dec 19, 2021, 10:48:47 PM12/19/21
to adwor...@googlegroups.com
Hi Ciel,

Thank you for reaching out.

I had to remove your initial post as it contained your logs. I also took note of your raw results when uploading the mutate operation via `AdGroupAdService`. However, would you also be able to provide the complete request and response logs from your batch job request, and also the batch job IDs generated?

For reference, I have posted your initial concern here, minus the logs :

Hi Google Ads API team,

We noticed for i.e. PolicyFinding errors on `AdGroupAd` create operations that the mutate response contains a lot of detailed information on the violation under `policy_finding_details`, which is very nice to have.

However, when I send the same `AdGroupAd` create operation in a batch job, and then check the results, this bit of information is missing from the details.

We use `BatchJobServiceClient.list_batch_job_results` from the python library, v9. The response content type on the `ListBatchJobResultsRequest` is set to `MUTABLE_RESOURCE`. I also tried `RESOURCE_NAME_ONLY` but same thing happens.

Am I missing some parameter which ensures we receive all error details in the batch job results? Or are these details simply unavailable in the batch job result?

Use case: We would like to show these policy violation details to our users so they can easily solve the problem, while using batch jobs to ensure we can efficiently send many operations to the Google Ads API. We send multiple millions of operations per day, so sending duplicate singular operations just to get this error information is not so feasible.

Hope you can help, thanks in advance.

Best,
Ciel


You may then provide the additional details I requested via the Reply privately to author option, so that I may be able to raise this to the rest of our team to clarify the details that should be available when performing ad operations via th BatchJobService.

If the above private option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2TN6DT:ref

Ciel Eijssen

unread,
Dec 24, 2021, 3:44:17 AM12/24/21
to AdWords API and Google Ads API Forum
Sharing Google's reply publicly for others who might be running into the same problem:

It appears that the policy details are indeed not being returned in the batch job's response. That being said, allow me to create a feature request for its support, subject for review. For now, you may keep an eye on our blog for updates or announcements.

As a temporary workaround, you may collect the ads that were returned in the listed results and then replicate the error by performing the mutate using the AdGroupAdService instead. Once the policy details are returned, you may then perform the exemption request.

Dorian Kind

unread,
Mar 28, 2022, 4:44:51 AM3/28/22
to Google Ads API and AdWords API Forum
Hi there,

are there any updates on this topic? Not being able to create exemption requests when using BatchJobService is somewhat of a show-stopper for migrating completely to the Ads API. Using a batch job and then reverting to sending mutate operations directly to the various entities' services in case of policy violations seems rather awkward.

Best,
Dorian

Google Ads API Forum Advisor

unread,
Mar 28, 2022, 9:52:10 PM3/28/22
to dor...@webrepublic.ch, adwor...@googlegroups.com
Hi Dorian,

Thank you for following up.

I am afraid that our team has not received an update yet about the feature request that we've raised about your concern. Also, please note that the feature request that we raised will not be available immediately.

With this, I would suggest continuing to follow our blog as we will post the relevant updates when it becomes supported.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


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