我试图获得' image_overlay_spec'在创建Facebook动态广告时工作。我已经获得了实际广告本身工作的模板,但我希望能够在图像上方获得信息。
object_story_spec: JSON.stringify({
page_id: process.env.FB_PAGE_ID,
template_data: {
description: '{{product.description}}',
link: 'REDACTED',
name: '{{product.name | titleize}}',
},
}),
image_overlay_spec: JSON.stringify({
text_template_tags: ['{{product.price}}'],
text_type: 'price',
theme_color: 'background_e50900_text_fffff',
}),
这就是我现在所拥有的。 object_story_spec按预期工作,但image_overlay_spec不工作。 API没有任何关于如何使其工作的具体示例。
答案 0 :(得分:0)
发现它!
store | 1900 | A
store | 1,900.00 | B
verifyEval | var s = false; s = eval((storedVars['A'] == storedVars['B'])); | true