It is not documented in API description, but it is possible to attach one or more medias to campains uppon creation.
Medias have to be uploaded first, and then you just need to add the media list attibute to the posted data.
Ex :
data = {
...
"media": [1],
...
}
It would be very simple to add media_ids parameter to the create_campain() method and add the media ids to the data dictionary.
Hi,
It is not documented in API description, but it is possible to attach one or more medias to campains uppon creation. Medias have to be uploaded first, and then you just need to add the media list attibute to the posted data. Ex :
It would be very simple to add
media_ids
parameter to thecreate_campain()
method and add the media ids to the data dictionary.