Skip to main content
POST
/
api
/
v1
/
analysis-customer-configs
/
convert-time
Convert Time To Utc
curl --request POST \
  --url http://localhost:8000/api/v1/analysis-customer-configs/convert-time \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "time_to_run__at_customer_timezone": "<string>"
}
'
{
  "time_to_run__at_customer_timezone": "<string>",
  "time_to_run__utc": "<string>",
  "customer_timezone": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

customer_id
integer
required

The Google Ads customer ID

Body

application/json

Schema for time conversion request.

time_to_run__at_customer_timezone
string<time>
required

Response

Successful Response

Schema for time conversion response.

time_to_run__at_customer_timezone
string<time>
required
time_to_run__utc
string<time>
required
customer_timezone
string
required