You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/v2.2/act_<account id>/advideos does not return a published field, /v2.3/act_<account id>/advideos does (see example payload below)
We are using facebook-php-ads-sdk v2.3.0
When we call the getAdVideos method (with no fields specified) on FacebookAdAccount we get an InvalidArgumentException with message: "published is not a field of FacebookAds\Object\AdVideo"
/v2.2/act_<account id>/advideos
does not return apublished
field,/v2.3/act_<account id>/advideos
does (see example payload below)We are using facebook-php-ads-sdk v2.3.0
When we call the
getAdVideos
method (with no fields specified) onFacebookAdAccount
we get anInvalidArgumentException
with message: "published is not a field of FacebookAds\Object\AdVideo"This originates at AbstractCrudObject::setData
Since AdVideo has no
published
field, when the above loop tries to set$this->published = true;
the exception is thrownExample (truncated) response to
https://graph.facebook.com/v2.3/act_<account id>/advideos
showing thepublished field
The text was updated successfully, but these errors were encountered: