// Copyright 2006 IDF Technologies, LLC
// by Konstantin Goudkov
// k@goudkov.com
//
// VERSION 2.0
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation; either version 2 of the License, or (at your option) any later
// version.
// 
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// 
// You should have received a copy of the GNU General Public License along with
// this program; if not, write to the Free Software Foundation, Inc., 51
// Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// 
// ==UserScript==
// @name		Adwords Creative ID Displayer
// @include		https://adwords.google.com/select/CampaignManagement*
// ==/UserScript==

var kgForm=document.getElementById("AdVariationTableActions");
if(kgForm){
	for(var i=0;i<kgForm.length;i++){
		kgElID=kgForm.elements[i].id;
		if(kgElID.indexOf("box_")==0){
			kgCreativeID=kgForm.elements[i].value;
			kgSpan=document.getElementById("navigationCreativeEdit"+kgCreativeID);
			kgSpan.innerHTML=kgSpan.innerHTML+"<br>"+kgCreativeID;
		}
	}
}

