Google Ads - Link Checker Error

90 views
Skip to first unread message

Isabel Blanchard

unread,
Oct 4, 2022, 3:56:11 AM10/4/22
to Google Ads Scripts Forum
Hi all,

New to Google Scripts so starting with:

Google Ads Link Checker Script, this is what I've updated in the template script (in green):

var CONFIG = {
  // URL of the spreadsheet template.
  // This should be a copy of https://docs.google.com/spreadsheets/d/1iO1iEGwlbe510qo3Li-j4KgyCeVSmodxU6J7M756ppk/copy.
  SPREADSHEET_URL: '[my copy of sheet]',

  // Array of addresses to be alerted via email if issues are found.
  RECIPIENT_EMAILS: [
    '[my email]'
  ],

  // Label to use when a link has been checked.
  LABEL: 'LinkChecker_Done',

  // Number of milliseconds to sleep after each URL request. Use this throttle
  // to reduce the load that the script imposes on your web server(s).
  THROTTLE: 0,

  // Number of seconds before timeout that the script should stop checking URLs
  // to make sure it has time to output its findings.
  TIMEOUT_BUFFER: 120
};



Since I'm implementing on a single account I've omitted the account condition variable in the code.

But I see this error:

error screenshot.png

Not sure why this is happening as I am unsure where to add the account info.

Kind Regards,
Isabel

Mike Rhodes

unread,
Oct 5, 2022, 3:06:03 AM10/5/22
to Google Ads Scripts Forum
I'm not a dev, but I think you're using the script for an MCC (AdsManagerApp in the error). You need the one for a single account.
Try this https://developers.google.com/google-ads/scripts/docs/solutions/link-checker

Google Ads Scripts Forum Advisor

unread,
Oct 5, 2022, 3:54:36 AM10/5/22
to adwords...@googlegroups.com
Hello Isabel and Mike,

This is Maia from the Google Ads Scripts Team.

@Mike - Thank you for providing your insights on this matter.

@Isabel - I concur with Mike, kindly try to utilize the Link Checker for Single account and should you encounter any blockers or issues, let us know. You may also provide us with the following information below:
  • Google Ads CID
  • Script Name
  • Shareable link (guide on Share a file publicly) of your spreadsheet

Kindly send the requested items via `Reply privately to author` option. If the said option is not available on your end, you may send those through the email alias `googleadsscr...@google.com` instead.

Best Regards,
Google Logo
Angel Maia
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2exZNK:ref
Reply all
Reply to author
Forward
0 new messages