{"action":"created","issue":{"url":"https://api.github.com/repos/google/openrtb-doubleclick/issues/37","labels_url":"https://api.github.com/repos/google/openrtb-doubleclick/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/google/openrtb-doubleclick/issues/37/comments","events_url":"https://api.github.com/repos/google/openrtb-doubleclick/issues/37/events","html_url":"https://github.com/google/openrtb-doubleclick/issues/37","id":80982284,"number":37,"title":"Adomain <-> click_through_url","user":{"login":"jihonrado","id":483532,"avatar_url":"https://avatars.githubusercontent.com/u/483532?v=3","gravatar_id":"","url":"https://api.github.com/users/jihonrado","html_url":"https://github.com/jihonrado","followers_url":"https://api.github.com/users/jihonrado/followers","following_url":"https://api.github.com/users/jihonrado/following{/other_user}","gists_url":"https://api.github.com/users/jihonrado/gists{/gist_id}","starred_url":"https://api.github.com/users/jihonrado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihonrado/subscriptions","organizations_url":"https://api.github.com/users/jihonrado/orgs","repos_url":"https://api.github.com/users/jihonrado/repos","events_url":"https://api.github.com/users/jihonrado/events{/privacy}","received_events_url":"https://api.github.com/users/jihonrado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T14:18:14Z","updated_at":"2015-05-26T14:47:29Z","closed_at":null,"body":"Hi,\r\n\r\nFirst of all, I want to thank you for this amazing library and documentation.\r\n\r\nI ran into the very same problem [described here](https://github.com/google/openrtb-doubleclick/issues/13) and found that issue to know how to solve it.\r\n\r\nNow, my understanding is that DoubleClick's \"click_through_url\" field  has the same purpose that the OpenRTB's \"adomain\" field. So, if I am not wrong, it would be nice to modify DoubleClick's mapper to map these two fields. What to you think?\r\n\r\nBest,"},"comment":{"url":"https://api.github.com/repos/google/openrtb-doubleclick/issues/comments/105550192","html_url":"https://github.com/google/openrtb-doubleclick/issues/37#issuecomment-105550192","issue_url":"https://api.github.com/repos/google/openrtb-doubleclick/issues/37","id":105550192,"user":{"login":"opinali","id":3017776,"avatar_url":"https://avatars.githubusercontent.com/u/3017776?v=3","gravatar_id":"","url":"https://api.github.com/users/opinali","html_url":"https://github.com/opinali","followers_url":"https://api.github.com/users/opinali/followers","following_url":"https://api.github.com/users/opinali/following{/other_user}","gists_url":"https://api.github.com/users/opinali/gists{/gist_id}","starred_url":"https://api.github.com/users/opinali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opinali/subscriptions","organizations_url":"https://api.github.com/users/opinali/orgs","repos_url":"https://api.github.com/users/opinali/repos","events_url":"https://api.github.com/users/opinali/events{/privacy}","received_events_url":"https://api.github.com/users/opinali/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T14:47:29Z","updated_at":"2015-05-26T14:47:29Z","body":"I wish I could use that; unfortunately the spec is clear that `adomain` has to contain domain names, not full URLs. But AdX is more strict, it requires the full URLs for filtering and publisher blocks. I was tempted to put that in the `adomain` anyway, but that would be abusing the spec.\r\n\r\nI have already suggested to change this in the spec, and there's other feedback showing that some people actually put full URLs in `adomain`, with the effect that others have to [**\"clean them up to try and put them into true 'adomain' format\"**](https://groups.google.com/forum/#!searchin/openrtb-dev/adomain/openrtb-dev/5sKOGJEa-lY/bJS4LhlvyI4J).\r\n\r\nIt was a hard choice, but we try to err in the side of spec compliance. I realize how inconvenient this is for fields that are as important as `click_through_url` (AdX will reject your bid if you don't send that), as opposed to so many other \"nice-to-have\" fields. We're considering some alternative solution, e.g. a configuration flag to ask the library to take some liberties with the spec where that would help to make a more complete mapping without extensions.\r\n\r\nMeanwhile, the `DcExt` extensions should be a good workaround; they are in-memory extensions only (no JSON support) but that shouldn't be a problem for the native->OpenRTB usage scenario. You can also go to the openrtb-users list and add your vote to fix `adomain` ;-)"}}