Turkey 's prime minister Recep Tayyip Erdogan has criticized the Israeli campaign in the Palestinian territory .