按广告系列ID获取广告系列标准 [英] Get Campaign Criterion By Campaign ID

查看:94
本文介绍了按广告系列ID获取广告系列标准的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个场景,我需要删除广告系列的所有广告系列标准(目标)。 但是在检查API时,我没有看到任何api调用会返回广告系列的所有广告系列标准ID,有没有办法获得它,所以我可以通过API将
删除它?

解决方案

使用Campaign Management API,您可以调用
GetCampaignCriterionsByIds
并将CampaignCriterionIds保留为空/空。您仍然需要多次调用该操作,即每个条件类型调用一次。 


使用批量API,您可以
download
&absp; CampaignTargetCriterions ,将每个条件状态设置为已删除,并上传文件以应用删除操作。


我希望这有帮助!


hi, i have a scenario where i need to delete all the campaign criterion (target) of a campaign.  But upon checking the API, i don't see any api call that would return all the campaign criterion ids for a campaign, is there a way to get it so i can delete it via the API?

解决方案

With the Campaign Management API you can call GetCampaignCriterionsByIds and leave CampaignCriterionIds null/empty. You'll still need to call the operation multiple times i.e., once per criterion type. 

With Bulk API you could download the CampaignTargetCriterions, set each criterion status to Deleted, and upload the file to apply the delete operations.

I hope this helps!


这篇关于按广告系列ID获取广告系列标准的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