public interface BudgetOrderServiceInterface
BudgetOrders.
Note: The mutate action in this service is available only
on a whitelist basis.
Warning: The BudgetOrderService
is limited to one operation per mutate request. Any attempt to make
more than one operation will result in an ApiException.
| Modifier and Type | Method and Description |
|---|---|
BudgetOrderPage |
get(Selector serviceSelector)
Gets a list of
BudgetOrders using the generic selector. |
List<BillingAccount> |
getBillingAccounts()
Returns all the open/active BillingAccounts associated with the current manager.
|
BudgetOrderReturnValue |
mutate(List<BudgetOrderOperation> operations)
Adds, updates, or removes budget orders.
|
@RequestWrapper(localName="get", targetNamespace="https://adwords.google.com/api/adwords/billing/v201809", className="com.google.api.ads.adwords.jaxws.v201809.billing.Get") @ResponseWrapper(localName="getResponse", targetNamespace="https://adwords.google.com/api/adwords/billing/v201809", className="com.google.api.ads.adwords.jaxws.v201809.billing.GetResponse") BudgetOrderPage get(Selector serviceSelector) throws ApiException
BudgetOrders using the generic selector.serviceSelector - specifies which BudgetOrder to return.serviceSelector - BudgetOrderPage of BudgetOrders of the client customer. All BudgetOrder
fields are returned. Stats are not yet supported.ApiExceptionApiException@RequestWrapper(localName="getBillingAccounts", targetNamespace="https://adwords.google.com/api/adwords/billing/v201809", className="com.google.api.ads.adwords.jaxws.v201809.billing.GetBillingAccounts") @ResponseWrapper(localName="getBillingAccountsResponse", targetNamespace="https://adwords.google.com/api/adwords/billing/v201809", className="com.google.api.ads.adwords.jaxws.v201809.billing.GetBillingAccountsResponse") List<BillingAccount> getBillingAccounts() throws ApiException
BillingAccounts.ApiExceptionApiException@RequestWrapper(localName="mutate", targetNamespace="https://adwords.google.com/api/adwords/billing/v201809", className="com.google.api.ads.adwords.jaxws.v201809.billing.Mutate") @ResponseWrapper(localName="mutateResponse", targetNamespace="https://adwords.google.com/api/adwords/billing/v201809", className="com.google.api.ads.adwords.jaxws.v201809.billing.MutateResponse") BudgetOrderReturnValue mutate(List<BudgetOrderOperation> operations) throws ApiException
ADD: Adds a BudgetOrder to the billing account
specified by the billing account ID.
SET: Sets the start/end date and amount of the
BudgetOrder.
REMOVE: Cancels the BudgetOrder (status change).
Warning: The BudgetOrderService
is limited to one operation per mutate request. Any attempt to make more
than one operation will result in an ApiException.
Note: This action is available only on a whitelist basis.
operations - A list of operations, however currently we only
support one operation per mutate call.operations - ApiExceptionApiExceptionCopyright © 2023. All rights reserved.