The Spamouflage campaign, using networks of new and hijacked social media accounts to post bulk messages, took place in August and September, and targeted dozens of lawmakers from across the political spectrum, the foreign ministry said in a statement.