Giter VIP home page Giter VIP logo

marketing-api-php-sdk's People

Contributors

craryprimitiveman avatar paff avatar tencentaddeveloper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

marketing-api-php-sdk's Issues

$tads->sendBatchRequest 批量创建的时候,返回设置使用数组报错

$tads->sendBatchRequest 批量创建的时候,返回设置为数组返回报错。操作查询有成功创建

public function sendBatchRequest($accountId, $batchRequest) { $batchRequestSpec = $this->buildBatchRequest($accountId, $batchRequest); $data = $this->app->batchRequests()->add([ 'batch_request_spec' => $batchRequestSpec, 'account_id' => $accountId, ]); $responses = $data->getList(); $batchHandler = BatchHandler::getInstance(); return $batchHandler->getResponses($batchRequest, $responses); }

Call to a member function getList() on array 错误位置 FILE: C:\phpStudy\domains\Spider\www\ThinkPHP\Library\Vendor\TencentAds\tencent-ad\marketing-api-php-sdk\src\TencentAds\Tools\BatchRequest.php  LINE: 31

内存溢出

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in */vendor/tencent-ad/marketing-api-php-sdk/src/TencentAds/Model/TargetingTagReportsGetListStruct.php on line 1954

phpdoc return type 的问题

/**
 * Gets accountType
 *
 * @return \TencentAds\Model\AccountType
 */
public function getAccountType()
{
    return $this->container['accountType'];
}

fiNZY8.png

whoops.jpg

上面代码注释中的 @return \TencentAds\Model\AccountType 表示返回的类型为该类对象,但实际返回的是 string 类型的枚举数据,在使用 PHPStan 等代码约束的工具时,整段代码全都是黄色,而且 git 限制了警告过量无法提交,所以希望贵团队将注释 @return 给去除,可以使用 @returnModel@returnEnum 这种注释名替换一下,希望尽快解决一下这个问题,感谢🙏

guzzlehttp依赖问题

tencent-ad/marketing-api-php-sdk v1.1.2 requires guzzlehttp/guzzle ^6.2
目前在用7.2 guzzle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.