The long one is called "couplets" and the square one is called "Doufang".
Now people are not familiar with the name "Doufang", so they call it "Door Paste" or "Fu Zi Paste" or "Fuwa Paste".