AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Ads
1.8K members online now
1.8K members online now
Improve your Google Ads performance and boost your ROI, CTR, and Quality Score
Guide Me
star_border
Reply

Automated rules

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I want to create rules to increase/decrease max CPC of keywords depending on ave pos over the last 7 days.  They look fairly easy to set up, but we have multiple campaigns and many ad groups within each campaign - these rules would be set at the ad group level.  Can anyone tell me if there is a limit to the number of rules we can have in our account at one time?

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by Zee (Community Manager)
September 2015

Re: Automated rules

[ Edited ]
Top Contributor
# 3
Top Contributor

Hi M_D_Kelley, in such a situation I'd be looking at the new Scripting feature of Adwords.  This would seem ideal for doing what you want over many campaigns and groups and (off the top of my head) wouldn't be too difficult to script.  You could then schedule that script to run every week or fortnight or whatever.

 

You will need some working knowledge of JavaScript (or access to a tame developer with same) but I'd say it was ideal for this.

 

Something like this should do it...

 

//Increase/decrease bids based on position

function main() {
// Increase the poor ones first
var keywordsIteratorPoor = AdWordsApp.keywords()
.withCondition("AveragePosition > 4")
.forDateRange("LAST_WEEK")
.get();

while(keywordsIteratorPoor.hasNext()) {
var keyword = keywordsIteratorPoor.next();
// Increase the bid by 10%.
keyword.setMaxCpc(keyword.getMaxCpc() * 1.10);
}

//Then drop the ones doing really well (though I'm not sure why you'd want to do this...)

var keywordsIteratorGood = AdWordsApp.keywords()
.withCondition("AveragePosition < 2")
.forDateRange("LAST_WEEK")
.get();

while(keywordsIteratorGood.hasNext()) {
var keyword = keywordsIteratorGood.next();
// Decrease the bid by 10%.
keyword.setMaxCpc(keyword.getMaxCpc() * 0.9);
}
}

 

Jon

AdWords Top Contributor Google+ Profile | Partner Profile | AdWords Audits

View solution in original post

Re: Automated rules

Follower ✭ ☆ ☆
# 2
Follower ✭ ☆ ☆

In January 2012 Google raised the limit from 10 to 100... according to this link... http://www.ditii.com/2012/01/18/adwords-automated-rules-limit-raised-to-100-gets-undo-button-coming-...

Marked as Best Answer.
Solution
Accepted by Zee (Community Manager)
September 2015

Re: Automated rules

[ Edited ]
Top Contributor
# 3
Top Contributor

Hi M_D_Kelley, in such a situation I'd be looking at the new Scripting feature of Adwords.  This would seem ideal for doing what you want over many campaigns and groups and (off the top of my head) wouldn't be too difficult to script.  You could then schedule that script to run every week or fortnight or whatever.

 

You will need some working knowledge of JavaScript (or access to a tame developer with same) but I'd say it was ideal for this.

 

Something like this should do it...

 

//Increase/decrease bids based on position

function main() {
// Increase the poor ones first
var keywordsIteratorPoor = AdWordsApp.keywords()
.withCondition("AveragePosition > 4")
.forDateRange("LAST_WEEK")
.get();

while(keywordsIteratorPoor.hasNext()) {
var keyword = keywordsIteratorPoor.next();
// Increase the bid by 10%.
keyword.setMaxCpc(keyword.getMaxCpc() * 1.10);
}

//Then drop the ones doing really well (though I'm not sure why you'd want to do this...)

var keywordsIteratorGood = AdWordsApp.keywords()
.withCondition("AveragePosition < 2")
.forDateRange("LAST_WEEK")
.get();

while(keywordsIteratorGood.hasNext()) {
var keyword = keywordsIteratorGood.next();
// Decrease the bid by 10%.
keyword.setMaxCpc(keyword.getMaxCpc() * 0.9);
}
}

 

Jon

AdWords Top Contributor Google+ Profile | Partner Profile | AdWords Audits

Re: Automated rules

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Thank you.  I do have a programmer that said she could write the scripts I'd need so this could be ideal.  I'm also looking into whether I can group most of the ad groups into just a few groups that I would want to run the same rule on, and if so I may label the ad groups and use the label as a requirement on the rules - instead of needing rules for each ad group I may be able to run rules by just a handful of labels.  Then if I want to switch an ad group from one set of rule parameters to another, I need only to change the label on the ad group.

 

Again I appreciate the reply!

 

Mike

Re: Automated rules

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
I appreciate the information, thank you!

Re: Automated rules

Top Contributor
# 6
Top Contributor

Ah, beat me to it, I've just edited my original reply to show some code that should work (I've not tested it).

 

The rest sounds like a plan!

 

Jon

AdWords Top Contributor Google+ Profile | Partner Profile | AdWords Audits

Re: Automated rules

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭

Thanks again Jon, if I go the scripting route I'll post and let you know how it goes.