MCC Ad Extension Auditor

216 views
Skip to first unread message

Nichandro Koh

unread,
Nov 8, 2017, 5:56:44 AM11/8/17
to AdWords Scripts Forum
Hi, I'm new to the AdWords script and is wondering whether we could modify Account Auditor - Manager account, https://developers.google.com/adwords/scripts/docs/solutions/mccapp-account-auditor so that we could also audit the number of ads extension per campaign within MCC level.

Anthony Madrigal

unread,
Nov 8, 2017, 11:37:23 AM11/8/17
to AdWords Scripts Forum
Hi Nichandro,

Yes, it would be possible to modify the script to handle ad extensions. To get started, for each type of ad extension, you would need to include them in the var ENTITY_TYPE_INFO and supply them with the proper getter and level. 

You could either try to modify the code yourself or I can put in a feature request to include this in a future version of your behalf.

Regards,
Anthony
AdWords Scripts Team

Nichandro Koh

unread,
Nov 8, 2017, 8:55:28 PM11/8/17
to AdWords Scripts Forum
Hi Anthony,

It would be great if you could put in the feature request for the future version.

At the same time, is there any way that you could guide me in modifying the scripts so that I can run the auditor with sitelinks?

Thanks!

Regards,
Nichandro

Anthony Madrigal

unread,
Nov 9, 2017, 3:02:26 PM11/9/17
to AdWords Scripts Forum
Hi Nichandro,

I will put in that feature request for you.

Since sitelinks can be found on multiple levels, you will need to create multiple variables in the ENTITY_TYPE_INFO for each one (e.g., campaign sitelinks and ad group sitelinks).

Here would be an example on how to create one for ad group sitelinks.
AdGroupSitelink: {
   selector
: 'extensions().sitelinks',
   asText
: 'getLinkText',
   level
: 3,
   parentType
: 'AdGroup'
}

Regards,
Anthony
AdWords Scripts Team
 

Nichandro Koh

unread,
Nov 9, 2017, 6:57:21 PM11/9/17
to AdWords Scripts Forum
Hi Anthony,

Thanks for the effort!

I'll try and test out and work on the example given.

Regards,
Nichandro

Nichandro Koh

unread,
Nov 14, 2017, 9:53:58 PM11/14/17
to AdWords Scripts Forum
Hi Anthony,

I've tried to go through the script but I can't figure out where to insert the variables to run the sitelink check.

Could you further guide me on where to insert the script as well as the parameters involved.

Anthony Madrigal

unread,
Nov 15, 2017, 12:19:03 PM11/15/17
to AdWords Scripts Forum
Hi Nichandro,

I can have a look at your script and see what you have so far. Please provide me with your CID and script name through reply privately to author.

Since modifying the script to include ad extensions (such as sitelinks) will be a huge overhaul and I have created a feature request for this, I cannot provide implementation for you but can guide you if you would like to do it yourself. 

Regards,
Anthony
AdWords Scripts Team

Reply all
Reply to author
Forward
0 new messages