Show / Hide Table of Contents

Class CustomersResource.CampaignDraftsResource.PromoteRequest

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

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleLongrunningOperation>
SA360BaseServiceRequest<GoogleLongrunningOperation>
CustomersResource.CampaignDraftsResource.PromoteRequest
Implements
IClientServiceRequest<GoogleLongrunningOperation>
IClientServiceRequest
Inherited Members
SA360BaseServiceRequest<GoogleLongrunningOperation>.Xgafv
SA360BaseServiceRequest<GoogleLongrunningOperation>.AccessToken
SA360BaseServiceRequest<GoogleLongrunningOperation>.Alt
SA360BaseServiceRequest<GoogleLongrunningOperation>.Callback
SA360BaseServiceRequest<GoogleLongrunningOperation>.Fields
SA360BaseServiceRequest<GoogleLongrunningOperation>.Key
SA360BaseServiceRequest<GoogleLongrunningOperation>.OauthToken
SA360BaseServiceRequest<GoogleLongrunningOperation>.PrettyPrint
SA360BaseServiceRequest<GoogleLongrunningOperation>.QuotaUser
SA360BaseServiceRequest<GoogleLongrunningOperation>.UploadType
SA360BaseServiceRequest<GoogleLongrunningOperation>.UploadProtocol
ClientServiceRequest<GoogleLongrunningOperation>.Execute()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStream()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.CreateRequest(bool?)
ClientServiceRequest<GoogleLongrunningOperation>.GenerateRequestUri()
ClientServiceRequest<GoogleLongrunningOperation>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleLongrunningOperation>.ETagAction
ClientServiceRequest<GoogleLongrunningOperation>.ModifyRequest
ClientServiceRequest<GoogleLongrunningOperation>.ValidateParameters
ClientServiceRequest<GoogleLongrunningOperation>.ApiVersion
ClientServiceRequest<GoogleLongrunningOperation>.RequestParameters
ClientServiceRequest<GoogleLongrunningOperation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.CampaignDraftsResource.PromoteRequest : SA360BaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest

Constructors

PromoteRequest(IClientService, GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest, string)

Constructs a new Promote request.

Declaration
public PromoteRequest(IClientService service, GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest body, string campaignDraft)
Parameters
Type Name Description
IClientService service
GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest body
string campaignDraft

Properties

CampaignDraft

Required. The resource name of the campaign draft to promote.

Declaration
[RequestParameter("campaignDraft", RequestParameterType.Path)]
public virtual string CampaignDraft { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleLongrunningOperation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleLongrunningOperation>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleLongrunningOperation>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleLongrunningOperation>.GetBody()

InitParameters()

Initializes Promote parameter list.

Declaration
protected override void InitParameters()
Overrides
SA360BaseServiceRequest<GoogleLongrunningOperation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX