This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the Marketers site. If you are a measurement partner, refer to the Measurement Partners site.
Required. Name of the data access budget. Format: customers/{customerId}/adsDataCustomers/{adsDataCustomerId}/dataAccessBudget e.g. 'customers/123/adsDataCustomers/456/dataAccessBudget'.
Request body
The request body must be empty.
Response body
Data access budget state per date.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Retrieves the data access budget for the requested ads data source for the last 366 days."],["Uses the `GET` method and requires the `https://www.googleapis.com/auth/adsdatahub` authorization scope."],["Provides the budget state per date, indicating whether it's within the normal level, nearly exhausted, or exhausted."],["The response includes a `dataDayState` array with objects containing the date and corresponding budget state."],["The budget state can be `BUDGET_STATE_ENOUGH_BUDGET`, `BUDGET_STATE_BUDGET_IS_NEARLY_EXHAUSTED`, or `BUDGET_STATE_OUT_OF_BUDGET`."]]],["The `GET` request to `https://adsdatahub.googleapis.com/v1/{name=customers/*/adsDataCustomers/*/dataAccessBudget}` retrieves data access budget details for the past 366 days, with `name` as a required path parameter. The request body is empty, and the response body includes `dataDayState`, an array of objects containing the budget's state per date. Each `DataDayState` includes `date` and `budgetState`, which can be `BUDGET_STATE_UNSPECIFIED`, `BUDGET_STATE_ENOUGH_BUDGET`, `BUDGET_STATE_BUDGET_IS_NEARLY_EXHAUSTED`, or `BUDGET_STATE_OUT_OF_BUDGET`. Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope.\n"]]