This article will walk you through creating a process that checks for 404 errors and pause those campaigns.
1. On the PPC Samurai dashboard, select the client you want to build a process for.
2. From within the Client Account section, click on Ad.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4ed18042863474d1a5fb8file-0GQNjlsHxt-1.png)
3. On the Ad Processes section, click on the + button.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f586042863474d1a5fcefile-mBIZ3U7S9X.png)
4. On the New Process modal, enter a title for the process. Then, click on Save.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb399612c7d3a5ea54aa5c2file-V57UgvbGaL-3.png)
5. Select which campaigns you wish to run this process on.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio19795066653660adab984fe6b5bdc853applytocampaign.png)
6. In the Automate section, click the Enable automatic run checkbox to run this process automatically. Select how often you want to repeat this process, the start date, end date and run time.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb399a0042863474d1a4fbefile-yJAt0nmtkc-3.png)
First, we're going to make sure that the ad status is active. If it's not, then we'll ignore that ad.
7. In the Metrics Group section, Click on Ad Status under the Other submenu.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f6792c7d3a5ea54ab6dffile-asCbNVAS4c.png)
8. In the Condition: Ad Status modal, change the settings to the following and click Done.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb39a982c7d3a5ea54aa5d1file-pnPD1BZotI-3.png)
9. Click and hold the dark square in the Start element, then drag it down and drop onto Ad Status element.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio18839406066466ab2d372bb7585efe4fFile1487906521512.png)
10. In the Actions section, click on Ignore Ad.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f7052c7d3a5ea54ab6e2file-ZSVceD68eM.png)
11. Click and hold the N button Ad Status element, then drag it down and drop onto the Ignore element.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio18839449c1da45c5f2bc14bc41c7fcaaFile1487906634077.png)
Next, we want to check for 404 errors. If there is a 404 error, we want to pause the ad and label it with "404 Error". If there is no 404 error, we ignore the ad and remove the "404 Error" label.
12. In the Metrics Group section, Click on Page Code under the Other submenu.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f76a042863474d1a5fd8file-YJPpWBSP6Y.png)
13. Change the settings to the following and click Done.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f792042863474d1a5fd9file-H3ZWkOVmNd.png)
14. Click and hold the Y button Ad Status element, then drag it down and drop onto the Page Code element.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio188395734ff06a17f43db6a81aac0ebfFile1487906892141.png)
15. In the Actions section, Click on Pause Ad.
16. Change the settings to the following and click Done.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f8452c7d3a5ea54ab6e9file-03nhFPlTtz.png)
17. In the Actions section, Click on Add Label.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb39e93042863474d1a4ffdfile-6QasMrdHo8-3.png)
18. In the Add Label modal, enter 404 Error in the textfield.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f8f4042863474d1a5fe4file-PkIKue0MB3.png)
19. In the Actions section, Click on Ignore Ad.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f967042863474d1a5fe5file-KNxvsyknUN.png)
20. In the Actions: Ignore Ad modal, click Done.
21. In the Actions section, Click on Remove Lbl.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f98b2c7d3a5ea54ab6edfile-fGE6ohnKxy.png)
22. In the Remove Label modal, select Is in the Condition and enter 404 error in the Text field.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f9b32c7d3a5ea54ab6eefile-vivwTQrI8I.png)
23. Click and hold the Y button Page Code element, then drag it down and drop onto the Pause Ad and Add Label element.
24. Click and hold the N button Page Code element, then drag it down and drop onto the Ignore Ad and Remove Label element.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio18839799ced6eb704659b3e3e22882e8File1487907375155.png)
Finally, we want to send an email alert if a 404 error exist in an ad.
25. In the Metrics Group section, Click on Page Code under the Other submenu.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f76a042863474d1a5fd8file-YJPpWBSP6Y-1.png)
26. Select 404 - Not Found in the Page Code dropdown menu and select Show only unique url's in result in the Url grouping dropdown menu.
Note that the URL group is different from the other Page Code element because we only want to receive one email for each unique URL.
27. Change the settings to the following and click Done.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f792042863474d1a5fd9file-H3ZWkOVmNd-1.png)
28. Click and hold the Y button Ad Status element, then drag it down and drop onto the Page Code element.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio1883999403dc8bcdfd4e6c28e2e39cd9File1487907838220.png)
29. In the Actions menu, click on Email.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4fa292c7d3a5ea54ab6effile-T6bjo2opGu.png)
30. Change the settings to the following:
- Enter email address in the Email to field
- Enter [Client] - ALERT - Ads have been paused due to broken URL in the Subjectfield.
- Enter Please see attached spreadsheet for a list Adgroups with 404 errors in the text field.
- Check the Aggregate data in spreadsheet checkbox.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio19795381d564ad37be1cf60347aed0fdemail_AD_001.png)
31. Click Save.
32. Click and hold the Y button Page Code element, then drag it down and drop onto the Email element.
33. In the Actions section, click on Ignore Ad.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/d33v4339jhl8k0.cloudfront.netdocsassets5d550cee2c7d3a68825eb32bimages5eb4f967042863474d1a5fe5file-KNxvsyknUN-1.png)
34. Click and hold the N button Page Code element, then drag it down and drop onto the Ignore Ad element.
![](https://support.ppcsamurai.com/hubfs/Knowledge%20Base%20Import/uploads.intercomcdn.comio188401217871aff1da433cd17676cef8File1487908181669.png)
Congratulations - you have completed this process!