Show / Hide Table of Contents

Class CampaignsResource

The "campaigns" collection of methods.

Inheritance
object
CampaignsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v3_5
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class CampaignsResource

Constructors

CampaignsResource(IClientService)

Constructs a new resource.

Declaration
public CampaignsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(long, long)

Gets one campaign by ID.

Declaration
public virtual CampaignsResource.GetRequest Get(long profileId, long id)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

long id

Campaign ID.

Returns
Type Description
CampaignsResource.GetRequest

Insert(Campaign, long)

Inserts a new campaign.

Declaration
public virtual CampaignsResource.InsertRequest Insert(Campaign body, long profileId)
Parameters
Type Name Description
Campaign body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
CampaignsResource.InsertRequest

List(long)

Retrieves a list of campaigns, possibly filtered. This method supports paging.

Declaration
public virtual CampaignsResource.ListRequest List(long profileId)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

Returns
Type Description
CampaignsResource.ListRequest

Patch(Campaign, long, long)

Updates an existing campaign. This method supports patch semantics.

Declaration
public virtual CampaignsResource.PatchRequest Patch(Campaign body, long profileId, long id)
Parameters
Type Name Description
Campaign body

The body of the request.

long profileId

User profile ID associated with this request.

long id

Campaign ID.

Returns
Type Description
CampaignsResource.PatchRequest

Update(Campaign, long)

Updates an existing campaign.

Declaration
public virtual CampaignsResource.UpdateRequest Update(Campaign body, long profileId)
Parameters
Type Name Description
Campaign body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
CampaignsResource.UpdateRequest
In This Article
Back to top Generated by DocFX