Can’t Apply Labels to Ad Groups in Google Ads Script (Video Campaigns)

35 views
Skip to first unread message

Lok Lam

unread,
May 27, 2025, 8:34:43 PM5/27/25
to Google Ads Scripts Forum

Hi everyone,

I’m trying to apply a label to an ad group while managing my video campaigns in Google Ads Scripts.

Here’s a simplified version of my approach:

if (adGroupLabel) {
  // Intending to apply label to ad group
  adGroup.applyLabel(adGroupLabel);  // This doesn’t work
}

For campaigns, I successfully use campaign.applyLabel(campaignLabel), but for ad groups, there doesn’t seem to be an equivalent applyLabel() method.

🔎 Questions:

  1. Is there a way to apply labels to ad groups (specifically for video ad groups) using Google Ads Scripts?

  2. If not, is switching to the Google Ads API (e.g., using AdGroupLabelService) the only option to achieve this?

I’d appreciate any guidance on this!

Thanks in advance,
Lok Lam

Google Ads Scripts Forum Advisor

unread,
May 28, 2025, 12:18:54 AM5/28/25
to adwords...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads Scripts Support team.

I would like to inform you that, you are able to apply labels for the ad groups specific to video campaigns. I would suggest you to refer to the "AdsApp.​VideoAdGroup" documentation to use the "applyLabel" method on the video ad groups. You can select the required video ad groups by using "AdsApp.​VideoAdGroupSelector" and further you can apply the label during the ad groups iteration.

Feel free to get back in case of any further issues by providing us with the following:
  • Google Ads account ID/CID
  • Name of the script
You can share the requested details via Reply privately to the author option or a direct private reply to this email.

Thanks,
 
Google Logo Google Ads Scripts Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-28 04:18:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qYNTB:ref" (ADR-00308681)



Reply all
Reply to author
Forward
0 new messages