HOw to get callerId in Google Ads Api report, from call_view

10 views
Skip to first unread message

Smart Solutions

unread,
May 23, 2024, 8:34:04 PMMay 23
to Google Ads API and AdWords API Forum
Hi!

When I perform a call to get data from Google Ad Extensions to connect this data to CRM and upload conversion later I need callerId for it.

But in call_view  Attribute Resource Fields  there is no such property. https://developers.google.com/google-ads/api/fields/v16/call_view_query_builder

How to get it to later upload the conversion???.


Example of call


curl --location 'https://googleads.googleapis.com/v16/customers/xxx/googleAds:searchStream' \

--data '
{
  "query": "SELECT call_view.call_duration_seconds, call_view.call_status, call_view.caller_area_code, call_view.callerId, call_view.call_tracking_display_location, call_view.caller_country_code, call_view.end_call_date_time, call_view.resource_name, call_view.start_call_date_time, call_view.type FROM call_view WHERE call_view.start_call_date_time DURING LAST_14_DAYS PARAMETERS include_drafts=true"
}'

responce

[
{
"results": [
{
"callView": {
"resourceName": "customers/xxxxx/callViews/604462064529xxxx",
"callerCountryCode": "1",
"callerAreaCode": "416",
"callDurationSeconds": "561",
"startCallDateTime": "2024-05-09 08:19:51",
"endCallDateTime": "2024-05-09 08:29:12",
"callTrackingDisplayLocation": "AD",
"type": "HIGH_END_MOBILE_SEARCH",
"callStatus": "RECEIVED"
}
},

Thanks

Reply all
Reply to author
Forward
0 new messages