D
D
Dmitry Voronin2019-04-07 09:21:24
Facebook
Dmitry Voronin, 2019-04-07 09:21:24

(Facebook API) How to update data in object_story_spec?

Unable to update information in object_story_spec I update
like this

$creative = new AdCreative($obj['id']);
$creative->setData([
       AdCreativeFields::OBJECT_STORY_SPEC => [
             AdCreativeObjectStorySpecFields::LINK_DATA => [
                     AdCreativeLinkDataFields::LINK => $newUrl
             ]
       ]
]);
$creative->save();

In the end it didn't change.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question