Problems with batch jobs

171 views
Skip to first unread message

Ainis Vabolis

unread,
Apr 8, 2022, 1:46:09 AM4/8/22
to Google Ads API and AdWords API Forum
Hi,
I have created one batchJob with operation to change TrackingUrl, it is a simple update, previously everything was working fine. BatchJob finished in couple of minutes. But now I created the job yesterday and today google ads api says that job is still running. It looks like it is getting stuck, I tried to create couple of new batch jobs but they are behaving exactly the same. I create the batchJob according provided documentation.
Could you look into this issue ? 

Best regards

Ainis Vabolis

unread,
Apr 8, 2022, 4:04:31 AM4/8/22
to Google Ads API and AdWords API Forum
Code:
public async Task<BatchJobOperationResults> CreateAndRunBatchJob(string customerId,
List<MutateOperation> mutateOperations)
{
var batchJobService = GoogleAdsClient.GetService(Services.V10.BatchJobService);

var operation = new BatchJobOperation
{
Create = new BatchJob()
};

var batchJobResponse = await batchJobService.MutateBatchJobAsync(customerId, operation);
var resourceName = batchJobResponse.Result.ResourceName;

await batchJobService.AddBatchJobOperationsAsync(
new AddBatchJobOperationsRequest
{
ResourceName = resourceName,
MutateOperations = {mutateOperations}
});

await batchJobService.RunBatchJobAsync(resourceName);

Ainis Vabolis

unread,
Apr 8, 2022, 4:06:44 AM4/8/22
to Google Ads API and AdWords API Forum
AdGroupOperation = new AdGroupOperation
{
Update = new AdGroup
{
Id = operation.EntityId,
TrackingUrlTemplate = operation.TrackingUrlTemplate
}
}

mutateOperations contains only one item which is this one

Google Ads API Forum Advisor

unread,
Apr 8, 2022, 5:02:34 AM4/8/22
to ainis....@softeta.com, adwor...@googlegroups.com

Hi Ainis,
 

Thanks for reaching out to the Google Ads API Support team.
 

With regard to your concern, So our team can better check on this, can you share a screenshot of the problem that you have encountered in "ChangeTrackingUrl" and the complete API logs (request and response with request-id)?
 

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZL2Re:ref

Ainis Vabolis

unread,
Apr 8, 2022, 5:08:06 AM4/8/22
to Google Ads API and AdWords API Forum
Hi, 
I sent detailed logs to googleadsa...@google.com email about request
Did you get ? 

Google Ads API Forum Advisor

unread,
Apr 8, 2022, 10:48:41 AM4/8/22
to ainis....@softeta.com, adwor...@googlegroups.com
Hi Ainis,

Thank you for following up.

My colleague has already raised the issue to the team with the information that you provided. With this, please keep an eye on the other email thread as we will provide updates about the issue there when it becomes available.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZL2Re:ref

Ainis Vabolis

unread,
Apr 11, 2022, 2:29:45 AM4/11/22
to Google Ads API and AdWords API Forum
Hi,

Any news ? 

Google Ads API Forum Advisor

unread,
Apr 11, 2022, 4:51:10 AM4/11/22
to ainis....@softeta.com, adwor...@googlegroups.com

Hi Ainis.
 

Thank you for following up.


With regards to your concern, I am afraid that we don't have the visibility to the timeline and plan about the feature request that we raised.
 

For now please follow our blog as we will post relevant updates when it becomes supported.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZL2Re:ref

Ainis Vabolis

unread,
Apr 11, 2022, 5:01:27 AM4/11/22
to Google Ads API and AdWords API Forum
But it is not the feature, it is the issue with batch processing :/

Google Ads API Forum Advisor

unread,
Apr 11, 2022, 2:00:31 PM4/11/22
to ainis....@softeta.com, adwor...@googlegroups.com

Hello Ainis,

Thanks for replying back. With regards to your concern, it looks like we have a duplicate thread for this issue. We can keep correspondence related to this issue on the other thread and I will close this thread to avoid any kind of confusion. Also, it has more context than this thread.

Best regards,

Google Logo
Jakeia Sabrina
Google Ads API Team
 

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