GoogleAPI-Adwords Labels

本文介绍如何通过标签有效地管理和区分广告系列、广告组、关键词等元素,包括创建、分配及使用标签进行筛选的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

标签-有效分类广告系列、广告组,广告、关键词

可用于:

1.广告系列只用于一年中的某些时段

2.加了一些新的关键字进广告组,想比较和原关键字的效果

3.一个用户有多个广告系列,用标签来区分广告系列集合

4.Your application needs to mark certain objects as processed, audited, highlighted, etc.


创建标签

  1. Create a TextLabel object.
  2. Set its name.
  3. Wrap the TextLabel in a LabelOperation and send it to LabelService.mutate.
分配标签  Assign labels to your campaigns, ad groups, criteria, or ads

以广告系列为例:

CampaignService.mutateLabels needs one or more CampaignLabel objects, each of which consists of:

  • labelId - The ID of a label
  • campaignId - The ID of a campaign
Create a  CampaignLabel  object for each label/campaign pair you want to add, wrap it in a CampaignLabelOperation  with the  ADD  operator, and send it to  CampaignService.mutateLabels .

用标签获取对象

SELECT Id, Name, Labels
WHERE
Labels CONTAINS_ANY [123456, 789012, 345678]
tips:

1.filter不要用label name,用label ID

2.只支持CONTAINS_ALLCONTAINS_ANY, and CONTAINS_NONE.


在报表中使用标签


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值