I use a WordPress plugin called Head, Footer and Post Injections. I added the AMP auto ads script in the head section form of the plugin. I then clicked on save and Cloudflare blocked it:
First you go to your CF Dashboard > Security > Events and filter results based on the RayID mentioned in the block page. When you find it, the event details should contain the Rule ID for the rule that blocked the request. You can then use that string to search for the rule when creating an exception.
You can then use that string to search for the rule when creating an exception.
So I have that rule ID but I am not exactly sure what to do with it when clicking on “Add Exception” via CF Dashboard > Security > WAF > Managed Rules. I do not see an option to add that, I apologize.
Once you click on the appropriate Ruleset, you’ll see a screen that lets you search for a Rule. After you paste the Rule ID you copied before, the rule will appear, with a checkbox next to it. Select it, then click Next.