curl --request POST \
--url http://localhost:8000/api/v1/google-ads/languages/lookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": 123,
"language_id": 123,
"force_refresh": false
}
'{
"id": 123,
"name": "<string>",
"code": "<string>"
}Get language details for a specific language ID with caching.
This endpoint performs reverse lookup - converts a language ID to human-readable name. Returns full language details including name and code. Results are cached for 30 days unless force_refresh is True.
curl --request POST \
--url http://localhost:8000/api/v1/google-ads/languages/lookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": 123,
"language_id": 123,
"force_refresh": false
}
'{
"id": 123,
"name": "<string>",
"code": "<string>"
}The access token received from the authorization server in the OAuth 2.0 flow.
Optional specific Token ID