Show / Hide Table of Contents

Class PretargetingConfigResource

The "pretargetingConfig" collection of methods.

Inheritance
System.Object
PretargetingConfigResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AdExchangeBuyer.v1_4
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class PretargetingConfigResource

Constructors

PretargetingConfigResource(IClientService)

Constructs a new resource.

Declaration
public PretargetingConfigResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Delete(Int64, Int64)

Deletes an existing pretargeting config.

Declaration
public virtual PretargetingConfigResource.DeleteRequest Delete(long accountId, long configId)
Parameters
Type Name Description
System.Int64 accountId

The account id to delete the pretargeting config for.

System.Int64 configId

The specific id of the configuration to delete.

Returns
Type Description
PretargetingConfigResource.DeleteRequest

Get(Int64, Int64)

Gets a specific pretargeting configuration

Declaration
public virtual PretargetingConfigResource.GetRequest Get(long accountId, long configId)
Parameters
Type Name Description
System.Int64 accountId

The account id to get the pretargeting config for.

System.Int64 configId

The specific id of the configuration to retrieve.

Returns
Type Description
PretargetingConfigResource.GetRequest

Insert(PretargetingConfig, Int64)

Inserts a new pretargeting configuration.

Declaration
public virtual PretargetingConfigResource.InsertRequest Insert(PretargetingConfig body, long accountId)
Parameters
Type Name Description
PretargetingConfig body

The body of the request.

System.Int64 accountId

The account id to insert the pretargeting config for.

Returns
Type Description
PretargetingConfigResource.InsertRequest

List(Int64)

Retrieves a list of the authenticated user's pretargeting configurations.

Declaration
public virtual PretargetingConfigResource.ListRequest List(long accountId)
Parameters
Type Name Description
System.Int64 accountId

The account id to get the pretargeting configs for.

Returns
Type Description
PretargetingConfigResource.ListRequest

Patch(PretargetingConfig, Int64, Int64)

Updates an existing pretargeting config. This method supports patch semantics.

Declaration
public virtual PretargetingConfigResource.PatchRequest Patch(PretargetingConfig body, long accountId, long configId)
Parameters
Type Name Description
PretargetingConfig body

The body of the request.

System.Int64 accountId

The account id to update the pretargeting config for.

System.Int64 configId

The specific id of the configuration to update.

Returns
Type Description
PretargetingConfigResource.PatchRequest

Update(PretargetingConfig, Int64, Int64)

Updates an existing pretargeting config.

Declaration
public virtual PretargetingConfigResource.UpdateRequest Update(PretargetingConfig body, long accountId, long configId)
Parameters
Type Name Description
PretargetingConfig body

The body of the request.

System.Int64 accountId

The account id to update the pretargeting config for.

System.Int64 configId

The specific id of the configuration to update.

Returns
Type Description
PretargetingConfigResource.UpdateRequest
In This Article
Back to top