仅使用PHP从帐户中获取已暂停的广告系列 [英] Get only paused campaigns from an account using PHP
问题描述
您好,
我试图仅使用PHP获取帐户暂停的广告系列。
I am trying to get only the paused campaigns of an account using PHP.
有没有人能告诉我一些光?
Could anyone show me some light?
提前致谢。
MasudMoni。
MasudMoni.
推荐答案
您好。
您可以使用广告系列管理获取所有广告系列( GetCampaignsByAccountId )或批量( DownloadCampaignsByCampaignIds )
API。然后,在检索广告系列后,您可以按状态过滤结果。使用报告服务( SubmitGenerateReport ) 您可以通过 CampaignPerformanceReportFilter ,已下载的效果数据已经过滤到
,仅包含具有请求状态的广告系列。
You can get all campaigns with the Campaign Management (GetCampaignsByAccountId) or Bulk (DownloadCampaignsByCampaignIds) API. Then after retrieving the campaigns you can filter the results by status. With the Reporting service (SubmitGenerateReport) you can set up a status filter via the CampaignPerformanceReportFilter, and the downloaded performance data will already be filtered to only include the campaigns having the requested status.
我希望这有帮助!
这篇关于仅使用PHP从帐户中获取已暂停的广告系列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!