Hello team, i am trying to get the labels of my adwords campaigns through adwords script, but i get an error: "Field name Labels is invalid. Please check your spelling and casing." Until yesterday the script was running ok, but today is displays the above runtime error. What i am missing? Thank you in advance! The code i use is this: function main() { var CampaignIterator = AdWordsApp.campaigns().get();
while (CampaignIterator.hasNext()) { var campaign = CampaignIterator.next(); var label1 = campaign.labels().get(); while (label1.hasNext()) { var label = label1.next().getName(); //blah blah blah } } } -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.