Wednesday, December 5, 2012

Automating Maintenance Tasks with AdWords Scripting Part 3

In our final installment of automating the monthly maintenance tasks found in AdWords for Dummies with AdWords scripting, let's end with the end of the month clean up of your account.

Declutter your account by shedding keywords that don't have any conversions.


Similar to the previous post, you will need to have set up conversion tracking for all of this to work.  We can actually use a variation of the previous script to accomplish this.  Really we are doing the same thing just increasing bids instead of decreasing them.

//-----------------------------------
// Pause Keywords That Are Not Performing
// Created By: Russ Savage
// FreeAdWordsScripts.com
//-----------------------------------
function main() {
  var THE_VALUE_OF_ONE_CONVERSION = 10;
  var DECREASE_BIDS_BY_PERCENTAGE = .5;
  
  var kw_iter = AdWordsApp.keywords()
    .withCondition("Status = ENABLED")
    .get();
  
  while(kw_iter.hasNext()) {
    var kw = kw_iter.next();
    var kw_stats = kw.getStatsFor("LAST_30_DAYS");
    var cost = kw_stats.getCost();
    var conversions = kw_stats.getConversions();
    if(conversions == 0) {
      if(THE_VALUE_OF_ONE_CONVERSION * 5 > cost) {
        kw.pause();
      }
      else if(THE_VALUE_OF_ONE_CONVERSION * 2 > cost) {
        kw.setMaxCpc(kw.getMaxCpc() * (1-DECREASE_BIDS_BY_PERCENTAGE)); 
      }
    }else{
      //no conversions on this keyword
      //we will deal with that later
      continue;
    }
  }
}

Thanks,
Russ

