Add users To Audience List

36 views
Skip to first unread message

cv

unread,
Oct 17, 2024, 11:52:16 AM10/17/24
to Google Ads API and AdWords API Forum
Hi,

Can I add Users to My Already created list without creating the Offline Job?

Can you please guide how I can achieve this in PHP?
I am using this service to create userList CrmBasedUserListInfo.

Thanks,

cv

unread,
Oct 17, 2024, 12:50:56 PM10/17/24
to Google Ads API and AdWords API Forum
Hi,

I also have few question.

If this only be efficient with job service.

1) How I can know that Job is pending or completed?
2) Where I can see JobID? As you suggested this.

If a job ID is specified, this example adds operations to that job. Otherwise, it creates a new job for the operations.
 
  IMPORTANT: Your application should create a single job containing all of the operations for a
  user list. This will be far more efficient than creating and running multiple jobs that each
  contain a small set of operations.

Thanks,

Google Ads API Forum Advisor

unread,
Oct 17, 2024, 7:35:06 PM10/17/24
to chirag....@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to the Google Ads API support team.

Please find the answers below for your questions.

  • Can I add users to my already-created list without creating the offline job?

As per this API documentation, it required an OfflineUserDataJobOperation to append customer contact information to a customer list. However, you can utilize the UserListService to update the user lists.

Please be aware that user list updates made through UserDataService don't appear as uploads in the Google Ads UI. We recommend that you use the OfflineUserDataJobService if you're using the API to manage user lists that are also managed in the UI.

  • How can I know that a job is pending or completed?

You can use the resource offline_user_data_job to get the resource name of the offline user data job as well as the status of the corresponding job. Please refer to the following query to fetch the required information.

SELECT offline_user_data_job.id, offline_user_data_job.status FROM offline_user_data_job

  • Where can I see JobID? As you suggested this.

The above-suggested query will help you to fetch the corresponding job ID. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGey3:ref" (ADR-00272054)

Thanks,
 
Google Logo Google Ads API Team


cv

unread,
Oct 18, 2024, 6:42:29 AM10/18/24
to Google Ads API and AdWords API Forum
Hi,

Thanks for your answer.

Can I use same JobId which was created to append Customer List When User List was newly created?

I need to update this list periodically may be once in a week.

So what I was trying to achieve is 
Create New list : Only once in lifetime ( This was done as per your comment and I am able to add new members and I get the Job ID here)
Try to update this list periodically by adding new contact info. ( May be I can use same Job ID to add new members, if I can use same Job ID then Should I need to wait the initially created job to be finish?)
Remove members If that was flagged by internal logic. ( Should I make new Job Id for remove?, I think from doc it was suggested to create new Job ID)


Thanks,
Reply all
Reply to author
Forward
0 new messages