Mutate Campaign partial failures?

101 views
Skip to first unread message

dhmitc...@gmail.com

unread,
Mar 31, 2021, 10:46:52 AM3/31/21
to AdWords API and Google Ads API Forum
I don't see anything in the documentation nor in the java client lib for how to tell mutate on campaignService that you want partial errors and how to retrieve those errors. Did I miss something or is it not there?

Google Ads API Forum Advisor Prod

unread,
Apr 1, 2021, 10:08:29 AM4/1/21
to dhmitc...@gmail.com, adwor...@googlegroups.com
Hello Don,

PartialPartial failures are available for CampaignService. Although we don't have an exact example, you can use this one as a reference. 

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2EolVP:ref

Don Mitchell

unread,
Apr 1, 2021, 1:17:43 PM4/1/21
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
com.google.ads.googleads.v6.services.CampaignOperation.Builder denies the setPartialFailures method's existence. Nothing in CampaignOperation nor the builder's superclasses references failure.

Google Ads API Forum Advisor Prod

unread,
Apr 2, 2021, 12:23:43 PM4/2/21
to dhmitc...@gmail.com, adwor...@googlegroups.com
Hi Don,

I'll pass this along to the team to take a closer look and get this resolved. I will keep you updated.

Google Ads API Forum Advisor Prod

unread,
Apr 5, 2021, 9:04:14 AM4/5/21
to dhmitc...@gmail.com, adwor...@googlegroups.com
Hi Don,

I see that you were trying to set the partial failure on the CampaignOperation. You will need to pass it as an argument to the CampaignService.mutateCampaigns method, much like in the mutateAdGroups method in the example I provided.

Don Mitchell

unread,
Apr 5, 2021, 9:28:09 AM4/5/21
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Ugh, I see, need to create and pass MutateCampaignsRequest and set it there.

dhmitc...@gmail.com

unread,
Apr 15, 2021, 11:19:31 AM4/15/21
to AdWords API and Google Ads API Forum
`MutateCustomerRequest` does not have `setPartialFailure` method

Google Ads API Forum Advisor Prod

unread,
Apr 16, 2021, 2:17:59 AM4/16/21
to dhmitc...@gmail.com, adwor...@googlegroups.com
Hi Don,

I work with Anthony and let me provide support to your concern.

Unfortunately, support for the partial_failure feature is limited to only a number of mutate requests. Not all service mutate methods support this.


However, the method for the partial_failure should be present in the MutateCampaignsRequest. With this, since there is currently sample code for the implementing partial failure in CampaignService, then I would suggest to reach out to the author of the Java client library via this link. They are more capable of providing assistance on the implementation of Google Ads API services in Java client library.

Regards,

Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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