We have followed the code example in your documentation our primary 
language is python and I see an issue on the code may be the cause of the 
issue we are experiencing. This i s the link to the snipped I am referring 
to it. 
https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match
Based on that code we wrote the following function

offline_user_data_operation = client.get_type(
"OfflineUserDataJobOperation"
)
if operation == 'add':
user_data_operation = offline_user_data_operation.create
else:
user_data_operation = offline_user_data_operation.remove

# Creates a first user data based on an email address.
user_identifier_with_hashed_email = client.get_type("UserIdentifier")
# Hash normalized email addresses based on SHA-256 hashing algorithm.
user_identifier_with_hashed_email.hashed_email = 
self._normalize_and_hash(customer_record['email'])

user_data_operation.user_identifiers.append(
user_identifier_with_hashed_email
)

return offline_user_data_operation

The issue I see on this code and the one in the documentation is 
that user_data_operation is defined but not set back to 
the offline_user_data_operation. If you return an array 
of user_data_operation you get casting issue because it said 
expect OfflineUserDataJobOperation. If you 
return OfflineUserDataJobOperation that is what was used to 
create user_data_operation executes without issues but not data display on 
the list as I expected because the UserData was not set back to 
the offline_user_data_operation. For a short period of time and for my 
surprise we saw data been populating on https://ads.google.com/ I have 
example of that but suddenly stop working. Can you indicate how to set back 
the array of UserData to the OfflineUserDataJobOperation.

I could not find anywhere on teh documentation how to do it or any example 
online

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dd8d7e2a-3e9a-42f6-849c-08991b571977n%40googlegroups.com.
  • Of... Alejandro Alvarenga
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to