Batch create Sponsored Message Content
POST https://{{baseUrl}}/conversationAds/{conversationAdsId}/sponsoredMessageContents
Creates Sponsored Message Content in Batches.
Request Body
{"elements"=>[{"bodySource"=>{"leadGenerationForm"=>"urn:li:adForm:434835"}, "nextAction"=>{"options"=>[{"replyType"=>"LEAD_GENERATION_THANK_YOU", "optionText"=>"Visit website"}, {"replyType"=>"SIMPLE_REPLY", "nextContent"=>"urn:li:sponsoredMessageContent:(urn:li:sponsoredConversation:186604,14253)", "optionText"=>"Simple reply"}, {"replyType"=>"EXTERNAL_WEBSITE", "optionText"=>"Visit website", "landingPage"=>"http://www.linkedin.com"}]}}, {"bodySource"=>{"text"=>"Sample text"}, "nextAction"=>{"options"=>[{"replyType"=>"EXTERNAL_WEBSITE", "optionText"=>"Other website", "landingPage"=>"http://www.microsoft.com"}]}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
LinkedIn-Version | string | ||
Authorization | string | ||
X-RestLi-Method | string |