You can use the Notice bar option to Show notifications on all of your AMP pages for cookie purposes.
You will find this option in WordPress Dashboard -> AMP option panel -> Settings -> Notice Bar & GDPR

- Notifications: First enable this option.
- Notice Content: In this textarea, you need to enter text which you want to display on Notice bar.
- Button Text: In this field, you can change the name of the Notification button.
- Link: If you want the link on Notification bar then enable this option.
- Enter the URL of Privacy Page: In this field, you need to enter URL for this link.
- Privacy Page Button Text: In this field, you can change the name of the Privacy Page Button.
The output of the Notification Bar

That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.