What dumb luck. Anyway I have done something similar. But normally i use -edit_request.
I know the use of -select_query_name is correct in your case. But just try this for dumb luck:
-edit_request { do your query here ad_set_form_values content, pretty_name, etc. }