hackzilla/bing-api

此包已被废弃且不再维护。作者建议使用 cpcstrategy/bing-ads-sdk-php 包。

Bing Ads 网络服务类

9.0.0 2013-12-11 12:16 UTC

This package is auto-updated.

Last update: 2022-02-01 12:29:11 UTC


README

此下载包含Bing Ads网络服务的PHP类文件,并支持composer自动加载。

构建示例

例如,下载包含报告类的PHP文件后,您可以使用以下片段将报告类包含到您的应用程序中。

// Specify the BingAds\Reporting objects that will be used.
use BingAds\Reporting\SubmitGenerateReportRequest;
use BingAds\Reporting\KeywordPerformanceReportRequest;
use BingAds\Reporting\ReportFormat;
use BingAds\Reporting\ReportAggregation;
use BingAds\Reporting\AccountThroughAdGroupReportScope;
use BingAds\Reporting\CampaignReportScope;
use BingAds\Reporting\ReportTime;
use BingAds\Reporting\ReportTimePeriod;
use BingAds\Reporting\KeywordPerformanceReportFilter;
use BingAds\Reporting\DeviceTypeReportFilter;
use BingAds\Reporting\KeywordPerformanceReportColumn;
use BingAds\Reporting\PollGenerateReportRequest;
use BingAds\Reporting\ReportRequestStatusType;
use BingAds\Reporting\KeywordPerformanceReportSort;
use BingAds\Reporting\SortOrder;
 
// Specify the BingAds\Proxy object that will be used.
use BingAds\Proxy\ClientProxy;

$report = new AccountPerformanceReportRequest(); 
$report->Format = ReportFormat::Xml; 
$report->ReportName = 'My Account Performance Report'; 
$report->ReturnOnlyCompleteData = false; 
$report->Aggregation = ReportAggregation::Yearly;

源代码文件

  • AdIntelligenceClasses.php - 包含广告智能服务的类。
  • BulkClasses.php - 包含批量服务的类。
  • CampaignManagementClasses.php - 包含活动管理服务的类。
  • ClientProxy.php - 包含设置服务头和进行服务调用的代理类。
  • CustomerBillingClasses.php - 包含客户账单服务的类。
  • CustomerManagementClasses.php - 包含客户管理服务的类。
  • OptimizerClasses.php - 包含优化服务的类。
  • ReportingClasses.php - 包含报告服务的类。

更多信息

有关Bing Ads版本9网络服务更新的信息,请参阅MSDN上的发行说明:http://msdn.microsoft.com/en-US/library/bing-ads-overview-release-notes(v=msads.90).aspx

下载自:http://code.msdn.microsoft.com/PHP-Classes-for-Bing-Ads-c9762281