"Hard-coded click-through URL" warning on Enhanced Banner creative

2,021 views
Skip to first unread message

dh...@cpxi.com

unread,
May 31, 2016, 11:28:20 PM5/31/16
to Google's DoubleClick Campaign Manager API Forum
I've managed to create some Enhanced Banner creatives through the v2.4 API, but the UI is giving me an unexpected warning on my creative about a "Hard-coded click-through URL," stating: "We detected at least one hard-coded click-through URL. To track clicks for this exit, we recommend working with your creative developer to set click-through URLs with click tags."

I've pasted the ad tag code at the bottom. The clicktag's name is 'kliktag' and the other URLs in here are just the swiffy-runtime library and a JSON file with art and animation data for the creative; they are not clickable links. My question: Is this warning a false positive over my library or JSON file with extra creative data? Is there something else wrong with my tag? Thanks in advance.

<!DOCTYPE html>
<html>
    <head>
        <meta name="ad.size" content="width=120,height=600">
        <script type="text/javascript">
            var clickTag = "clickTAG";
        </script>
    </head>
    <div id="swiffycontainer_16664169" style="width:120px;height:600px"></div>
<script type="text/javascript" src="https://www.gstatic.com/swiffy/v7.3/runtime.js"></script>
<script type="text/javascript">
   (function(){var swiffycontainer=document.getElementById("swiffycontainer_16664169");if(typeof XMLHttpRequest==="undefined"){XMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}return false}}if(XMLHttpRequest){var request=new XMLHttpRequest();request.open("GET","https://swfhtml5.s3.amazonaws.com/dev/1463603454-16664169.swf.json",true);request.onload=function(){if(request.status>=200&&request.status<400){var stage=new swiffy.Stage(swiffycontainer,JSON.parse(request.responseText),{});stage.setFlashVars("clickTAG=kliktag");stage.start()}};request.send()}})();
</script>
</html>

Lakshmi(DCM API Team)

unread,
Jun 1, 2016, 4:20:04 PM6/1/16
to Google's DoubleClick Campaign Manager API Forum, dh...@cpxi.com
Hi,

To check if the issue is in your code or client library, I will recommend creating the enhanced banner creative with same values in the UI and see if you get the same error.

Looks like this error is generated in the UI. I will suggest contacting DCM Product Support team. They would be able to give you more insight about this issue.

Thanks,
Lakshmi, DCM API Team
Message has been deleted

Lakshmi(DCM API Team)

unread,
Jun 6, 2016, 4:44:56 PM6/6/16
to Google's DoubleClick Campaign Manager API Forum, dh...@cpxi.com
Hi,

Could you please send me the HTML file in a private message?
In the future, please do not post your oAuth information on the public forum. For new questions/issues, I would recommend starting a new thread . This would make things easier at our end to track the issues and respond in a timely manner.

Thanks,
Lakshmi, DCM API Team

On Friday, June 3, 2016 at 8:01:16 PM UTC-4, dh...@cpxi.com wrote:
Thanks, I've followed through on that advice and fixed my creative per their instructions, but I'm now encountering a problem that seems specific to the API.

When creating my HTML5 ZIP CreativeAsset, I'm receiving an error complaining about the lack of an associated ClickTag object. Specifically, the error says:  "message": "9005 : You must include at least one click tag or select the DoubleClick environment in Google Web Designer and an exit event in your HTML file in order to set a click-through URL for your creative. Reach out to the creative developer to resolve this issue."

with the headers:
 {
    "Authorization" => "Bearer ya29.CjX2AhloyNvFO4I-3ha8YZ9ccDj4PxdiotL4oxjbZXOr-Fl5Pu9JNx78hNi_NZIcZJqctr16Pg",
     "Content-Type" => "multipart/related; boundary=\"foo_bar_baz\""
}
And the body:
--foo_bar_baz
Content-Disposition: form-data; name="json"
Content-Type: application/json; charset=UTF-8

{"kind":"dfareporting#creativeAsset","clickTags":[{"name":"clickTAG","kind":"dfareporting#clickTag","value":"http://premium.adready.com/campaign_event/click/23488129?h=3a74e9d8894a4cea0bdc","eventName":"clickTAG"}],"role":"PRIMARY","assetIdentifier":{"name":"1464924137762983.zip","type":"HTML"}}
--foo_bar_baz
Content-Disposition: form-data; name="asset"
Content-Type: application/zip

PȢ�H��m@s�
��<e|aq!U�8^5��d�D�b캅���&L��V��KIV>w�0U�����p���&�ON��p����E���ܮ�y}n%:KO_M��e�4ºi�&� D�0��# ��B���8�I�x��<�Q�yhO��䅶�0r
               �w�0
                   �~8B�ҫ6�c^,'�ؠKt:uM��?�-%i�"*�XU�+M4�-_w��8�+K�y�A5������v\
�y.lg�x�
        )b9-3c��>O���[}f��      ����<�n/�~2� ��%(E*�r��V�*�r���K),�uf�
                                                                      ��� �mt��Y:�|6��!�SS�ib���_$�_&�T�*��V ���b�*�k��!`g���6��mg�Y�y�F�3��}~U���;���$#�� �j����z~p��~ l�!r�zZ���]�9a�~�Z��M���4x���apxަK4�C�е�i��}���
���PKȢ�H��m@s�  "��KPE.�L3:�u�L�\X�����0�m����S��+.X^u�l��mڥ�D#�z�@�&�{_�]
��index.htmlPK8�
--foo_bar_baz--

Note the clicktag in the request, contradicting the reported error. Is there anything apparently wrong with my request?

dh...@cpxi.com

unread,
Jun 6, 2016, 5:05:22 PM6/6/16
to Google's DoubleClick Campaign Manager API Forum, dh...@cpxi.com
I'll open a new thread, but I'm not sure how I can send you a private message. I don't have your email address, and as far as I can tell this forum has no private messaging feature that I can see or access.

Lakshmi(DCM API Team)

unread,
Jun 6, 2016, 5:19:00 PM6/6/16
to Google's DoubleClick Campaign Manager API Forum, dh...@cpxi.com
Hi,

Please click the drop-down next to the reply button on the right. You will see reply privately to author, click on that and send me the file.

Thanks,
Lakshmi, DCM API Team

dh...@cpxi.com

unread,
Jun 6, 2016, 5:22:41 PM6/6/16
to Google's DoubleClick Campaign Manager API Forum, dh...@cpxi.com
I'm sorry but I do not have that option. I'll post the file in the new thread.

Lakshmi(DCM API Team)

unread,
Jun 7, 2016, 4:58:01 PM6/7/16
to Google's DoubleClick Campaign Manager API Forum, dh...@cpxi.com
Hi,

The Reply to author option is visible only to the group members.

Thanks,
Lakshmi, DCM API Team

Reply all
Reply to author
Forward
0 new messages