Hi I explored the suggested approach and went through the example code in the file AddCustomerMatchUserList.java. It seems that OfflineUserDataJobServiceClient has only methods (runOfflineUserDataJobAsync) for asynchronous processing. But my application has a need to upload large customers to audiences/segments synchronously. So could you please let me know if there is an API that can be utilized for uploading large customers to audiences and getting the API response synchronously?
On Friday, January 14, 2022 at 9:25:08 AM UTC+5:30 adsapi wrote: > Hi, > > Thank you for your question. > > The BatchJobService currently cannot be used to upload audiences/segments. > In the customer match considerations > <https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match#customer_match_considerations> > > guide, you may refer to the below items for more information on uploading > larger number of users : > > - *The operations collection for each > AddOfflineUserDataJobOperationsRequest can contain at most 100,000 > elements. If you need to submit more than 100,000 operations for a job, > send multiple requests with the same job resource_name.* > - *Avoid simultaneously running multiple OfflineUserDataJob processes > that modify the same user list (that is, multiple jobs whose > CustomerMatchUserListMetadata.user_list point to the same resource name). > Doing so can result in a CONCURRENT_MODIFICATION error since multiple jobs > are not permitted to operate on the same list at the same time. This error > can also occur if attempting to simultaneously modify a list through the > Google Ads UI and the Google Ads API. Note that this does not apply to > adding operations to an existing job, which can be done at any time before > the job is started.* > > Best regards, > > [image: Google Logo] > Peter Laurence Napa Oliquino > Google Ads API Team > > > ref:_00D1U1174p._5004Q2UjilR:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/a362aaff-a5a5-4617-ba63-c92880bf4a9en%40googlegroups.com.