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. Job history will be exported for jobs started on or after startDate but before endDate. startDate cannot be more than 30 days from the current date.
[[["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."],[[["Exports a customer account's job history to their chosen BigQuery dataset."],["Users need to specify the project ID, dataset, start and end dates, and optionally the time zone for the export."],["The API uses a POST request to `https://adsdatahub.googleapis.com/v1/{customer=customers/*}:exportJobHistory` with the customer ID as a path parameter."],["Successful responses return an Operation object, indicating the status of the export job."],["Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope."]]],["This document details the process for exporting a customer's job history to a BigQuery dataset using an HTTP POST request. The request, sent to `https://adsdatahub.googleapis.com/v1/{customer=customers/*}:exportJobHistory`, requires a customer ID as a path parameter. The request body must include the `projectId` and `dataset` for BigQuery, as well as the `startDate` and `endDate` for the export, along with an optional `timeZone`. Successful requests return an Operation instance, and the process needs `https://www.googleapis.com/auth/adsdatahub` authorization scope.\n"]]