google-ads-linkchecker
v1.0.0
Published
Simple script for validating final urls with Google Ads Scripts
Downloads
2
Maintainers
Readme
Simple script for validating final urls with Google Ads Scripts
Usage
- Login to your Google Ads account
- Go to "Tools & Settings" > "Scripts"
- Create a new script
- Paste the following content into the script
- Switch on the new scripts experience (Beta)
var config = {
/**
*
* Determine weather parameters are tested
*
* false -> Test with parameters
* true -> strip parameters
*/
stripParameters : true,
/**
*
* Set the logging steps
*
* 25 -> Log status every 25 urls
*/
loggerSteps : 25,
/**
*
* Set your mail credentials
*
* recipient -> This adress will recieve issues
* You can provide multiple email adresses by seperating them with a comma
* f.e. '[email protected],yy.company.com'
* replyTo -> This is the reply-to adress of the message
*/
mail : {
recipient : '[email protected]',
replyTo : '[email protected]'
},
/**
*
* "Do not touch"-area
*
* These functions are used for the stupe process
* when first using the script or for the mail support
*/
setup : {
mail : MailApp.getRemainingDailyQuota(),
acc : {
id : AdsApp.currentAccount().getCustomerId(),
name : AdsApp.currentAccount().getName()
}
}
}
function main() {
var script = UrlFetchApp.fetch('https://cdn.jsdelivr.net/gh/PatrickSchababerle/google-ads-linkchecker/dist/bundle.js').getContentText('utf-8');
eval(script);
}
- Afterwards add your details to the config object
- Click "Save" and "Preview"
- Authorize the script using your login credentials
- Go back to "Scripts" and schedule the script once a day
That's it, your ads and extensions are now being testet once a day. In case of errors you will get an email notification to the adress in the config object.
Author
👤 Patrick Schababerle
- Website: https://www.secret-share.com
- Github: @ PatrickSchababerle
- LinkedIn: @patrick-schababerle
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator