I need a help for the project I am working on. I have task that we have to display ads from third party server in email; when email is being render on client machine.
Third party company who sources those ads; have given some instruction. I am copy pasting here; can anyone please help me how do i do this, in Exact Target HTML Email file?
I think it may can be done using AMP SCRIPT?
Here is what they wrote;
HTML Feed Integration
HTML feed integration is useful when it is not possible or desirable to run JavaScript on the client, for instance when the ad unit is inserted into the e-mail body.
Serialize the request as JSON and HTTP POST this object to the service endpoint. Make sure to pass 'Content-Type: application/json' header in your HTTP request.
Testing endpoint
https://insurance-test.mediaalpha.com/html.json
Request
{ "api_token": "xxxxxxxx", "placement_id": "xxxxxx", "sub_1": "test sub id", "data": { "zip": "90210" } }
Response
{ "html": "html snippet", "time": 0.213 }