I have created a webhook API so that when any lead is captured on extension 
form, the details flows to our CRM and we can store details at our end.

>From the lead details we got from Google as request data, we need to get Ad 
details like AdId, AdName, etc. We are able to get the ad_group details but 
how we can get that lead's ad detail? We can't find ad_id in the request 
data received from google. Following json object I got from one article and 
it doesn't have ad_id. So how I can get ad details from the following lead 
detail?

{
  
"lead_id":"Cj0KCQjwit_8BRCoARIsAIx3Rj7g-AeL6z35IWb6VYiZUygtTfwD3hDlgSGmY-XTTlK3lfV1wcuIwIAaAmMxEALw_wcB",
  "campaign_id":123456,
  "adgroup_id":0,
  "creative_id":0,
  
"gcl_id":"Cj0KCQjwit_8BRCoARIsAIx3Rj7g-AeL6z35IWb6VYiZUygtTfwD3hDlgSGmY-XTTlK3lfV1wcuIwIAaAmMxEALw_wcB",
  "user_column_data": [
    {
      "column_name": "Full Name",
      "string_value":"FirstName LastName",
      "column_id": "FULL_NAME"
    },
    {
      "column_name":"User Phone",
      "string_value":"1-650-555-0123",
      "column_id":"PHONE_NUMBER"
    },
    {
      "column_name":"User Email",
      "string_value":"t...@example.com",
      "column_id":"EMAIL"
    }],
  "api_version":"1.0",
  "form_id":123456789,
  "google_key":"testkey",
  "is_test":true
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/04f74629-3665-41cf-9109-81a02a40bdben%40googlegroups.com.
  • Ge... Anant Trivedi
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to