Hi Sigurd,
Thanks for your suggestion. However, I am afraid that this script will get and log only the campaigns who has the '
Christmas promotions' label applied to it. The reason is that Louis have filtered the label with '
.withCondition('Name = "Christmas promotions"')' and access the campaigns using the campaigns() method. With this explanation, it is not needed to add '
.withcondition()' to the campaignIterator.
Hi Louis,
Thanks for posting your concern.
Upon checking the script, I can see that it should indeed return only all the campaigns associated with the '
Christmas promotions' label. With this, so that I can further investigate, could you provide the customer ID and the name of script where you encountered the issue? You can provide the requested information via
Reply privately to author option?
Regards,
Ejay
Google Ads Scripts Team
![](https://ci5.googleusercontent.com/proxy/ouV9cyzeleuB-56cjLorUAr5bh45QZhIWi-3Hlu5PatZ98X3Yx5hpSI4_kPrDpc-ymU-WvSuAysW0r7qYJh1dvROUr_awL5wVmHoHARt-9DQc2EhaHoxpMRgafehrvEk2QoQhaMtZrgd-qCB-_SEeEYZ1uRIGIWe3Q37APmNos5lOAzrhw=s0-d-e1-ft#http://google-dev-relations.my.salesforce.com/servlet/servlet.ImageServer?oid=00D1U000001174p&esid=0181U000002lUcb)
ref:_00D1U1174p._5001USwnNZ:ref