Hi Ilya,
Thank you for reaching out. In the code example uploading the store sales data, the asynchronous API requests were issued by calling offlineUserDataJobServiceClient.runOfflineUserDataJobAsync(offlineUserDataJobResourceName) to improve the performance and responsiveness as the data set might be larger in this case. However, in the code example uploading the customer match data, the synchronous API calls were issued as typically the customer info is smaller in size.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Hi Ilya,
Thank you for reaching out. My assumption is that the uploading of the store sales data is processed asynchronously but the uploading of the customer match data isn’t as the store sales example explicitly uses the runOfflineUserDataJobAsync method. Yes, you could query the offline_user_data_job.status from offline_user_data_job resource to check the job status.
Thanks and regards,
Xiaoming, Google Ads API Team