Hi,
I'm trying to create an ad though the API that uses a HTML5 creative (type DISPLAY with HTML_IMAGE as PRIMARY). The click through url must be set on ad-level and is the same for html5 banner and backup image.
Using the API I make a call like this:
{
"accountId": "XXXX",
"advertiserId": "XXXX",
"campaignId": "XXXX",
"startTime": "2016-11-10T00:00:00.000Z",
"endTime": "2016-12-31T11:59:59.000Z",
"name": "abcd test",
"size": {
"height": 90,
"width": 728
},
"creativeRotation": {
"creativeAssignments": [
{
"active": true,
"clickThroughUrl": {
"defaultLandingPage": false
},
"creativeId": "XXXX" // id of an HTML5 creative
}
]
},
"deliverySchedule": {
"priority": "AD_PRIORITY_15",
"impressionRatio": "1"
}
}
The ad is created, but the "landing page" column in the creative assignments in the UI is set to "Use creative default" and the supplied custom click through url is ignored.
However, it seems to work when using the richMediaExitOverrides property that should not even be applicable with this creative type.
Setting the custom click through url for both the clicktag exit for the HTML5 banner and the backup exit for the backup image, the "landing page" column reads "Custom landing page" and uses the supplied custom url.
But, as mentioned, this does not comply with API documentation and seems to be unintentional behaviour.
Thank you for your help!
Best,
Thomas