Download the PHP package puge2016/amazon-advertising without Composer
On this page you can find all versions of the php package puge2016/amazon-advertising. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download puge2016/amazon-advertising
More information about puge2016/amazon-advertising
Files in puge2016/amazon-advertising
Package amazon-advertising
Short Description Amazon Advertising API v2 Client Library
License MIT
Informations about the package amazon-advertising
Synopsis
概述
easy-amazon-advertising 是一个开源的非官方的亚马逊广告业务sdk。
环境需求
easy-amazon-advertising 的安装非常简单,因为它是一个标准的 Composer 包,这意味着任何满足下列安装条件的 PHP 项目支持 Composer 都可以使用它。
安装
使用composer安装
说明
亚马逊广告业务目前的划分为三种:
- Sponsored Display 推广展示广告
- Sponsored Products 商品推广广告
- Sponsored Brands 品牌推广广告
亚马逊广告的api文档也大体是如此,针对此种情况本sdk也将模块做了类似的划分。
下面是sdk广告业务模块的划分:
- SponsoredProducts
- SponsoredDisplay
- SponsoredBrands
- BaseService
特殊的 BaseService 模块包含了亚马逊广告api中未做划分的部分,包括AccessToken、Portfolios、Profiles等。
BaseService
入门
$app 在所有相关BaseService的文档都是指 Factory::BaseService 得到的实例,就不在每个页面单独写了。
RefreshToken
您可以使用RefreshToken方法在访问令牌到期时刷新访问令牌。新的访问令牌将在请求的响应中。
Profiles
Marketplaces 市场通过位置为各个商户分配了特定的配置属性信息。包含countryCode, currencyCode, timezone等。profileID在调用api接口时在header(Amazon-Advertising-API-Scope)中传入。
listProfiles
设置profileId
Portfolios 广告组合
-
listPortfolios 广告组合列表
-
listPortfoliosEx 广告组合列表扩展字段
-
getPortfolio 广告组合详情
-
getPortfolioEx 广告组合扩展字段
-
createPortfolios 创建广告组合(批量)
- updatePortfolios 更新广告组合(批量)
SponsoredDisplay
入门
设置profileId
Campaigns 广告活动
-
getCampaign 广告活动详情
-
getCampaignEx 广告活动详情(支持扩展字段展示)
-
createCampaigns 创建广告活动
-
updateCampaigns
-
archiveCampaign 归档广告活动
-
listCampaigns
- listCampaignsEx
report
- requestReport
- getReport
- downloadReportData
SponsoredDisplay 赞助展示业务
campaigns
- getCampaign
- getCampaignEx
- createCampaigns
- updateCampaigns
- archiveCampaign
- listCampaigns
- listCampaignsEx
groups
- getAdGroup
- getAdGroupEx
- createAdGroups
- updateAdGroups
- archiveAdGroup
- listAdGroups
- listAdGroupsEx
product_ads
- getProductAd
- getProductAdEx
- createProductAds
- updateProductAds
- archiveProductAd
- listProductAds
- listProductAdsEx
report
- requestReport
- getReport
- downloadReportData
SponsoredProducts 赞助商品业务
bidding
- getAdGroupBidRecommendations
- getKeywordBidRecommendations
- createKeywordBidRecommendations
- getBidRecommendations
campaigns
- getCampaign
- getCampaignEx
- createCampaigns
- updateCampaigns
- archiveCampaign
- listCampaigns
- listCampaignsEx
groups
- getAdGroup
- getAdGroupEx
- createAdGroups
- updateAdGroups
- archiveAdGroup
- listAdGroups
- listAdGroupsEx
keywords
product_ads
- getProductAd
- getProductAdEx
- createProductAds
- updateProductAds
- archiveProductAd
- listProductAds
- listProductAdsEx
product_ads
- getProductAd
- getProductAdEx
- createProductAds
- updateProductAds
- archiveProductAd
- listProductAds
- listProductAdsEx
product_targeting
- getTargetingClause
- listTargetingClauses
- getTargetingClauseEx
- listTargetingClausesEx
- createTargetingClauses
- updateTargetingClauses
- createTargetRecommendations
- getTargetingCategories
- getRefinementsForCategory
- getBrandRecommendations
report
- requestReport
- getReport
- downloadReportData
All versions of amazon-advertising with dependencies
guzzlehttp/guzzle Version ^7.0
pimple/pimple Version ~3.0
monolog/monolog Version ^1.22 || ^2.0
ext-zlib Version *