Response is None for offline_user_data_job_service_client.add_offline_user_data_job_operations
OArapoglu opened this issue · 1 comments
I am able to create a UserList and OfflineUserDataJob on one of our Google Ads account via our PPC Automation system. However, when I try to add a user identifier to the user list via created offline user data job according to https://developers.google.com/google-ads/api/samples/add-customer-match-user-list, the response is null. When I check the user list size, it is 0. So, I can not add user into the created userlist via Google Ads API.
request = client.get_type("AddOfflineUserDataJobOperationsRequest")
request.resource_name = offline_user_data_job_resource_name
request.operations = build_offline_user_data_job_operations(client)
request.enable_partial_failure = True
# Issues a request to add the operations to the offline user data job.
response = offline_user_data_job_service_client.add_offline_user_data_job_operations(
request=request
)
@OArapoglu if you run type(response)
you get None
there? Can you double-check? My expectation is that you would get some form of an AddOfflineUserDataJobOperationsResponse
instance. It's easy for this to not have any information on it, and appear to be None
from a repl. For reference, here's an example of how you can handle responses from the mehod.