(java google api client v9.0.0) Batch Job api error reporting lacking vs bulk mutate errors

37 views
Skip to first unread message

Kostas Kougios

unread,
Sep 28, 2020, 11:53:58 AM9/28/20
to AdWords API and Google Ads API Forum

Hi, when uploading data via the google api v5 java client and using the bulk mutate, I get more information i.e. policy error information when I upload a problematic keyword. The class returned is GoogleAdsError which contains ErrorDetails which in turn has PolicyViolationDetails. But when using the batch job api, no information on the policy is returned. Is this something that will be added in the future?

Note: this is what I get from the response of the batch job api:

code: 3
message: "A policy was violated. See PolicyViolationDetails for more detail., at mutate_operations[5].ad_group_criterion_operation.create.keyword.text"
details {
  type_url: "type.googleapis.com/google.ads.googleads.v5.errors.GoogleAdsFailure"
  value: "\n\257\001\n\003\310\006\002\022BA policy was violated. See PolicyViolationDetails for more detail.\032\f*\nrevolution\"V\022\027\n\021mutate_operations\022\002\b\005\022\036\n\034ad_group_criterion_operation\022\b\n\006create\022\t\n\akeyword\022\006\n\004text"
}


Thanks,
Kostas



Google Ads API Forum Advisor Prod

unread,
Sep 29, 2020, 10:44:13 AM9/29/20
to adwor...@googlegroups.com
Hi Kostas,

We cannot give any timelines as to when features will get added to the API. You can follow our blog to get updates.

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


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