QueryExecutionSpec

Defines the query execution parameters.

JSON representation
{
  "adsDataCustomerId": string,
  "matchDataCustomerId": string,
  "startDate": {
    object(Date)
  },
  "endDate": {
    object(Date)
  },
  "timeZone": string,
  "parameterValues": {
    string: {
      object(ParameterValue)
    },
    ...
  },
  "jobId": string
}
Fields
adsDataCustomerId

string (int64 format)

Optional. Linked Ads Data Hub customer ID that owns the ads data used in the query. If absent, then the query will be run using the ads data owned by the Ads Data Hub customer running the query.

matchDataCustomerId

string (int64 format)

Optional. Linked Ads Data Hub customer ID that owns the match data for the query. If absent, then the query will be run using the match data owned by the Ads Data Hub customer ID running the query, if applicable.

startDate

object(Date)

The start date (inclusive) for the query.

endDate

object(Date)

The end date (inclusive) for the query.

timeZone

string

Optional. The time zone for the query start and end dates. If not specified, defaults to 'UTC'.

parameterValues

map (key: string, value: object(ParameterValue))

Any additional parameters expected by the query. Maps each parameter name to its bound value.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

jobId

string

Optional. Job ID for the query operation. The resulting operation will have the name "operations/[jobId]", e.g. "operations/job_123". If an operation with the same job ID already exists, this will result in an error. If absent, a job ID will be generated by the server.

Date

Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:

  • A full date, with non-zero year, month and day values
  • A month and day value, with a zero year, e.g. an anniversary
  • A year on its own, with zero month and day values
  • A year and month value, with a zero day, e.g. a credit card expiration date

Related types are google.type.TimeOfDay and google.protobuf.Timestamp.

JSON representation
{
  "year": number,
  "month": number,
  "day": number
}
Fields
year

number

Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

month

number

Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.

day

number

Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.