Comments (12)
@paulbain Can you or someone please point us in the right direction? This has been open since Mar 2015. I think batch requests in the PHP Ads SDK would be great. Thanks!
from facebook-php-business-sdk.
Hi, it seems like this issue has been open for more than a few months now. We have made many changes in the SDK since then, including releasing a new version. If you can repro your specific issue with the latest version of the SDK, please create a new issue or comment here with further details.
from facebook-php-business-sdk.
I would also like this.
from facebook-php-business-sdk.
+1
from facebook-php-business-sdk.
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.
from facebook-php-business-sdk.
any news?
from facebook-php-business-sdk.
I didn't see it before but v2.5 of the SDK supposedly supports batch requests: https://developers.facebook.com/docs/php/howto/example_batch_request
from facebook-php-business-sdk.
Just running into this with our integration, would be nice to have. For now, we might be writing our own curl wrapper...
https://developers.facebook.com/docs/marketing-api/batch-requests/v2.5
from facebook-php-business-sdk.
I think batch requests are already in, I'm using it from v2.4 (for ads and insights download/import). For what exactly you want them?
from facebook-php-business-sdk.
@Mattin for creating AdSets, Ads, AdCreatives
from facebook-php-business-sdk.
Is it true that facebook-php-ads-sdk doesn't support batch requests? (That's what http://stackoverflow.com/a/32530905/470749 says.)
Then why does the Ad object have a $pending
param in public function getInsights(array $fields = array(), array $params = array(), $pending = false)
? What does that allow?
I really just want to be able to grab insights for all active ads (across all campaigns within an account). The Insights edge doesn't seem to allow filtering by ads status, so I thought my approach would be to run 1 query to grab the IDs of all active ads and then run a batch of Insights queries (get the insights for each ad).
What would you recommend?
from facebook-php-business-sdk.
Not sure if this was a bulk close or if your comment was specific to this issue. I did a quick search and the page on async requests linked in the opening comment now has examples of using AdAsyncRequestSet, so it seems this is indeed fixed.
Thanks for your work!
from facebook-php-business-sdk.
Related Issues (20)
- getDefaultRequestHeaders() is misspelled as getDefaultRequestHeaderds() HOT 1
- PHP 8.1 Deprecation HOT 4
- syntax error, unexpected '|', expecting ';' or '{' HOT 4
- Union types are only allowed since php8 HOT 2
- Exception: field 'id' is required Error HOT 2
- شخص ما أخترق حسابي الشخصي
- Normalizer.php strlen() must be of type string Problem
- Facebook Multi-Language Ads
- Syntax error in FB version v16.0.0 HOT 1
- The AdAccountFields enum does not currently implement the ACCOUNT_STATUS field. HOT 1
- Exception thrown without a stack frame in Unknown on line 0 HOT 1
- How to create a AAA advertisements above version 17
- Fix package installation instructions in README file
- Fff HOT 1
- error
- ad creative Url Tracking Params Update HOT 1
- OpenSSL SSL_connect: Connection reset by peer in connection to graph.facebook.com:443 Error
- Static singletons used everywhere HOT 3
- Incorrect PHPDoc types HOT 2
- Not able to access Business User Insights for multiple users using the Instagram API.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-php-business-sdk.