facebook-python-business-sdk icon indicating copy to clipboard operation
facebook-python-business-sdk copied to clipboard

remote_read with batch, response after execute is missing the requested fields.

Open parander opened this issue 12 years ago • 2 comments

Assume s,t are AdGroup objects with valid id's already set and that b is a FacebookAdsApiBatch object.

Without using batch:

s.remote_read(fields=[AdGroup.Field.name, AdGroup.Field.campaign_id]) t.remote_read(fields=[AdGroup.Field.name, AdGroup.Field.campaign_id])

both s,t now contains the fields name and campaign_id, however if the call is made in this way instead:

s.remote_read(fields=[AdGroup.Field.name, AdGroup.Field.campaign_id], batch=b) t.remote_read(fields=[AdGroup.Field.name, AdGroup.Field.campaign_id], batch=b) b.execute()

The name and campaign_id fields are not set, the response bodies from the server only has the 'id' value set.

parander avatar Oct 25 '14 12:10 parander

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.

ghost avatar Aug 04 '15 18:08 ghost

This is similar to issue #152. Will be pushing the update very soon.

rituparnamukherjee avatar Mar 17 '16 22:03 rituparnamukherjee