Target Corp. on Wednesday said it would "respectfully" ask customers to not bring guns into its stores, "even in communities where it is permitted by law," responding to a month-long campaign from a gun-control group.

The retailer was pushed into the national debate after Texas gun-rights groups posted photographs of their members carrying rifles through the aisles of stores near Dallas.

In...