Class CampaignsResource.UpdateRequest
Updates an existing campaign.
Inheritance
CampaignsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class CampaignsResource.UpdateRequest : DfareportingBaseServiceRequest<Campaign>, IClientServiceRequest<Campaign>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Campaign, long)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Campaign body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Campaign | body | |
long | profileId |
Properties
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
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
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 Update parameter list.
Declaration
protected override void InitParameters()