Hi Rajat,

Based on the provided information, I understand that you are encountering an 
error while adding custom questions to create a lead form asset using the 
Google Ads API. Could you please confirm whether you have followed the earlier 
suggested documents on adding a custom_question_text field to a 
LeadFormCustomQuestionField through the assets.mutate? Also, kindly go through 
the sample example on adding a lead form asset via the API. Please be informed 
that I have tried to create a lead form asset at my end and I'm able to do it 
successfully without any errors. I would suggest you kindly follow the below 
given sample request and response logs for your reference.

Request:

{
  "operations": [
    {
      "create": {
        "leadFormAsset": {
          "businessName": "Interplanetary Cruise",
          "callToActionType": "BOOK_NOW",
          "callToActionDescription": "Latest trip to Jupiter!",
          "headline": "Trip to Jupiter",
          "description": "Our latest trip to Jupiter is now open for booking.",
          "privacyPolicyUrl": "http://example.com/privacy";,
          "fields": [
            {
              "inputType": "FULL_NAME"
            },
            {
              "inputType": "EMAIL"
            },
            {
              "inputType": "PHONE_NUMBER"
            }
          ],
          "customQuestionFields": [
            {
              "singleChoiceAnswers": {
                "answers": [
                  "Before 9AM",
                  "Anytime",
                  "After sometime"
                ]
              }
            }
          ]
        }
      }
    }
  ]
}


Response:

customers/customer_Id/assets/asset_Id

If you still encounter any errors even after following the given suggestions, I 
request you kindly share the updated complete API logs (request and response 
with request-id and request header) generated at your end while adding custom 
questions to lead form asset or at least share the request-id that is generated 
while making the API calls.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.


Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-07-17 07:57:39Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01svNXa:ref" (ADR-00318348)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/sgDUH000000000000000000000000000000000000000000000SZJA4300OXQhgDqxQ5SctYxke_Y9kQ%40sfdc.net.
  • Le... Rajat Singh
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Rajat Singh
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Rajat Singh
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Rajat Singh
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Rajat Singh
                • ... Rajat Singh
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Rajat Singh

Reply via email to