Show / Hide Table of Contents

Class BudgetResource

The "budget" collection of methods.

Inheritance
System.Object
BudgetResource
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 BudgetResource

Constructors

BudgetResource(IClientService)

Constructs a new resource.

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

Methods

Get(Int64, Int64)

Returns the budget information for the adgroup specified by the accountId and billingId.

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

The account id to get the budget information for.

System.Int64 billingId

The billing id to get the budget information for.

Returns
Type Description
BudgetResource.GetRequest

Patch(Budget, Int64, Int64)

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.

Declaration
public virtual BudgetResource.PatchRequest Patch(Budget body, long accountId, long billingId)
Parameters
Type Name Description
Budget body

The body of the request.

System.Int64 accountId

The account id associated with the budget being updated.

System.Int64 billingId

The billing id associated with the budget being updated.

Returns
Type Description
BudgetResource.PatchRequest

Update(Budget, Int64, Int64)

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.

Declaration
public virtual BudgetResource.UpdateRequest Update(Budget body, long accountId, long billingId)
Parameters
Type Name Description
Budget body

The body of the request.

System.Int64 accountId

The account id associated with the budget being updated.

System.Int64 billingId

The billing id associated with the budget being updated.

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