An unidentified gunman fired six shots at the U.S. Embassy in Ankara, the Turkish capital, early Monday, striking a guard booth but causing no injuries at the embassy, which was closed at the time, the Ankara governor's office said in a statement. The U.S. Embassy was scheduled to close at midday Monday until the end of the week for the Islamic holiday of Eid al-Adha, according to its website.
Authorities later detained one person in relation to the shooting, the state-run Anadolu news agency said, without giving any details.
US administration had imposed sanctions and vows to do more against Turkey in the case the pastor would not be released immediately.
Police teams were searching for the assailants, who fled in a white vehicle after the attack, CNN Turk said.
David Gainer, the embassy's spokesman thanked the police for their "rapid response".
Turkish President Recep Tayyip Erdogan has called for a boycott on US -made electronic products, with some citizens heeding his call and filming themselves breaking their iPhones.More news: We Need To Improve - Mauricio Pochettino After Spurs Win Over Fulham
A police officer told Reuters at the scene the drive-by shooting occurred around 5 am (0200 GMT) and that nobody was hurt.
The president said those who believed they would bring Turkey to its knees through the foreign currency exchange rate would "soon see they are mistaken".
The US embassy in Ankara and the consulate in Istanbul have been the targets of attacks by militants, besides receiving threats in the past.
Erdogan's spokesman Ibrahim Kalin said the incident was being investigated.
Meanwhile, the Turkish foreign ministry said measures were taken to "ensure the security of the USA embassy in Ankara, other United States missions and their personnel" across the country.