dfareporting.campaigns.update
PUT {{baseUrl}}/userprofiles/:profileId/campaigns?$.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>
Updates an existing campaign.
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
{"accountId"=>"<string>", "adBlockingConfiguration"=>{"clickThroughUrl"=>"aliquip incididunt", "creativeBundleId"=>"laborum dolor amet ut", "enabled"=>true, "overrideClickThroughUrl"=>true}, "additionalCreativeOptimizationConfigurations"=>[{"id"=>"sit amet enim dolor", "name"=>"deserunt eu", "optimizationActivitys"=>[{"floodlightActivityId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "floodlightActivityIdDimensionValue"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "weight"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"floodlightActivityId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "floodlightActivityIdDimensionValue"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "weight"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "optimizationModel"=>"CLICK"}, {"id"=>"officia cupidatat sit veniam", "name"=>"Ut", "optimizationActivitys"=>[{"floodlightActivityId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "floodlightActivityIdDimensionValue"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "weight"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"floodlightActivityId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "floodlightActivityIdDimensionValue"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "weight"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "optimizationModel"=>"CLICK"}], "advertiserGroupId"=>"<string>", "advertiserId"=>"<string>", "advertiserIdDimensionValue"=>{"dimensionName"=>"voluptate occaecat reprehenderit irure", "etag"=>"sit velit Excepteur labore id", "id"=>"dolor irure in", "kind"=>"sunt et ut incididunt", "matchType"=>"BEGINS_WITH", "value"=>"nulla fugiat"}, "archived"=>"<boolean>", "audienceSegmentGroups"=>[{"audienceSegments"=>[{"allocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"allocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "id"=>"ullamco sed", "name"=>"tempor sint anim"}, {"audienceSegments"=>[{"allocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"allocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "id"=>"ad nisi qui ullamco", "name"=>"magna ad pariatur mol"}], "billingInvoiceCode"=>"<string>", "clickThroughUrlSuffixProperties"=>{"clickThroughUrlSuffix"=>"aliquip ut", "overrideInheritedSuffix"=>false}, "comment"=>"<string>", "createInfo"=>{"time"=>"ut ea"}, "creativeGroupIds"=>["<string>", "<string>"], "creativeOptimizationConfiguration"=>{"id"=>"amet", "name"=>"Lorem in consectetur Ut proident", "optimizationActivitys"=>[{"floodlightActivityId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "floodlightActivityIdDimensionValue"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "weight"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"floodlightActivityId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "floodlightActivityIdDimensionValue"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "weight"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "optimizationModel"=>"POST_CLICK"}, "defaultClickThroughEventTagProperties"=>{"defaultClickThroughEventTagId"=>"labore Excepteur velit", "overrideInheritedEventTag"=>true}, "defaultLandingPageId"=>"<string>", "endDate"=>"<date>", "eventTagOverrides"=>[{"enabled"=>true, "id"=>"consequat ut ame"}, {"enabled"=>false, "id"=>"quis consequat Lorem"}], "externalId"=>"<string>", "id"=>"<string>", "idDimensionValue"=>{"dimensionName"=>"cillum occaecat exercitation", "etag"=>"eu amet laboris", "id"=>"culpa commodo laboris anim", "kind"=>"in cupidatat ea", "matchType"=>"WILDCARD_EXPRESSION", "value"=>"reprehenderit ipsum et velit magna"}, "kind"=>"<string>", "lastModifiedInfo"=>{"time"=>"magna ut fugiat"}, "name"=>"<string>", "nielsenOcrEnabled"=>"<boolean>", "startDate"=>"<date>", "subaccountId"=>"<string>", "traffickerEmails"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"accountId":"\u003cstring\u003e","adBlockingConfiguration":{"clickThroughUrl":"sit veniam ex culpa","creativeBundleId":"officia ullamco dolore","enabled":false,"overrideClickThroughUrl":true},"additionalCreativeOptimizationConfigurations":[{"id":"tempor ","name":"consequat Lorem nostrud tempor enim","optimizationActivitys":[{"floodlightActivityId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"floodlightActivityIdDimensionValue":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"weight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"floodlightActivityId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"floodlightActivityIdDimensionValue":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"weight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"optimizationModel":"VIDEO_COMPLETION"},{"id":"ipsum ut ex","name":"aliqua","optimizationActivitys":[{"floodlightActivityId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"floodlightActivityIdDimensionValue":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"weight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"floodlightActivityId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"floodlightActivityIdDimensionValue":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"weight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"optimizationModel":"POST_CLICK_AND_IMPRESSION"}],"advertiserGroupId":"\u003cstring\u003e","advertiserId":"\u003cstring\u003e","advertiserIdDimensionValue":{"dimensionName":"sed eu in adipisicing ","etag":"ut sint ullamco Ut non","id":"Excepteur esse magna","kind":"labor","matchType":"EXACT","value":"cillum ipsum irure ut"},"archived":"\u003cboolean\u003e","audienceSegmentGroups":[{"audienceSegments":[{"allocation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"allocation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"id":"officia commodo veniam aliqua","name":"in veniam"},{"audienceSegments":[{"allocation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"allocation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"id":"enim id","name":"ex incididunt adipisicing sed"}],"billingInvoiceCode":"\u003cstring\u003e","clickThroughUrlSuffixProperties":{"clickThroughUrlSuffix":"esse","overrideInheritedSuffix":false},"comment":"\u003cstring\u003e","createInfo":{"time":"ex dolore elit officia"},"creativeGroupIds":["\u003cstring\u003e","\u003cstring\u003e"],"creativeOptimizationConfiguration":{"id":"nulla voluptate incididunt in","name":"nisi in adipisicing minim","optimizationActivitys":[{"floodlightActivityId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"floodlightActivityIdDimensionValue":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"weight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"floodlightActivityId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"floodlightActivityIdDimensionValue":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"weight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"optimizationModel":"POST_IMPRESSION"},"defaultClickThroughEventTagProperties":{"defaultClickThroughEventTagId":"aliqua reprehenderit exerci","overrideInheritedEventTag":true},"defaultLandingPageId":"\u003cstring\u003e","endDate":"\u003cdate\u003e","eventTagOverrides":[{"enabled":true,"id":"qui ex Excepteur tempor"},{"enabled":false,"id":"incididunt et amet"}],"externalId":"\u003cstring\u003e","id":"\u003cstring\u003e","idDimensionValue":{"dimensionName":"est dolor et ea","etag":"quis ut in","id":"et est officia","kind":"dolor Excepteur","matchType":"WILDCARD_EXPRESSION","value":""},"kind":"\u003cstring\u003e","lastModifiedInfo":{"time":"deserunt dolor sed"},"name":"\u003cstring\u003e","nielsenOcrEnabled":"\u003cboolean\u003e","startDate":"\u003cdate\u003e","subaccountId":"\u003cstring\u003e","traffickerEmails":["\u003cstring\u003e","\u003cstring\u003e"]}