Coder Social home page Coder Social logo

Comments (12)

ryancwalsh avatar ryancwalsh commented on April 25, 2024 4

@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.

jingping2015 avatar jingping2015 commented on April 25, 2024 1

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.

greggles avatar greggles commented on April 25, 2024

I would also like this.

from facebook-php-business-sdk.

monitotxi avatar monitotxi commented on April 25, 2024

+1

from facebook-php-business-sdk.

 avatar commented on April 25, 2024

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.

foxpcteam avatar foxpcteam commented on April 25, 2024

any news?

from facebook-php-business-sdk.

bjeavons avatar bjeavons commented on April 25, 2024

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.

allentsai avatar allentsai commented on April 25, 2024

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.

Mattin avatar Mattin commented on April 25, 2024

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.

neok avatar neok commented on April 25, 2024

@Mattin for creating AdSets, Ads, AdCreatives

from facebook-php-business-sdk.

ryancwalsh avatar ryancwalsh commented on April 25, 2024

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.

greggles avatar greggles commented on April 25, 2024

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)

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.