首页 > 解决方案 > Facebook API,创建创意错误无法加载帖子

问题描述

我收到以下错误:

{"name":"FacebookRequestError","message":"Cannot load post: The post cannot be loaded and this can be due to many reasons. For example, the post might not exist, or it exists but is blocked, or it is a scheduled post (and therefore we are not allowed to deliver the post content as an ad)."}

在尝试通过 Facebook sdk 创建广告创意时。请帮我修复它。

这是 nodejs 中的有效负载示例,我将其用作示例。

    params = {
        'name' : 'Sample Ad creative',
        'object_story_spec' : {'page_id': '<pageID>'},
        'asset_feed_spec' : {'images':[{'url': '<img url>'}
            ],'bodies':[
                {'text':'Sample text'},
                ],
            'titles':[
                {'text':'Sample text'},
                ],
            'descriptions':[
                {'text':'Sample text'},
                ],
            'ad_formats':['SINGLE_IMAGE'],
            'call_to_action_types':['LEARN_MORE'],
            'link_urls': [{'website_url':'<web_url>'}],
            'videos':[]},
    };

标签: node.jsfacebook-sdk-4.0facebook-ads-api

解决方案


推荐阅读