{"_id":"59233bfeb5d2002500083e16","parentDoc":null,"project":"5429beef1163360800ed31fa","__v":0,"version":{"_id":"5429beef1163360800ed31fd","__v":22,"project":"5429beef1163360800ed31fa","createdAt":"2014-09-29T20:19:59.904Z","releaseDate":"2014-09-29T20:19:59.904Z","categories":["5429beef1163360800ed31fe","55e74e1f5d36b32b002563fa","55e7500a73169617001f2e86","55e76b8196131b2f00bf4b72","55e89569cdbb8a350096df9c","55f8935eb089b71700a8364e","55f8a67d3bb4bb0d0022d093","55f9dbefc7ef770d00d9bf6d","5601c21a22ecf60d002b27b3","5601c21ff12aee0d001bb06e","5601c2256c7b610d00280db5","5601c22c22ecf60d002b27b4","5603738d0c78b00d0039af47","5626f70bfcbbc621004ebf52","566f7a1ae144ab0d00e9732f","566f85ca7820960d00c3b93d","56708ce43a32d20d00c45cbf","56708d436995210d003aad8e","5736471abe10a9200030732c","57a82c7aff9bd30e00a6f1c1","591b8500e3992319007190f4","5a3718305c66a60012d960ba"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"55f9dbefc7ef770d00d9bf6d","version":"5429beef1163360800ed31fd","__v":6,"pages":["55f9eec4c7ef770d00d9bf83","55f9fb8daba81f0d00a11566","5601ca6870694e0d00e3c66f","5601cb9b96e0f70d0044b0fd","56157d7af2d81d0d006c895f","5671d738c17bf90d00b95822"],"project":"5429beef1163360800ed31fa","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-09-16T21:15:27.664Z","from_sync":false,"order":4,"slug":"publisher-ui-setup","title":"Trafficking and Inventory"},"user":"5840bbe4c6c9322300273fff","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-05-22T19:29:02.962Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":true,"order":7,"body":"To create an email ad placement, log into your account and follow the instructions below:\n\n1. Click on the **[Placements](https://console.adsnative.com/placements/#/add)** tab\n2. Click **Build Placement**\n3. your placement\n4. Select **Email** \n5. From the dropdown menu, select which email service provider you use for your newsletters\n6. The Email Service Macro will automatically populate if you've selected an ESP. However, if you selected \"Other\" you must manually enter in the macro field. \n7. Click **Next** \n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/e92e379-email-ad-placement.png\",\n \"email-ad-placement.png\",\n 655,\n 328,\n \"#d8dbdc\"\n ]\n }\n ]\n}\n[/block]\n8. On the Layout tab, select whether you'd like a Custom or In Feed layout (**Note**: An in-feed layout will use a pre-defined template we've already created for you.)\nIf you chose a Custom layout, click on the **Design** tab to define the Ad placement HTML and CSS.\n[block:api-header]\n{\n \"title\": \"If you wish to build a **NATIVE** Ad placement in email\"\n}\n[/block]\n * The **ad width**, **ad height**, **image width**, and **image height** should be defined in pixels based on your design\n * The **image offset x and y** should define where you wish the image to be placed within the ad unit (see diagram below)\n * Code your own HTML & CSS fields to match your required design.\n[block:api-header]\n{\n \"title\": \"If you wish to build a **BANNER** Ad placement in email\"\n}\n[/block]\nSince banners have fixed width and height, you need to use these settings\n * The **ad width**, **image width** should be same as the banner ad width.\n * The **ad height**, **image height** should be same as the banner ad height.\n * The **image offset x and y** should be set to Zero (0).\n * Just add image media macro in the HTML field **{{ creative_media(a=false) }}**\n * Just add any one simple default style in the CSS Field **body { color: white; }**\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/697b187-emailads-design-setup.png\",\n \"emailads-design-setup.png\",\n 820,\n 421,\n \"#b8d2d5\"\n ]\n }\n ]\n}\n[/block]\n9. On the **Layout** tab, enter the length of characters you wish to have in the Title and Summary\n10. Click **Next**\n11. Enter the **Site** that you wish to view the placement's reports from\n12. Enter the **Categories** that will match ads related to the content in this email. If you do not wish to filter ad content by category then select all the categories listed\n13. Enter a price floor if you wish to have one for this ad placement\n14. Click **Save**\n15. Search for the Placement Name you just created\n16. Click the **Edit** icon on the right\n17. Click on **Instructions** button labeled Email and you'll see instructions for pasting the code into your HTML template where you wish an ad to render\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/c952885-email-ad-html-code.png\",\n \"email-ad-html-code.png\",\n 594,\n 324,\n \"#eaf7f8\"\n ]\n }\n ]\n}\n[/block]\n\n[block:api-header]\n{\n \"title\": \"Sample Email Tag\"\n}\n[/block]\nBelow is a sample placement tag that you can try adding it to your Email HTML template at the position where you want the ad to be rendered\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"<!-- Polymorph Email Ad Code START -->\\n<a href=\\\"https://api.adsnative.com/email/click?placement_id=N2UzdoSpacVZ9lLhcIpKHywQG45S9gOs1sEx-hwE&email=test:::at:::getpolymorph.com\\\" target=\\\"_blank\\\">\\n <img src=\\\"https://api.adsnative.com/email/view?placement_id=N2UzdoSpacVZ9lLhcIpKHywQG45S9gOs1sEx-hwE&email=test@getpolymorph.com\\\" />\\n</a>\\n<!-- Polymorph Email Ad Code END -->\",\n \"language\": \"html\"\n }\n ]\n}\n[/block]\nDepending on how you've customized your ad, the sample tag will appear as below once rendered\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/dc6479f-email-ads-example.png\",\n \"email-ads-example.png\",\n 728,\n 210,\n \"#dcd2d6\"\n ]\n }\n ]\n}\n[/block]","excerpt":"","slug":"create-email-ad-placement","type":"basic","title":"Create Email Ad Placement"}

Client Support

Self-Serve Platform

Billing

Create Email Ad Placement

To create an email ad placement, log into your account and follow the instructions below:
1. Click on the **[Placements](https://console.adsnative.com/placements/#/add)** tab
2. Click **Build Placement**
3. your placement
4. Select **Email**
5. From the dropdown menu, select which email service provider you use for your newsletters
6. The Email Service Macro will automatically populate if you've selected an ESP. However, if you selected "Other" you must manually enter in the macro field.
7. Click **Next**
[block:image]
{
"images": [
{
"image": [
"https://files.readme.io/e92e379-email-ad-placement.png",
"email-ad-placement.png",
655,
328,
"#d8dbdc"
]
}
]
}
[/block]
8. On the Layout tab, select whether you'd like a Custom or In Feed layout (**Note**: An in-feed layout will use a pre-defined template we've already created for you.)
If you chose a Custom layout, click on the **Design** tab to define the Ad placement HTML and CSS.
[block:api-header]
{
"title": "If you wish to build a **NATIVE** Ad placement in email"
}
[/block]
* The **ad width**, **ad height**, **image width**, and **image height** should be defined in pixels based on your design
* The **image offset x and y** should define where you wish the image to be placed within the ad unit (see diagram below)
* Code your own HTML & CSS fields to match your required design.
[block:api-header]
{
"title": "If you wish to build a **BANNER** Ad placement in email"
}
[/block]
Since banners have fixed width and height, you need to use these settings
* The **ad width**, **image width** should be same as the banner ad width.
* The **ad height**, **image height** should be same as the banner ad height.
* The **image offset x and y** should be set to Zero (0).
* Just add image media macro in the HTML field **{{ creative_media(a=false) }}**
* Just add any one simple default style in the CSS Field **body { color: white; }**
[block:image]
{
"images": [
{
"image": [
"https://files.readme.io/697b187-emailads-design-setup.png",
"emailads-design-setup.png",
820,
421,
"#b8d2d5"
]
}
]
}
[/block]
9. On the **Layout** tab, enter the length of characters you wish to have in the Title and Summary
10. Click **Next**
11. Enter the **Site** that you wish to view the placement's reports from
12. Enter the **Categories** that will match ads related to the content in this email. If you do not wish to filter ad content by category then select all the categories listed
13. Enter a price floor if you wish to have one for this ad placement
14. Click **Save**
15. Search for the Placement Name you just created
16. Click the **Edit** icon on the right
17. Click on **Instructions** button labeled Email and you'll see instructions for pasting the code into your HTML template where you wish an ad to render
[block:image]
{
"images": [
{
"image": [
"https://files.readme.io/c952885-email-ad-html-code.png",
"email-ad-html-code.png",
594,
324,
"#eaf7f8"
]
}
]
}
[/block]
[block:api-header]
{
"title": "Sample Email Tag"
}
[/block]
Below is a sample placement tag that you can try adding it to your Email HTML template at the position where you want the ad to be rendered
[block:code]
{
"codes": [
{
"code": "<!-- Polymorph Email Ad Code START -->\n<a href=\"https://api.adsnative.com/email/click?placement_id=N2UzdoSpacVZ9lLhcIpKHywQG45S9gOs1sEx-hwE&email=test@getpolymorph.com\" target=\"_blank\">\n <img src=\"https://api.adsnative.com/email/view?placement_id=N2UzdoSpacVZ9lLhcIpKHywQG45S9gOs1sEx-hwE&email=test@getpolymorph.com\" />\n</a>\n<!-- Polymorph Email Ad Code END -->",
"language": "html"
}
]
}
[/block]
Depending on how you've customized your ad, the sample tag will appear as below once rendered
[block:image]
{
"images": [
{
"image": [
"https://files.readme.io/dc6479f-email-ads-example.png",
"email-ads-example.png",
728,
210,
"#dcd2d6"
]
}
]
}
[/block]