Custom Scripts - 2 or more ad groups

45 views
Skip to first unread message

rachel...@carat.com

unread,
Apr 4, 2013, 6:50:27 AM4/4/13
to adwords...@googlegroups.com

Hi there,

I am hoping someone may be able to help with my question….

I am implementing a custom script into a ad group and I was wondering if there was a way of linking this to 2 or more ad groups as opposed to just the 1?

If there is please could you let me know how I can do this.

Thanks,

Rachel

Kevin Winter (AdWords Scripts Team)

unread,
Apr 5, 2013, 10:17:45 AM4/5/13
to adwords...@googlegroups.com
Hi Rachel,
  Could you elaborate about what you are trying to do?  AdWords Scripts run in the scope of an account - you can access all the ad groups within the account.  You can add conditions to restrict selectors to only look at specific ad groups.

- Kevin Winter
AdWords Scripts Team

rachel...@carat.com

unread,
Apr 8, 2013, 11:00:36 AM4/8/13
to adwords...@googlegroups.com
Hi Kevin,

I just wanting to add 1 script but have multiple ad groups with the same rule within it.

If the beginning of the script is:

// Date to use to find out how many days are remaining.
var END_DATE = new Date('June 16, 2013');
// Change this to the Ad Group you set up with text ads with AdParams.
var AD_GROUP_NAME = 'TEST';

How would i add in the second ad group?

Thanks for your help on this.

Rachel

Kevin Winter (AdWords Scripts Team)

unread,
Apr 9, 2013, 4:01:08 PM4/9/13
to adwords...@googlegroups.com
Hi Rachel,
  Are you working with the Countdown Sale tutorial?  It has a section on how to modify the script to work with multiple ad groups:


- Kevin Winter
AdWords Scripts Team
Reply all
Reply to author
Forward
0 new messages