Re: Script to pause adgroup using html content. Error because: getDestinationUrl() is deprecated

44 views
Skip to first unread message
Message has been deleted

Diego Gaona

unread,
Jul 3, 2015, 4:15:03 PM7/3/15
to adwords...@googlegroups.com
Hi,

I find a solution, i changed the line:
      var AdgkwUrl = adGroupKwIterator.getDestinationUrl();
For:
var AdgkwUrl = [adGroupKwIterator.urls().getFinalUrl()];

But i had some errors with this line:
AdgkwUrl = AdgkwUrl.replace(/\{[0-9a-zA-Z]+\}/g,'');
Then i removed it, i think is not a problem.






Reply all
Reply to author
Forward
0 new messages