campaign.labels Return and Export Empty Values

48 views
Skip to first unread message

Ping Shiuan Chua

unread,
Oct 15, 2021, 3:00:57 AM10/15/21
to Google Ads Scripts Forum
Hello,

After migrating to Google Ads Query Language,  the campaign.labels query selector is returning empty values in both the report.exportToSheet and row['campaign.labels'] method.

I can confirm that there are labels applied to the campaigns and it was exporting label IDs when I was using AWQL.

The snapshots attached show the empty label exports and empty label logs.

Kindly assist. Thanks.
Snapshot 2021-10-15 at 14.55.36@2x.png
Snapshot 2021-10-15 at 14.56.31@2x.png

Google Ads Scripts Forum Advisor

unread,
Oct 15, 2021, 5:40:01 AM10/15/21
to adwords...@googlegroups.com
Hi,

Thanks for reaching out. Harry here, from the Google Ads Scripts Team.

Kindly provide your Google Ads account ID, script's name and a shareable link to your spreadsheet if available so I can take a look closer at the issue you are encountering. You may send them here or privately via the reply to author option. Note that you may need to join the Google Group for you to use this option. If this option is not available at your end still, you may send it through our email (googleadsscr...@google.com) instead.

Looking forward to your reply.

Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2PJpJY:ref

Ping Shiuan Chua

unread,
Oct 18, 2021, 12:06:53 AM10/18/21
to Google Ads Scripts Forum
Hello Harry,

I just replied to the email googleadsscr...@google.com. Please check your inbox for the requested information.

Thank you.

Google Ads Scripts Forum Advisor

unread,
Oct 18, 2021, 5:42:47 AM10/18/21
to adwords...@googlegroups.com
Hi Ping,

I work along with Harry. Thank you for providing the requested information privately.

We've received reports from other users with regard to the script that are not working and this has been fixed by the team. Could you please try your script once again, then let me know how it goes? We would also recommend to create a new script instead.

Regards,
Google Logo
Teejay Wennie Pimentel
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2PJpJY:ref

Ping Shiuan Chua

unread,
Oct 18, 2021, 11:01:48 PM10/18/21
to Google Ads Scripts Forum
Hello,

I don't think you're referring to the right thing here.

I created a new script: DealEdge | Export to Sheets - NEW | DMD and ran the code since something happened to my previous one and it is now broken. It exported the same problem I've mentioned since my first message here.

Kindly refer to the snapshot and examine it closely. I've also shared this sheet with you guys so please check that out. You'll see that column E is empty, even though all campaigns are labelled.

That is the issue that I'm referring to, so could you advise on how we can extract the labels from the campaigns?

Any relevant guidance would really help. Thanks.

Snapshot 2021-10-19 at 10.58.38@2x.png

Google Ads Scripts Forum Advisor

unread,
Oct 19, 2021, 11:50:29 PM10/19/21
to adwords...@googlegroups.com
Hi,

Thanks for coming back and trying to recreate the script on your end. Allow me to raise this with the rest of the team for further investigation and get back to you once I have more information with regard to the issue. I would recommend using AWQL for now until we sort out the issue at hand.

In the meantime, please let me know how I can assist you.

Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2PJpJY:ref

Google Ads Scripts Forum Advisor

unread,
Dec 2, 2022, 5:25:18 AM12/2/22
to adwords...@googlegroups.com
Hi,

James here, also a member of the Google Ads scripts team.

Hope you're doing well. I would like confirm if you are still encountering the issue on your end? Looking forward to hearing from you.

Regards,
Google Logo
James Howell
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2PJpJY:ref

Ping Shiuan Chua

unread,
Dec 2, 2022, 10:31:49 AM12/2/22
to Google Ads Scripts Forum on behalf of adsscripts
Hi James,

Thanks for reaching out. We already stopped handling that account and the script.

Cheers.
--
PS Chua | Head of Technology
Contrasted


--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/aAisT8sN09U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/oBEpT000000000000000000000000000000000000000000000RM9E9X003SH61DAcSzWSIyGvehj_3Q%40sfdc.net.

Google Ads Scripts Forum Advisor

unread,
Dec 5, 2022, 4:17:59 AM12/5/22
to adwords...@googlegroups.com

Hello,

It’s sad to hear that you have stopped handling the script. However, if you still need anything else from us. We’re here to assist you.

Regards,

Reply all
Reply to author
Forward
0 new messages