I’m trying to create website cards and ran into a problem regarding images / creatives. I think the required set of steps is the following:
- Upload image file using https://dev.twitter.com/rest/reference/post/media/upload to upload an image (this does not seem to have a sandboxed version)
- Use “media_id” returned from above to create an account media using https://dev.twitter.com/ads/reference/post/accounts/account_id/account_media
- Use “id” returned from above to create website card using https://dev.twitter.com/ads/reference/post/accounts/account_id/cards/website
Since I want to create a Website Card, my w/h image ratio must be 2.5. “creative_type” param from point 2 above takes me to the “Creative Types” on https://dev.twitter.com/ads/basics/enums — here none of the options match the 2.5 image ratio. How does one create a website card with those dimensions there?
Some other inconsistencies / annoying things I found:
https://dev.twitter.com/ads/creative looks empty at first glance. In this forum I found https://dev.twitter.com/ads/creative/revenue-cards which is where I got the image dimensions for website cards. This page starts out with “The Ads API supports a number of creatives to be used in your campaigns. The following specs apply to the app_download, image_app_download, image_conversation, lead_gen, website card endpoints.” but then the title is “Revenue Cards”, which doesn’t really make sense.