Class CustomersResource.AdsResource.MutateRequest
Updates ads. Operation statuses are returned. Updating ads is not supported for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. List of thrown errors: AdCustomizerError AdError AdSharingError AdxError AssetError AssetLinkError AuthenticationError AuthorizationError CollectionSizeError DatabaseError DateError DistinctError FeedAttributeReferenceError FieldError FieldMaskError FunctionError FunctionParsingError HeaderError IdError ImageError InternalError ListOperationError MediaBundleError MediaFileError MutateError NewResourceCreationError NotEmptyError NullError OperatorError PolicyFindingError PolicyViolationError QuotaError RangeError RequestError SizeLimitError StringFormatError StringLengthError UrlFieldError
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.AdsResource.MutateRequest : SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesMutateAdsResponse>, IClientServiceRequest<GoogleAdsSearchads360V23ServicesMutateAdsResponse>, IClientServiceRequest
Constructors
MutateRequest(IClientService, GoogleAdsSearchads360V23ServicesMutateAdsRequest, string)
Constructs a new Mutate request.
Declaration
public MutateRequest(IClientService service, GoogleAdsSearchads360V23ServicesMutateAdsRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesMutateAdsRequest | body | |
| string | customerId |
Properties
CustomerId
Required. The ID of the customer whose ads are being modified.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Mutate parameter list.
Declaration
protected override void InitParameters()