Class CampaignBudget
Settings that control how the campaign budget is allocated.
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v4.Data
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class CampaignBudget : IDirectResponseSchema
Properties
BudgetAmountMicros
Required. The total amount the linked insertion order segments can budget. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.
Declaration
[JsonProperty("budgetAmountMicros")]
public virtual long? BudgetAmountMicros { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
BudgetId
The unique ID of the campaign budget. Assigned by the system. Do not set for new budgets. Must be included when updating or adding budgets to campaign_budgets. Otherwise, a new ID will be generated and assigned.
Declaration
[JsonProperty("budgetId")]
public virtual long? BudgetId { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
BudgetUnit
Required. Immutable. Specifies whether the budget is measured in currency or impressions.
Declaration
[JsonProperty("budgetUnit")]
public virtual string BudgetUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DateRange
Required. The date range for the campaign budget. Linked budget segments may have a different date range.
They are resolved relative to the parent advertiser's time zone. Both start_date and end_date must be
before the year 2037.
Declaration
[JsonProperty("dateRange")]
public virtual DateRange DateRange { get; set; }
Property Value
| Type | Description |
|---|---|
| DateRange |
DisplayName
Required. The display name of the budget. Must be UTF-8 encoded with a maximum size of 240 bytes.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalBudgetId
Immutable. The ID identifying this budget to the external source. If this field is set and the invoice detail level of the corresponding billing profile is set to "Budget level PO", all impressions served against this budget will include this ID on the invoice. Must be unique under the campaign.
Declaration
[JsonProperty("externalBudgetId")]
public virtual string ExternalBudgetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalBudgetSource
Required. The external source of the budget.
Declaration
[JsonProperty("externalBudgetSource")]
public virtual string ExternalBudgetSource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InvoiceGroupingId
Immutable. The ID used to group budgets to be included the same invoice. If this field is set and the invoice level of the corresponding billing profile is set to "Budget invoice grouping ID", all external_budget_id sharing the same invoice_grouping_id will be grouped in the same invoice.
Declaration
[JsonProperty("invoiceGroupingId")]
public virtual string InvoiceGroupingId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrismaConfig
Additional metadata for use by the Mediaocean Prisma tool. Required for Mediaocean budgets. Only applicable to prisma_enabled advertisers.
Declaration
[JsonProperty("prismaConfig")]
public virtual PrismaConfig PrismaConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| PrismaConfig |