When I try to fetch the Google ads call at that time leads I'm not able to 
fetch the phone number of that lead

my GAQL query is this:-
{
  "query": "SELECT campaign.id, campaign.name, campaign.resource_name, 
ad_group.id, ad_group.name, ad_group.resource_name, 
call_view.call_duration_seconds, call_view.call_status, 
call_view.call_tracking_display_location, call_view.caller_area_code, 
call_view.caller_phone_number, call_view.caller_country_code, 
call_view.end_call_date_time, call_view.resource_name, 
call_view.start_call_date_time, call_view.type, customer.id, 
customer.status, customer.descriptive_name, customer.resource_name FROM 
call_view"
}

my endpoint is 
this:- 
https://googleads.googleapis.com/v17/customers/{my_manager_acc_no}/googleAds:searchStream

this is the response I'm getting:-
[
    {
        "error": {
            "code": 400,
            "message": "Request contains an invalid argument.",
            "status": "INVALID_ARGUMENT",
            "details": [
                {
                    "@type": 
"type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure",
                    "errors": [
                        {
                            "errorCode": {
                                "queryError": "UNRECOGNIZED_FIELD"
                            },
                            "message": "Unrecognized field in the query: 
'call_view.caller_phone_number'."
                        }
                    ],
                    "requestId": {requestId}
                }
            ]
        }
    }
]

please help me with this error

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/61b1a208-e8d9-4443-a958-4fbd007fa6bfn%40googlegroups.com.
  • UN... Tahir Khan
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Tahir Khan

Reply via email to