OfflineUserDataJob for more than 100,000 UserData

31 views
Skip to first unread message

Nhat Ho

unread,
Jul 16, 2022, 12:13:39 AM7/16/22
to Google Ads API and AdWords API Forum
Hi Google Ads Api Team,

Currently I am trying to upload more than 100,000 UserData. I read that we need to make mutiple requests.
Is there a way we can do it through Java Lib (https://developers.google.com/google-ads/api/docs/client-libs/java)

If possible can you provide me some example for this

Thanks you for reading

Google Ads API Forum Advisor

unread,
Jul 18, 2022, 3:46:38 AM7/18/22
to hominh...@gmail.com, adwor...@googlegroups.com
Hi Nhat,

Thank you for posting your concern.

I am afraid that there is currently no sample code for this. However, I would suggest using this sample code as your base code because it illustrates adding one operation in AddOfflineUserDataJobOperationsRequest. You may just follow it to add more operations to meet the statement below:
  • The operations collection for each AddOfflineUserDataJobOperationsRequest can contain at most 100,000 identifiers across all of the UserData objects in the operations. If you need to submit more than 100,000 identifiers for a job, send multiple requests with the same job resource_name.

Let me know if you have further questions.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


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