Howdy @dodnert,
gender is actually a string as well, per the docs you linked. The only two targeting_values I could find that are integers are network_activation_duration_lt and network_activation_duration_gte.
I tend to agree with you. Overall, we have tried to make targeting_values strings, however those two seem to have slipped through. I’ll file a ticket but no promises on getting that changed in this revision of the API.
Thanks!