Closed julienbachmann closed 5 years ago
For now I workaround the problem by patching AdVideo object so that it does not crash.
# patch to fix issue https://github.com/facebook/facebook-python-business-sdk/issues/529
class EmptyClass:
pass
AdVideo.UnpublishedContentType = EmptyClass
AdVideo.OriginalProjectionType = EmptyClass
AdVideo.Formatting = EmptyClass
AdVideo.UploadPhase = EmptyClass
AdVideo.ContentCategory = EmptyClass
AdVideo.ContainerType = EmptyClass
AdVideo.SwapMode = EmptyClass
This should be fix in our recent release. Thanks for reporting this bug.
If you call the method
create_ad_video
on an instance ofAdAccount
, you will have the following error: