-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting Call to undefined method Hborras\TwitterAdsSDK\TwitterAds\TailoredAudience\TailoredAudience::getAccount() #35
Comments
Hi @garima-goyal , Sorry for the inconvence. TailoredAudience is fixed now in new release https://github.com/hborras/twitter-php-ads-sdk/releases/tag/v1.0.4 Please upgrade to the new version |
Hi @hborras, Thanks a lot for the quick response. |
getting "Cannot use object of type Hborras\TwitterAdsSDK\TwitterAds\Analytics\Job as array in /home/garimag/Desktop/twitter-ads-api/twitter-php-ads-sdk-latest/examples/analytics.php on line 79" now |
Hi, Could you paste your analytics.php code? It will be helpfull for detect the problem. Thanks :D |
yes sure I am using the example code you shared in the release. getting error in the below statement $stats = $stats[0]->id_data[0]->metrics; Thanks in advance |
Hi @hborras, Can you also help me with this in Account.php class. public function getTailoredAudiences($id = '', $params = []) |
Of course, let me check everything and I'll come back |
I've updated the library with some changes. 1 - I've added more example, analytics.php was incomplete because I've mixed async and non-async request. Now there are two examples. One for async request and another one for non-async request. 2 - I've modified Account.php class in order to suppor getTailoredAudiences function. Check new version of the lib. Hope this will help you! Thanks! |
Hi @hborras, Thanks a lot for the help I will try with this and will ask for the help if needed.:P |
Hi @hborras, Can you please tell me if there is any way to fetch the analytics of the tailerored audience (given audience id ) with the attached campaign (USING YOUR LIBRARY).. Lets say I have a tailored audience named "test audience". I have shared this audience with n number of advertiser. Now I want to pull stats/anlytics of the campaigns which are using my audience (test audience) with the account id in the response. I couldn't find any solution for the above problem in twitter ads api document. Please help if possible. Thanks in advance |
There is no function like getAccount() in class TailoredAudience.
Please help asap
Thanks in advance
The text was updated successfully, but these errors were encountered: