0
我使用cj web服务搜索使用php soap的产品。CJ webservice问题
using advertiserid 2288710(TicketNetwork)。已与此广告客户建立关系。虽然使用这个PHP代码,我得到总成绩= 0
$developerKey = "my developer id here";
$websiteId = "my web site id here";
$ini = ini_set("soap.wsdl_cache_enabled","0");
try {
$client = new SoapClient("https://product.api.cj.com/wsdl/version2/productSearchServiceV2.wsdl", array('trace'=> true));
$results = $client->search(array("developerKey" => $developerKey,
"websiteId" => $websiteId,
"advertiserIds" => '2288710',
"keywords" => 'lady gaga',
"serviceableArea" => 'US',
"sortBy" => 'price',
"sortOrder" => 'asc',
"maxResults" => 10));
// The entire response structure will be printed in the next line
echo "<pre>";
print_r($results);
如果假设我使用“advertiserIds” =>“”,它会返回整个结果,但我只需要该客户的结果。我也尝试过“加入”关键字,因为这也没有结果。
请任何人帮我弄清楚发生了什么事。
谢谢
雅在cj会员区显示已激活。 – stv 2011-03-03 09:55:29