dfareporting.creative Assets.insert
POST {{baseUrl}}/userprofiles/:profileId/creativeAssets/:advertiserId/creativeAssets?$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Inserts a new creative asset.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
upload_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
Request Body
{"assetIdentifier"=>{"name"=>"<string>", "type"=>"<string>"}, "clickTags"=>[{"clickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "eventName"=>"<string>", "name"=>"<string>"}, {"clickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "eventName"=>"<string>", "name"=>"<string>"}], "counterCustomEvents"=>[{"advertiserCustomEventId"=>"<int64>", "advertiserCustomEventName"=>"<string>", "advertiserCustomEventType"=>"<string>", "artworkLabel"=>"<string>", "artworkType"=>"<string>", "exitClickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "id"=>"<int64>", "popupWindowProperties"=>{"dimension"=>{"height"=>-49471905, "iab"=>false, "id"=>"nulla reprehenderit cupidatat laborum", "kind"=>"reprehenderit", "width"=>-47703097}, "offset"=>{"left"=>"<integer>", "top"=>"<integer>"}, "positionType"=>"<string>", "showAddressBar"=>"<boolean>", "showMenuBar"=>"<boolean>", "showScrollBar"=>"<boolean>", "showStatusBar"=>"<boolean>", "showToolBar"=>"<boolean>", "title"=>"<string>"}, "targetType"=>"<string>", "videoReportingId"=>"<string>"}, {"advertiserCustomEventId"=>"<int64>", "advertiserCustomEventName"=>"<string>", "advertiserCustomEventType"=>"<string>", "artworkLabel"=>"<string>", "artworkType"=>"<string>", "exitClickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "id"=>"<int64>", "popupWindowProperties"=>{"dimension"=>{"height"=>-10783721, "iab"=>false, "id"=>"aute", "kind"=>"laborum nostrud est mollit", "width"=>8367573}, "offset"=>{"left"=>"<integer>", "top"=>"<integer>"}, "positionType"=>"<string>", "showAddressBar"=>"<boolean>", "showMenuBar"=>"<boolean>", "showScrollBar"=>"<boolean>", "showStatusBar"=>"<boolean>", "showToolBar"=>"<boolean>", "title"=>"<string>"}, "targetType"=>"<string>", "videoReportingId"=>"<string>"}], "detectedFeatures"=>["<string>", "<string>"], "exitCustomEvents"=>[{"advertiserCustomEventId"=>"<int64>", "advertiserCustomEventName"=>"<string>", "advertiserCustomEventType"=>"<string>", "artworkLabel"=>"<string>", "artworkType"=>"<string>", "exitClickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "id"=>"<int64>", "popupWindowProperties"=>{"dimension"=>{"height"=>-71866621, "iab"=>true, "id"=>"esse ipsum eiusmod pariatur", "kind"=>"Excepteur incididunt nulla aliquip", "width"=>-78412761}, "offset"=>{"left"=>"<integer>", "top"=>"<integer>"}, "positionType"=>"<string>", "showAddressBar"=>"<boolean>", "showMenuBar"=>"<boolean>", "showScrollBar"=>"<boolean>", "showStatusBar"=>"<boolean>", "showToolBar"=>"<boolean>", "title"=>"<string>"}, "targetType"=>"<string>", "videoReportingId"=>"<string>"}, {"advertiserCustomEventId"=>"<int64>", "advertiserCustomEventName"=>"<string>", "advertiserCustomEventType"=>"<string>", "artworkLabel"=>"<string>", "artworkType"=>"<string>", "exitClickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "id"=>"<int64>", "popupWindowProperties"=>{"dimension"=>{"height"=>88816573, "iab"=>true, "id"=>"magna aute dolor exercitation esse", "kind"=>"ut enim", "width"=>69646279}, "offset"=>{"left"=>"<integer>", "top"=>"<integer>"}, "positionType"=>"<string>", "showAddressBar"=>"<boolean>", "showMenuBar"=>"<boolean>", "showScrollBar"=>"<boolean>", "showStatusBar"=>"<boolean>", "showToolBar"=>"<boolean>", "title"=>"<string>"}, "targetType"=>"<string>", "videoReportingId"=>"<string>"}], "id"=>"<int64>", "idDimensionValue"=>{"dimensionName"=>"veniam consectetur", "etag"=>"cillum", "id"=>"qui dolor consequat", "kind"=>"consequat deserunt", "matchType"=>"WILDCARD_EXPRESSION", "value"=>"exercitation"}, "kind"=>"<string>", "richMedia"=>"<boolean>", "timerCustomEvents"=>[{"advertiserCustomEventId"=>"<int64>", "advertiserCustomEventName"=>"<string>", "advertiserCustomEventType"=>"<string>", "artworkLabel"=>"<string>", "artworkType"=>"<string>", "exitClickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "id"=>"<int64>", "popupWindowProperties"=>{"dimension"=>{"height"=>-21571883, "iab"=>true, "id"=>"in exercitation", "kind"=>"amet dolore in laboris non", "width"=>-62285717}, "offset"=>{"left"=>"<integer>", "top"=>"<integer>"}, "positionType"=>"<string>", "showAddressBar"=>"<boolean>", "showMenuBar"=>"<boolean>", "showScrollBar"=>"<boolean>", "showStatusBar"=>"<boolean>", "showToolBar"=>"<boolean>", "title"=>"<string>"}, "targetType"=>"<string>", "videoReportingId"=>"<string>"}, {"advertiserCustomEventId"=>"<int64>", "advertiserCustomEventName"=>"<string>", "advertiserCustomEventType"=>"<string>", "artworkLabel"=>"<string>", "artworkType"=>"<string>", "exitClickThroughUrl"=>{"computedClickThroughUrl"=>"<string>", "customClickThroughUrl"=>"<string>", "landingPageId"=>"<int64>"}, "id"=>"<int64>", "popupWindowProperties"=>{"dimension"=>{"height"=>70632083, "iab"=>false, "id"=>"anim ut fugiat dolor", "kind"=>"exercitation Duis ea", "width"=>36950452}, "offset"=>{"left"=>"<integer>", "top"=>"<integer>"}, "positionType"=>"<string>", "showAddressBar"=>"<boolean>", "showMenuBar"=>"<boolean>", "showScrollBar"=>"<boolean>", "showStatusBar"=>"<boolean>", "showToolBar"=>"<boolean>", "title"=>"<string>"}, "targetType"=>"<string>", "videoReportingId"=>"<string>"}], "warnedValidationRules"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"assetIdentifier":{"name":"\u003cstring\u003e","type":"\u003cstring\u003e"},"clickTags":[{"clickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"eventName":"\u003cstring\u003e","name":"\u003cstring\u003e"},{"clickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"eventName":"\u003cstring\u003e","name":"\u003cstring\u003e"}],"counterCustomEvents":[{"advertiserCustomEventId":"\u003cint64\u003e","advertiserCustomEventName":"\u003cstring\u003e","advertiserCustomEventType":"\u003cstring\u003e","artworkLabel":"\u003cstring\u003e","artworkType":"\u003cstring\u003e","exitClickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"id":"\u003cint64\u003e","popupWindowProperties":{"dimension":{"height":88113128,"iab":true,"id":"ipsum","kind":"in","width":9318962},"offset":{"left":"\u003cinteger\u003e","top":"\u003cinteger\u003e"},"positionType":"\u003cstring\u003e","showAddressBar":"\u003cboolean\u003e","showMenuBar":"\u003cboolean\u003e","showScrollBar":"\u003cboolean\u003e","showStatusBar":"\u003cboolean\u003e","showToolBar":"\u003cboolean\u003e","title":"\u003cstring\u003e"},"targetType":"\u003cstring\u003e","videoReportingId":"\u003cstring\u003e"},{"advertiserCustomEventId":"\u003cint64\u003e","advertiserCustomEventName":"\u003cstring\u003e","advertiserCustomEventType":"\u003cstring\u003e","artworkLabel":"\u003cstring\u003e","artworkType":"\u003cstring\u003e","exitClickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"id":"\u003cint64\u003e","popupWindowProperties":{"dimension":{"height":-55311472,"iab":true,"id":"nostrud dolore eiusmod","kind":"enim sed proident elit","width":-58375034},"offset":{"left":"\u003cinteger\u003e","top":"\u003cinteger\u003e"},"positionType":"\u003cstring\u003e","showAddressBar":"\u003cboolean\u003e","showMenuBar":"\u003cboolean\u003e","showScrollBar":"\u003cboolean\u003e","showStatusBar":"\u003cboolean\u003e","showToolBar":"\u003cboolean\u003e","title":"\u003cstring\u003e"},"targetType":"\u003cstring\u003e","videoReportingId":"\u003cstring\u003e"}],"detectedFeatures":["\u003cstring\u003e","\u003cstring\u003e"],"exitCustomEvents":[{"advertiserCustomEventId":"\u003cint64\u003e","advertiserCustomEventName":"\u003cstring\u003e","advertiserCustomEventType":"\u003cstring\u003e","artworkLabel":"\u003cstring\u003e","artworkType":"\u003cstring\u003e","exitClickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"id":"\u003cint64\u003e","popupWindowProperties":{"dimension":{"height":59173059,"iab":false,"id":"sunt sint eu pariatur","kind":"in","width":41946648},"offset":{"left":"\u003cinteger\u003e","top":"\u003cinteger\u003e"},"positionType":"\u003cstring\u003e","showAddressBar":"\u003cboolean\u003e","showMenuBar":"\u003cboolean\u003e","showScrollBar":"\u003cboolean\u003e","showStatusBar":"\u003cboolean\u003e","showToolBar":"\u003cboolean\u003e","title":"\u003cstring\u003e"},"targetType":"\u003cstring\u003e","videoReportingId":"\u003cstring\u003e"},{"advertiserCustomEventId":"\u003cint64\u003e","advertiserCustomEventName":"\u003cstring\u003e","advertiserCustomEventType":"\u003cstring\u003e","artworkLabel":"\u003cstring\u003e","artworkType":"\u003cstring\u003e","exitClickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"id":"\u003cint64\u003e","popupWindowProperties":{"dimension":{"height":-25053543,"iab":false,"id":"est esse","kind":"Excepteur irure velit proident","width":22661799},"offset":{"left":"\u003cinteger\u003e","top":"\u003cinteger\u003e"},"positionType":"\u003cstring\u003e","showAddressBar":"\u003cboolean\u003e","showMenuBar":"\u003cboolean\u003e","showScrollBar":"\u003cboolean\u003e","showStatusBar":"\u003cboolean\u003e","showToolBar":"\u003cboolean\u003e","title":"\u003cstring\u003e"},"targetType":"\u003cstring\u003e","videoReportingId":"\u003cstring\u003e"}],"id":"\u003cint64\u003e","idDimensionValue":{"dimensionName":"minim fugiat aute anim","etag":"nostrud eiusmod commodo labore culpa","id":"velit tempor do cupidatat","kind":"nisi fugiat","matchType":"EXACT","value":"laboris cillum"},"kind":"\u003cstring\u003e","richMedia":"\u003cboolean\u003e","timerCustomEvents":[{"advertiserCustomEventId":"\u003cint64\u003e","advertiserCustomEventName":"\u003cstring\u003e","advertiserCustomEventType":"\u003cstring\u003e","artworkLabel":"\u003cstring\u003e","artworkType":"\u003cstring\u003e","exitClickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"id":"\u003cint64\u003e","popupWindowProperties":{"dimension":{"height":-14709358,"iab":true,"id":"dolor a","kind":"ullam","width":-33949132},"offset":{"left":"\u003cinteger\u003e","top":"\u003cinteger\u003e"},"positionType":"\u003cstring\u003e","showAddressBar":"\u003cboolean\u003e","showMenuBar":"\u003cboolean\u003e","showScrollBar":"\u003cboolean\u003e","showStatusBar":"\u003cboolean\u003e","showToolBar":"\u003cboolean\u003e","title":"\u003cstring\u003e"},"targetType":"\u003cstring\u003e","videoReportingId":"\u003cstring\u003e"},{"advertiserCustomEventId":"\u003cint64\u003e","advertiserCustomEventName":"\u003cstring\u003e","advertiserCustomEventType":"\u003cstring\u003e","artworkLabel":"\u003cstring\u003e","artworkType":"\u003cstring\u003e","exitClickThroughUrl":{"computedClickThroughUrl":"\u003cstring\u003e","customClickThroughUrl":"\u003cstring\u003e","landingPageId":"\u003cint64\u003e"},"id":"\u003cint64\u003e","popupWindowProperties":{"dimension":{"height":-53933821,"iab":true,"id":"eiusmod do","kind":"mollit cillum","width":24965943},"offset":{"left":"\u003cinteger\u003e","top":"\u003cinteger\u003e"},"positionType":"\u003cstring\u003e","showAddressBar":"\u003cboolean\u003e","showMenuBar":"\u003cboolean\u003e","showScrollBar":"\u003cboolean\u003e","showStatusBar":"\u003cboolean\u003e","showToolBar":"\u003cboolean\u003e","title":"\u003cstring\u003e"},"targetType":"\u003cstring\u003e","videoReportingId":"\u003cstring\u003e"}],"warnedValidationRules":["\u003cstring\u003e","\u003cstring\u003e"]}