Returns the rate card which applies for the provided Account
for a budget plan of the specified duration.
HTTP request
POST https://ads.wazeapis.com/v1/{account=accounts/*}:generateRateCard
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
account |
Required. The resource name of the account. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "budgetPlanDuration": string } |
Fields | |
---|---|
budgetPlanDuration |
Duration of budget plan. If not specified the rate card for monthly budget plans is returned. For custom pacing the duration must be a multiple of 86,400, the number of seconds in a day. A duration in seconds with up to nine fractional digits, terminated by ' |
Response body
If successful, the response body contains data with the following structure:
A collection of constraints applied to budget amounts and permitted CPMs for different types of campaign and ads.
JSON representation |
---|
{ "pin": { object ( |
Fields | |
---|---|
pin |
Constraints that apply to pin campaigns. |
arrow |
Constraints that apply to arrow campaigns. |
standardBannerTakeover |
Constraints that apply to takeover campaigns where the |
iabBannerTakeover |
Constraints that apply to takeover campaigns where the |
premiumBannerTakeover |
Constraints that apply to takeover campaigns where the |
BudgetCpmConstraints
Details of budget and CPM restrictions that apply to a particular RateCard.Type
.
JSON representation |
---|
{ "minimumBudgetAmount": { object ( |
Fields | |
---|---|
minimumBudgetAmount |
The minimum permitted budget amount. |
initialBudgetAmount |
The initial budget amount shown in the web interface. This field will be removed after 2022-06-11. |
maximumBudgetAmount |
The maximum permitted budget amount. |
cpm |
The set CPM (cost per thousand impressions) for this |