像https://developers.facebook.com/community/threads/1369234493639891/
这样的问题我添加了参数standard_enhancements > enroll_status > OPT_OUT 但我仍然无法制作广告。部分请求参数如下:
{
"object_story_spec": {
"page_id": "xxxxx",
"video_data": {
"call_to_action": {
"type": "INSTALL_APP",
"value": {
"link": ""
}
},
"image_hash": "{result=videoThumbnailRequestxxxxxxxxxxxxx:$.images.*.hash}",
"title": "",
"video_id": "{result=videoRequestxxxxxxxxxxxxx:$.id}"
}
},
"title": "test",
"body": "test",
"degrees_of_freedom_spec": {
"creative_features_spec": {
"standard_enhancements": {
"enroll_status": "OPT_OUT"
}
}
}
}
错误如下:
[
{
"error": {
"message": "Invalid parameter",
"type": "OAuthException",
"code": 100,
"error_subcode": 3858082,
"is_transient": false,
"error_user_title": "Creative Must Provide enroll_status for Standard Enhancements",
"error_user_msg": "This creative is eligible for Standard Enhancements, but enroll_status was not provided. Please choose whether you want to turn on standard enhancements or not. Learn more here: https://fburl.com/hyth50xo",
"fbtrace_id": "AZGGOCEVV3jyJ09T0SV0yXO"
}
},
{
"error": {
"message": "Request aborted. This could happen if a dependent request failed or the entire request timed out.",
"type": "FacebookApiException",
"code": 960,
"fbtrace_id": "A1m-jT3shoLxOqMFdVxhxdU"
}
}
]
https://developers.facebook.com/docs/marketing-api/advantage-catalog-ads/standard-enhancements
此问题已由 Meta 修复。请检查您是否遇到同样的问题。您可以通过检查下面的示例请求正文来验证,它对我来说工作正常。
{
'name': 'test - Creative',
'object_story_spec': {
'page_id': '<page_id>',
'link_data': {
'description': '',
'image_hash': '<image_hash>',
'link': '<link>',
'message': 'message',
'name': 'headline',
'call_to_action': {
'type': 'LEARN_MORE',
'value': {
'link': '<link>',
'link_caption': ''
}
}
}
},
'degrees_of_freedom_spec': {
'creative_features_spec': {
'standard_enhancements': {
'enroll_status': 'OPT_OUT'
}
}
}
}
我使用广告对象 create_copy() 功能遇到此错误。我如何使用 create_copy 通过代码将 enroll_status 作为 OPT OUT 传递?
此外,如果您可以在业务管理平台上告诉我如何将其设置为选择退出,这样我们就可以通过代码将此广告复制到其他广告集中也会很有帮助
谢谢