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 <https://ads-developers.googleblog.com/search/label/google_ads_api> for updates or announcements. As a temporary workaround, you may collect the ads that were returned in the listed results <https://developers.google.com/google-ads/api/docs/batch-processing/flow?hl=en#listresults> 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 <https://developers.google.com/google-ads/api/docs/policy-exemption/ads?hl=en> . On Monday, December 20, 2021 at 4:48:47 AM UTC+1 adsapi wrote: > 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 > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#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, > > [image: Google Logo] > Peter Laurence Napa Oliquino > Google Ads API Team > > > ref:_00D1U1174p._5004Q2TN6DT:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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/d5eb9a63-ca7e-43ac-9914-9b47bf6d06a7n%40googlegroups.com.