Resource: BudgetPlan
JSON representation |
---|
{ "name": string, "type": enum ( |
Fields | |
---|---|
name |
The resource name of the budget plan. Format: |
type |
Required. Budget plan type. |
title |
Title used to identify the budget plan in the dashboard. The maximum length is 100 characters. |
createTime |
Output only. Time when this budget plan was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Time when this budget plan was most recently updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field pacing . Pacing is the rate at which a budget is spent. Waze Ads has two pacing options to control how quickly the budget is spent over time. Monthly pacing sets a budget which renews each month, while custom pacing sets a fixed budget to be spent between two dates. pacing can be only one of the following: |
|
monthlyBudget |
A recurring fixed monthly budget. |
customBudget |
A series of flights where a fixed sum of money is spent between two dates. |
Type
Budget plan type.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Type unspecified. |
SEARCH |
The type used for budget plans associated with SEARCH campaigns. |
BILLABLE |
A budget plan with the cost based on the cost per thousand (CPM) set in a Campaign . |
MonthlyBudget
A budget which refreshes automatically every month.
JSON representation |
---|
{ "amount": { object ( |
Fields | |
---|---|
amount |
The maximum spend per month. The budget refreshes automatically every month on the 1st of the month. When the type is There are restrictions on the minimum and maximum values permitted which depend on the duration and details of the campaign where the budget plan will be used. Use |
startDate |
The starting date for a campaign that uses this budget plan. When you create a budget plan, the start date can't be in the past. If the date is partway through a month, then the amount for that month is pro-rated based on the available time that month. This field is required for all monthly budgets. The local time zone of the advertised location or region is used to determine when a campaign should start. The start date must be within the next year. |
Date
Represents a whole calendar date. All fields are required and must be non-zero.
JSON representation |
---|
{ "year": integer, "month": integer, "day": integer } |
Fields | |
---|---|
year |
Year of the date. Required. |
month |
Month of a year. Must be from 1 to 12. Required. |
day |
Day of a month. Must be from 1 to 31 and valid for the year and month. Required. |
CustomBudget
A specific amount to be spent between two specified dates.
JSON representation |
---|
{
"flights": [
{
object ( |
Fields | |
---|---|
flights[] |
A budget plan flight specifies a fixed budget to be spent between two dates. A single flight must be specified for all |
Flight
JSON representation |
---|
{ "amount": { object ( |
Fields | |
---|---|
amount |
Amount to be spent between the There are restrictions on the minimum and maximum values permitted which depend on the details of the campaign where the budget plan will be used. Use |
startDate |
The date when a campaign that uses this budget plan starts. This field is required for all flights. The local time zone of the advertised location or region is used to determine when a campaign should start. The start date must be within the next year. |
endDate |
The last date when a campaign that uses this budget plan serves. This field is required for all flights. This date is inclusive, so an The local time zone of the advertised location or region is used to determine when a campaign should end. The end date must be within one year of the flight start date. |
Methods |
|
---|---|
|
Creates a new budget plan. |
|
Returns the requested budget plan. |
|
Lists the budget plans from an account, ordered by name . |
|
Updates an existing budget plan. |