AdWords REST :uploadUserData

87 views
Skip to first unread message

dani...@gmail.com

unread,
Feb 8, 2022, 5:48:44 AM2/8/22
to Google Ads API and AdWords API Forum
Hi,

The plan is upload user data to the specific list.

My Question:

1.  Is there a limit, in the old code, uploading 100 at a time was fine, but seems REST api is only capable to 10?
2.  I'm not getting any errors on the upload, but when i check google for the upload, im not getting new data in the UI.  I upload 2/7 but not data here, should the upload reflect here instantly (the old api did)
upload-data.png
Best Regards,
Daniel

Google Ads API Forum Advisor

unread,
Feb 8, 2022, 4:28:14 PM2/8/22
to dani...@gmail.com, adwor...@googlegroups.com
Hi Daniel,

You can check out the offlineUserDataJobs resource to upload millions of userData in one job, and those uploads will register in the UI. We have a Customer match guide.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W5IpZ:ref

dani...@gmail.com

unread,
Feb 8, 2022, 9:27:38 PM2/8/22
to Google Ads API and AdWords API Forum
HI Aryeh,

Does that mean this REST API: https://googleads.googleapis.com/v9/customers/{customer_Id}:uploadUserData is not working? whats the different betweed the 2?

Google Ads API Forum Advisor

unread,
Feb 9, 2022, 8:48:47 AM2/9/22
to dani...@gmail.com, adwor...@googlegroups.com
Hi Daniel,

Both endpoints work, but to register that an upload occured in the UI or to add many users in one shot you can use  the offlineUserDataJobs resource, the  uploadUserData resource will upload users but the upload time and date and success or failure won't show in the UI and you can only upload a small amount in one request. Feel free to get back to us.

dani...@gmail.com

unread,
Feb 9, 2022, 9:02:25 AM2/9/22
to Google Ads API and AdWords API Forum
HI Aryeh,

Ok now i understand the difference.  So using the offlineUserDataJobs, the steps should be, "create", ""addOperation", then "run" ?  Am i right?

Thanks,
daniel

Google Ads API Forum Advisor

unread,
Feb 9, 2022, 9:45:33 PM2/9/22
to dani...@gmail.com, adwor...@googlegroups.com

Hello Daniel,

Thanks for getting back to us.

Yes, your understanding is correct. First you should create, then addOperations to the offline user data job. Finally, you run the offline user data job.

Regards,

Google Logo
Mark Kevin
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2W5IpZ:ref

dani...@gmail.com

unread,
Feb 10, 2022, 8:45:05 AM2/10/22
to Google Ads API and AdWords API Forum
HI Mark,

What happens if i call addOperations again after callng run?

Thanks,
Daniel

Google Ads API Forum Advisor

unread,
Feb 10, 2022, 9:05:50 PM2/10/22
to dani...@gmail.com, adwor...@googlegroups.com
Hi Daniel,

You may need to wait until such time the previous jobs have finished running before performing additional add operations for the same userlist resource, in order to avoid errors such as the CONCURRENT_MODIFICATION error. You may also refer to this section of our customer match guide, for more information on the things to consider when managing your audiences.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


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