Message template data like Greeting, Pre Filled Message sent through API are not shown in UI for a Whatsapp campaign.
1

We are implementing the Click to message - WhatsApp campaign. We are using Dynamic creative for ads and sending the message template details in the additional_data key. Adcreative is created and Ad also created without any errors. But when we check in the UI (Facebook Ads Manager), Message template details are not displayed. What could be the issue?

page_welcome_message = '{"type": "VISUAL_EDITOR", "landing_screen_type": "welcome_message", "media_type":"text", "text_format": {"customer_action_type": "autofill_message", "message":{"text": "Sample text","autofill_message": {"content":"Sample content"}}}}'

additional_data = { "multi_share_end_card": False, "page_welcome_message": page_welcome_message, "is_click_to_message": False}

data = {
'access_token': my_access_token, 'name': 'Test', 'object_story_spec': json.dumps({'page_id':page_id}), 'asset_feed_spec': json.dumps({'images':[{'url':'imageg url'}],'bodies':[{'text':'test'},{'text':'test 1'}],'titles':[{'text':'title1'},{'text':'title2'}],'descriptions':[{'text':'desc1'}],'ad_formats':['SINGLE_IMAGE'],'call_to_action_types':['WHATSAPP_MESSAGE'],"call_to_actions":[{"type":"WHATSAPP_MESSAGE", "value": {"app_destination": "WHATSAPP","link": "https://api.whatsapp.com/send"}}],'link_urls':[{'website_url':'https://api.whatsapp.com/send'}],'videos':[],"additional_data": additional_data}) }
url = 'https://graph.facebook.com/' + facebook_version + '/' + facebook_ad_account_id + "/adcreatives"

Saroja
Ditanyakan sekitar 2 bulan yang lalu