62 comments:

  1. Replies
    1. toast, cook, broil & bake a variety of other foods. Browse our wide selection of best toaster ovens from top brands. The best toaster oven for Your Kitchen. The Best Toaster Oven Buying Guide With Reviews 2021.Best Air Fryer Toaster Ovens Consumer Reports Reviewed. Enjoy! #1. Breville BOV900BSS Smart Oven

      Delete
    2. Best Overall Knife Set: Mercer Culinary Genesis 6-piece Forged Knife Block Set. Best Budget-Friendly Knife Set. the best kitchen-knife sets on best kitchen knife sets, according to reviews, including the best German-made knives, the best self sharpening knives.

      Delete
  2. Looking for the best writing service online but lost in the number of fake reviews and don’t know who to believe? We at ScamFighter publish only genuine reviews on all writing service from the web. Look at the last review on https://scamfighter.net/review/boomessays.com

    ReplyDelete
  3. ترجمه متون و مقالات رشته پزشکی به علت تخصصی بودن اصطلاحات آن فرایندی سخت و نیازمند توانایی بسیار بالا درامر ترجمه است و مترجمان متون عمومی نمیتوانند متون پزشکی را به خوبی ترجمه کنند. وب سایت ترجمه آنلاین با کادری حرفه ای از مترجمان باسابقه کشور آماده است تا شما را در مسیر ترجمه تخصصی پزشکی مقالات شما یاری نماید.

    ReplyDelete
  4. Recently a friend of mine showed me this site https://bestwritingservice.com/essays/Literature/the-death-of-freedom.html. He uses it when he needs help with learning. I use it when I can't write an article by myself. I can order anything there on any topic.

    ReplyDelete
  5. The advantages incorporate offers and limits. paracord watch supplier These days, most online retailers offer incredible limits to their normal clients.

    ReplyDelete
  6. This is very good post i have read i must appreciate to you to written this for us
    3g 4g wifi routers

    ReplyDelete
  7. The life forms as human are multicellular. The cell is some self - contained and self-keeping up in supplements. The supplements into energy complete particular capacity.
    molecular sieve supplier

    ReplyDelete
  8. My friend showed me this site https://essays-writers.com/. It is very useful for my studies. I can buy there an essay or article on any topic.

    ReplyDelete
  9. At the point when you first call your back up plan to utilize your breakdown cover, a professional will endeavor to fix your vehicle where it is.IOT hardware devices

    ReplyDelete
  10. Do not have time to do all the written work? I offer you a way out of this situation. https://primedissertations.com/capstone-help/ help in all areas of writing!

    ReplyDelete
  11. I learned absolutely everything about my question when I read this post, thanks to the author for the detailed description. I wrote my review on the essay services reviews , you can go in and read. Thank you very much for your attention and your time.

    ReplyDelete
  12. This is a very informative blog that has related to "Automating Maintenance Tasks With AdWords Scripting" and around one week I was searching Script Writing related to Automating Maintenance and I found this content very useful for me.

    ReplyDelete
  13. How to get money off Cash App without card on a PDA starting late? Will keep up for help.

    Cash App makes your trade especially direct from your removed. In like way, to perceive get money off Cash app without card you need to ensure that you didn't endeavor to use any pre-stacked card there. Further, you need to move into the Cash out tab from the Cash App concordance to move the all out without a card.

    ReplyDelete
  14. Canon printer in error state due to ghosting inconvenience? Arrive at help group for help.

    Ghosting issue can raise a great deal of ruckus and that may likewise prompt Canon printer in error state circumstance. Along these lines, to manage such a circumstance you can utilize the assistance of client care by dialing the assist group with numbering and looking for help. You can likewise get help by watching tech recordings on Youtube and utilizing the stunts introduced there.

    ReplyDelete
  15. How does the hp printer support team help to fix not printing issue?

    On the off chance that you get that your hp printer not printing, at that point you ought to guarantee that gadgets associated with one another appropriately, and the organization or link you use to interface these gadgets are ordinary. Alongside this, attempt to restart your gadget and furthermore invigorate the page for a snappy arrangement. Furthermore, on the off chance that you actually confronting the equivalent, at that point arrive at Hp printer support

    ReplyDelete
  16. On 25 March 2001, Arlo Logue had been born in the U.S. Yet her name was changed into Jade Logue after a certain time. She is born Finn Logue, an older brother who has grown up in his parents ‘ lovely house. Donal Logue is the father’s name, and Kasey’s mother leads the way. Jade Logue

    ReplyDelete
  17. Financial institutions are a big necessity in society, especially when they are locally owned and have great benefits. Their focus is to provide benefits and better life-quality to the citizens of the city or state. Financial institutions have a surprisingly long history, with some dating back to the 1960s and beyond. There are many examples of some incredible financial institutions like mission federal and more mission federal

    ReplyDelete

  18. Execute working methods for Cash App Dispute Payment process:

    Cash app users must learn to execute the working methods for the Cash App Dispute Payment process. The technical platform is prone to tech issues every time. Thus is important to stay active to carry the steps carefully so that unexpected issues may not appear. Cash app users may also approach to have words with the experienced professionals who are involved data and night to deliver the best service to their customers.

    ReplyDelete
  19. I am really very happy to visit your blog. Now I am found which I actually want. Thanks a lot for sharing a piece of wonderful information which I am looking for a longer period of time.

    webroot.com/safe
    webroot.com/safe

    ReplyDelete
  20. I was working on promoting my brand, so I had to create advertisements which I would post through Google to hit those pages which would have the most traffic. While on this venture, I came across Adword which was promoting an ad which stated " do my assignment cheap from the best writers" and as it seemed catchy and interesting to me, I took the bait and the fish I got was very good, and by that I meant good grades]

    ReplyDelete
  21. Glitch during FB settings clicks? Contact Facebook phone number.

    Concerning a glitch in the FB settings click, by then you should rapidly utilize the contact Facebook phone number in the event that you have an issue to interface with the help assembling so you're set up to execute the exploring strategies or you can look at some specific assistance videos to get you out.

    ReplyDelete
  22. Fix Cash Pin Issue Via Cash App Customer Service Phone Number

    If you are one of the cash app account holders who are facing some problems with your Cash App Pin, you should simply contact the tech specialists. Here, they will provide you with the best remedy to handle your problems and hurdles. To approach them, you should make use of Cash App Customer Service Phone Number.

    ReplyDelete
  23. Significance of Cash app customer service number:

    Cash app users need to understand the importance of the Cash app customer service number . Thus is considered to be the most authentic way to connect to the support team they have a quick plan to manage the complexities that appear with the cash app. The service number of the cash app has been established to share the problems with deployed customer executive expert at cash app solution.

    ReplyDelete
  24. Nice blogs. Are you also searching for cheap nursing writing company? we are the best solution for you. We are best known for delivering quality essay writing services to students without having to break the bank

    ReplyDelete
  25. Your blogs are great. Are you also searching for nursing capstone writing project? we are the best solution for you. We are best known for delivering quality nursing capstone writing services to students without having to break the bank

    ReplyDelete
  26. Good blog. Keep sharing. I love them Are you also searching for Cheap assignment writers? we are the best solution for you. We are best known for delivering nursing writing services to students without having to break the bank

    ReplyDelete
  27. Best information if Is Gmail down
    Every day more thousands of user complain and looking for Is Gmail down issues. Gmail is the most popular social media platform which offers a hung range of amazing features. Due to its usage, billions of users are using this application and this is why sometimes, Gmail shows Are Gmail down issues.

    ReplyDelete
  28. How Does Facebook Report a problem After A Complaint?
    Don’t worry if you're facing any issue together with your Facebook account! All you've got to try to to is to file a complaint regarding the issues you're affected by . Besides, you'll also do Facebook Report a problem and fetch the specified troubleshooting assistance, right from the comfort of your home.

    ReplyDelete
  29. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man,Keep it up

    mcafee.com/activate
    mcafee.com/activate

    ReplyDelete
  30. Thanks for posting such an interesting post. I truly like it so much.
    www.trendmicro.com/bestbuypc

    ReplyDelete
  31. As we all know the Webroot Protection software provides the highest-class protection to professional and private use.
    www.webroot.com/safe

    ReplyDelete
  32. Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing.
    webroot.com/safe

    ReplyDelete
  33. Excellent and nice post. This is such a great resource that you are providing and you give it away for free. I love seeing that understands the value. I’m glad to have found this post as its such an interesting one! I have also something very interesting for you.
    trendmicro.com/downloadme

    ReplyDelete
  34. Outstanding article! I want people to know just how good this information is in your article. Your views are much like my own concerning this subject. I will visit daily your blog because I know. It may be very beneficial for me.
    www.webroot.com/safe

    ReplyDelete
  35. Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! keep doing awesome.
    www.trendmicro.com/downloadme

    ReplyDelete
  36. Wonderful article! Beautifully explained everything. Thanks for sharing this article. You are doing great work Keep it up!
    aol desktop gold download

    ReplyDelete
  37. Great blog here! Additionally your website rather a lot up fast! What web host are you the usage of? Can I get your affiliate hyperlink on your host? I wish my web site loaded up as fast as yours lol| for More Details Click Here:- Change Verizon Email Password

    ReplyDelete
  38. Very informative post, your post unique. Thanks for sharing.
    www.trendmicro.com/bestbuypc

    ReplyDelete
  39. This geek squad Webroot antivirus protects devices from Trojans, Worms, phishing attacks, and Adware once you activate it through www.webroot.com/safe .
    www.webroot.com/safe

    ReplyDelete

  40. I read a lot of stuff and I found that the way of writing to clarifying that exactly want to say was very good so I am impressed and I like to come again in future. It was a very good post indeed.
    I read a lot of stuff and I found that the way of writing to clarifying that exactly want to say was very good so I am impressed and I like to come again in future. It was a very good post indeed.

    ReplyDelete
  41. Very interesting and it caught my attention. I do want a website that is easy to manage. Bookmarking your article which will probably be my guide. Thank you very much.
    by traffici5 is the Digital marketing company in coimbatore

    ReplyDelete
  42. I just wanted to say that I love every time visiting your wonderful post! Very powerful and have true and fresh information. Thanks for the post and effort! Please keep sharing more such a blog. for more details click here:- HP Smart App Download

    ReplyDelete
  43. To complete your Canon ij printer setup with several connectivity options like WiFi, USB, Bluetooth, and others.
    ij.start canon , ij.start.canon ,Cox webmail , webroot.com/secure , office.com/setup

    ReplyDelete
  44. Skype application is used worldwide by individuals and businesses for messaging, video calls, sharing files, and more. It's available for desktop, mobile phones, or tablet , skype login , Paypal login , canon.com/ijsetup/mg2522 , norton.com/setup

    ReplyDelete
  45. Microsoft 365 plans for personal and home provides robust Office desktop apps including Word, PowerPoint, Excel, Outlook, and OneNote.
    microsoft365.com/setup | microsoft365.com/setup allows you to download and activate the Microsoft Office setup. Go through the canon.com/ijsetup webpage,e, click Set Up and start the Canon ij printer setup process.

    ReplyDelete
  46. Defend against the unknown threats and proceed for Trend micro download with www.trendmicro.com/activate having Advanced Machine Learning Technology.If you have a Norton product key norton.com/setup and download Norton setup. Go through the 123.hp.com/laserjet provides wired and wireless.

    ReplyDelete
  47. McAfee antivirus on any device. Once you visit the retail store like Walmart and Best buy, they issue you a retail card that holds McAfee. mcafe.com/activate , www.hp.com/123 webroot.com/geeksquad webroot.com/secureinstall , macfee.com/activate
    mcafee.com/activate
    install garmin express

    ReplyDelete
  48. Next time whenever you'll go to microsoft365.com/setup you won't require to enter the product key. As the product key is activated, simply enter the microsoft365.com/setup | www.microsoft365/setup account to install Microsoft 365 apps. microsoft365.com/setup | microsoft365.com/setup , All your transactions are secured with a Paypal Login | Paypal Login , Office 2019 software pack includes Word, Excel, and PowerPoint. office.com/setup home & business 2019 , Visit: betwinner login and login to your bet365 using your email id or username and password. Create an account and enter skype login credentials to start or host a video call. skype logins

    ReplyDelete
  49. Microsoft 365 or Office on your computer. If you are using any other Microsoft service such as OneDrive, Outlook, Skype, or Xbox Live, it means you already have an account that you can use for any Microsoft activity.
    Microsoft365.com/setup
    Microsoft365.com/setup
    www.microsoft365/setup
    Microsoft365.com/setup
    Microsoft365.com/setup
    www.microsoft365/setup

    ReplyDelete
  50. To activate Trend micro, make sure you already have an activation code that you’ll probably enter on the www.trendmicro.com/activate

    ReplyDelete
  51. Seeking to hire online DNP project editors? Click here https://www.capstonewritingservices.net/dnp-capstone-project-editing-help

    ReplyDelete
  52. Yes everybody should be aware of the donation and doing assignment help online with GoAssignmentHelp and the things which shouldn't be ignored and I like the ways it is being presented with the people of assignment help Brisbane people. The Australian should be aware of the donation thing and it is being known to everyone regarding the faced forward of assignment help Adelaide service is must these days.

    ReplyDelete