Hi, I'm using the Batch Job Service in order to create multiple Campaigns after creating the campaign budget and the bidding strategies.
The batch job runs fine and the campaigns are created in the platform. The issue I'm having is that I need the Ids of the campaigns created from the response of the ListBatchJobResult. I have set the ResponseContentType to Mutable in the request but the response I'm getting is a campaign with a resource_name with a negative Id in the CampaignResult().getCampaign().getResourceName() Here's the portion of the code for the request: BatchJobServiceClient.ListBatchJobResultsPagedResponse batchJobResults = batchClient.listBatchJobResults( ListBatchJobResultsRequest.newBuilder() .setResponseContentType(MUTABLE_RESOURCE) .setResourceName(batchJobResourceName) .setPageSize(PAGE_SIZE) .build()); return batchJobResults.getPage() .getResponse() .getResultsList() .stream() .map(BatchJobResult::getMutateOperationResponse) .collect(toList()); Thank you, Skander -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/ba682035-fd3e-4aa4-ad45-1fa5285d5eb0n%40googlegroups.com.