customers
POST /v23/customers/{customersId}/campaignDrafts/{campaignDraftsId}:promote
Promotes the changes in a draft back to the base campaign. This method returns a Long Running Operation (LRO) indicating if the Promote is done. Use google.longrunning.Operations.GetOperation to poll the LRO until it is done. Only a done status is returned in the response. See the status in the Campaign Draft resource to determine if the promotion was successful. If the LRO failed, use CampaignDraftService.ListCampaignDraftAsyncErrors to view the list of error reasons. List of thrown errors: AuthenticationError AuthorizationError CampaignDraftError HeaderError InternalError QuotaError RequestError
Request
- Base URLhttps://searchads360.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/doubleclicksearchAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/doubleclicksearch
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customersIdstring required
campaignDraftsIdstring required
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 4 revisions of this API.