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>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

Inserts a new creative asset.

Request Params

KeyDatatypeRequiredDescription
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI 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_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable 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_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy 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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;assetIdentifier&quot;:{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;},&quot;clickTags&quot;:[{&quot;clickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;eventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;},{&quot;clickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;eventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;}],&quot;counterCustomEvents&quot;:[{&quot;advertiserCustomEventId&quot;:&quot;\u003cint64\u003e&quot;,&quot;advertiserCustomEventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;advertiserCustomEventType&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkType&quot;:&quot;\u003cstring\u003e&quot;,&quot;exitClickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;id&quot;:&quot;\u003cint64\u003e&quot;,&quot;popupWindowProperties&quot;:{&quot;dimension&quot;:{&quot;height&quot;:88113128,&quot;iab&quot;:true,&quot;id&quot;:&quot;ipsum&quot;,&quot;kind&quot;:&quot;in&quot;,&quot;width&quot;:9318962},&quot;offset&quot;:{&quot;left&quot;:&quot;\u003cinteger\u003e&quot;,&quot;top&quot;:&quot;\u003cinteger\u003e&quot;},&quot;positionType&quot;:&quot;\u003cstring\u003e&quot;,&quot;showAddressBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showMenuBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showScrollBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showStatusBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showToolBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;},&quot;targetType&quot;:&quot;\u003cstring\u003e&quot;,&quot;videoReportingId&quot;:&quot;\u003cstring\u003e&quot;},{&quot;advertiserCustomEventId&quot;:&quot;\u003cint64\u003e&quot;,&quot;advertiserCustomEventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;advertiserCustomEventType&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkType&quot;:&quot;\u003cstring\u003e&quot;,&quot;exitClickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;id&quot;:&quot;\u003cint64\u003e&quot;,&quot;popupWindowProperties&quot;:{&quot;dimension&quot;:{&quot;height&quot;:-55311472,&quot;iab&quot;:true,&quot;id&quot;:&quot;nostrud dolore eiusmod&quot;,&quot;kind&quot;:&quot;enim sed proident elit&quot;,&quot;width&quot;:-58375034},&quot;offset&quot;:{&quot;left&quot;:&quot;\u003cinteger\u003e&quot;,&quot;top&quot;:&quot;\u003cinteger\u003e&quot;},&quot;positionType&quot;:&quot;\u003cstring\u003e&quot;,&quot;showAddressBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showMenuBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showScrollBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showStatusBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showToolBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;},&quot;targetType&quot;:&quot;\u003cstring\u003e&quot;,&quot;videoReportingId&quot;:&quot;\u003cstring\u003e&quot;}],&quot;detectedFeatures&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;exitCustomEvents&quot;:[{&quot;advertiserCustomEventId&quot;:&quot;\u003cint64\u003e&quot;,&quot;advertiserCustomEventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;advertiserCustomEventType&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkType&quot;:&quot;\u003cstring\u003e&quot;,&quot;exitClickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;id&quot;:&quot;\u003cint64\u003e&quot;,&quot;popupWindowProperties&quot;:{&quot;dimension&quot;:{&quot;height&quot;:59173059,&quot;iab&quot;:false,&quot;id&quot;:&quot;sunt sint eu pariatur&quot;,&quot;kind&quot;:&quot;in&quot;,&quot;width&quot;:41946648},&quot;offset&quot;:{&quot;left&quot;:&quot;\u003cinteger\u003e&quot;,&quot;top&quot;:&quot;\u003cinteger\u003e&quot;},&quot;positionType&quot;:&quot;\u003cstring\u003e&quot;,&quot;showAddressBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showMenuBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showScrollBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showStatusBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showToolBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;},&quot;targetType&quot;:&quot;\u003cstring\u003e&quot;,&quot;videoReportingId&quot;:&quot;\u003cstring\u003e&quot;},{&quot;advertiserCustomEventId&quot;:&quot;\u003cint64\u003e&quot;,&quot;advertiserCustomEventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;advertiserCustomEventType&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkType&quot;:&quot;\u003cstring\u003e&quot;,&quot;exitClickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;id&quot;:&quot;\u003cint64\u003e&quot;,&quot;popupWindowProperties&quot;:{&quot;dimension&quot;:{&quot;height&quot;:-25053543,&quot;iab&quot;:false,&quot;id&quot;:&quot;est esse&quot;,&quot;kind&quot;:&quot;Excepteur irure velit proident&quot;,&quot;width&quot;:22661799},&quot;offset&quot;:{&quot;left&quot;:&quot;\u003cinteger\u003e&quot;,&quot;top&quot;:&quot;\u003cinteger\u003e&quot;},&quot;positionType&quot;:&quot;\u003cstring\u003e&quot;,&quot;showAddressBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showMenuBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showScrollBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showStatusBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showToolBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;},&quot;targetType&quot;:&quot;\u003cstring\u003e&quot;,&quot;videoReportingId&quot;:&quot;\u003cstring\u003e&quot;}],&quot;id&quot;:&quot;\u003cint64\u003e&quot;,&quot;idDimensionValue&quot;:{&quot;dimensionName&quot;:&quot;minim fugiat aute anim&quot;,&quot;etag&quot;:&quot;nostrud eiusmod commodo labore culpa&quot;,&quot;id&quot;:&quot;velit tempor do cupidatat&quot;,&quot;kind&quot;:&quot;nisi fugiat&quot;,&quot;matchType&quot;:&quot;EXACT&quot;,&quot;value&quot;:&quot;laboris cillum&quot;},&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;richMedia&quot;:&quot;\u003cboolean\u003e&quot;,&quot;timerCustomEvents&quot;:[{&quot;advertiserCustomEventId&quot;:&quot;\u003cint64\u003e&quot;,&quot;advertiserCustomEventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;advertiserCustomEventType&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkType&quot;:&quot;\u003cstring\u003e&quot;,&quot;exitClickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;id&quot;:&quot;\u003cint64\u003e&quot;,&quot;popupWindowProperties&quot;:{&quot;dimension&quot;:{&quot;height&quot;:-14709358,&quot;iab&quot;:true,&quot;id&quot;:&quot;dolor a&quot;,&quot;kind&quot;:&quot;ullam&quot;,&quot;width&quot;:-33949132},&quot;offset&quot;:{&quot;left&quot;:&quot;\u003cinteger\u003e&quot;,&quot;top&quot;:&quot;\u003cinteger\u003e&quot;},&quot;positionType&quot;:&quot;\u003cstring\u003e&quot;,&quot;showAddressBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showMenuBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showScrollBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showStatusBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showToolBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;},&quot;targetType&quot;:&quot;\u003cstring\u003e&quot;,&quot;videoReportingId&quot;:&quot;\u003cstring\u003e&quot;},{&quot;advertiserCustomEventId&quot;:&quot;\u003cint64\u003e&quot;,&quot;advertiserCustomEventName&quot;:&quot;\u003cstring\u003e&quot;,&quot;advertiserCustomEventType&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;artworkType&quot;:&quot;\u003cstring\u003e&quot;,&quot;exitClickThroughUrl&quot;:{&quot;computedClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;customClickThroughUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;landingPageId&quot;:&quot;\u003cint64\u003e&quot;},&quot;id&quot;:&quot;\u003cint64\u003e&quot;,&quot;popupWindowProperties&quot;:{&quot;dimension&quot;:{&quot;height&quot;:-53933821,&quot;iab&quot;:true,&quot;id&quot;:&quot;eiusmod do&quot;,&quot;kind&quot;:&quot;mollit cillum&quot;,&quot;width&quot;:24965943},&quot;offset&quot;:{&quot;left&quot;:&quot;\u003cinteger\u003e&quot;,&quot;top&quot;:&quot;\u003cinteger\u003e&quot;},&quot;positionType&quot;:&quot;\u003cstring\u003e&quot;,&quot;showAddressBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showMenuBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showScrollBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showStatusBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;showToolBar&quot;:&quot;\u003cboolean\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;},&quot;targetType&quot;:&quot;\u003cstring\u003e&quot;,&quot;videoReportingId&quot;:&quot;\u003cstring\u003e&quot;}],&quot;warnedValidationRules&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]}