So in Google Ad Scripts the query for returning a tracking url template works fine. But when I use the api it does not return the value despite a successful response.
Here is my query:
SELECT
customer.auto_tagging_enabled,
customer.tracking_url_template
FROM
customer_client
WHERE
customer_client.id = '${customerId}'
And here is the result:
{
"results": [
{
"customer": {
"resourceName": "customers/the_id",
"autoTaggingEnabled": true
},
"customerClient": {
"resourceName": "customers/mcc_id/customerClients/the_id"
}
}
],
"fieldMask": "customer.autoTaggingEnabled,customer.trackingUrlTemplate",
"queryResourceConsumption": "274"
}
As you can see the autoTaggingEnabled field is returned but not the trackingURLTemplate.
Any help on retrieving this? I'm on a MCC Admin account and via UI i have access to it.