how can i upload crm base user list

60 views
Skip to first unread message

임수민

unread,
Oct 14, 2020, 10:08:22 PM10/14/20
to AdWords API and Google Ads API Forum
hello API team!

i found the service "OfflineUserDataJobService" , but  but I don't think it supports uploading the crm  base user list.
can i upload crm base user list using google- ads-api? 

Google Ads API Forum Advisor Prod

unread,
Oct 15, 2020, 10:49:17 AM10/15/20
to smli...@gmail.com, adwor...@googlegroups.com

Hi, 

Thank you for reaching out. Yes, you could definitely upload the CrmBasedUserList with the OfflineUserDataJobService. Please refer to this code example on how to create and populate the CrmBasedUserList with OfflineUserDataJobService in the Google Ads API.

Thanks and regards,
Xiaoming, Google Ads API Team


Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q269PXZ:ref

임수민

unread,
Oct 21, 2020, 5:52:56 AM10/21/20
to AdWords API and Google Ads API Forum

Hi  Xiaoming,

I've read your message and i tried to execute that code example,
```
    # Wait until the operation has finished.
    print("Request to execute the added operations started.")
    print("Waiting until operation completes...")
    operation_response.result()

    print(
        "Offline user data job with resource name "
        f"'{offline_user_data_job_resource_name}' has finished."
    )
```

operation response take so long, and loggers say

[2020-10-21 18:27:42 - INFO] Request made: ClientCustomerId: None, Host: googleads.googleapis.com:443, Method: /google.longrunning.Operations/GetOperation, RequestId: 8P42b247BOAPOg53D3dcPw, IsFault: False, FaultMessage: None
[2020-10-21 18:27:42 - INFO] Request made: ClientCustomerId: None, Host: googleads.googleapis.com:443, Method: /google.longrunning.Operations/GetOperation, RequestId: RNQl7oIUzB69IpMwLRgSMg, IsFault: False, FaultMessage: None

like that.

is this alright ? especially " ClientCustomerId : None".  I have no idea why that logger says there is no clientCustomerId in offlineUserDatajob resource.
2020년 10월 15일 목요일 오후 11시 49분 17초 UTC+9에 adsapiforumadvisor님이 작성:

Google Ads API Forum Advisor Prod

unread,
Oct 21, 2020, 3:31:11 PM10/21/20
to smli...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. I’m not seeing any errors here since it shows “IsFault: False” in the response. I suppose this request was processed successfully and no error occurred.



Thanks and regards,
Xiaoming, Google Ads API Team


Reply all
Reply to author
Forward
0 new messages