Returns the city name of the specified Google Ads criteria ID.
Sample usage
TOCITY(Criteria ID)
Syntax
TOCITY(X)
Parameters
X
- A field that provides a valid Google Ads criteria ID for a city
Examples
Example formula | Input | Output |
---|---|---|
TOCITY(City Code) |
1023191 | New York |
Note: passing a non-existent or incorrect
criteria_ID
may result in an error in your charts. For example, passing a criteria_ID
for a country or neighborhood instead of a city will break your chart.