Hi Heidi, Thanks for the response. "requestId": "N-OnfIPCBTNTzC2N4etRtg" - this is request ID from the previous request
I run another request with the same data: Full request is: params = { "operations": [{ "create": { "name": "My Lead Form #1234", "type": "LEAD_FORM", "final_urls": ["https://devel.odore.com"], "leadFormAsset": { "businessName": "Cats LTD", "callToActionType": "LEARN_MORE", "callToActionDescription": "Learn more", "headline": "New Test Lead Form2", "description": "New Test Lead Form description", "privacyPolicyUrl": "https://odore.com/en/privacy-policy/", "fields": [ { "inputType": "EMAIL" }, { "inputType": "FIRST_NAME" }, { "inputType": "LAST_NAME" }, { "inputType": "PHONE_NUMBER" }, { "inputType": "COUNTRY" }, ], "customQuestionFields": [ { "customQuestionText": "Do you own a car?", "singleChoiceAnswers": {"answers": ["good", "bad", "normal"]} }, { "customQuestionText": "Your phonenumber?", "singleChoiceAnswers": {"answers": ["good", "bad", "normal"]} } ], "postSubmitCallToActionType": "VISIT_SITE", "desiredIntent": "LOW_INTENT", "postSubmitHeadline": "Thank you!", "postSubmitDescription": "Thanks for filling Lead Form", } } }], } Full Response is this: { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "fieldError": "INVALID_VALUE" }, "message": "The field's value is invalid.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 }, { "fieldName": "create" }, { "fieldName": "lead_form_asset" }, { "fieldName": "custom_question_fields", "index": 0 }, { "fieldName": "custom_question_text" } ] } }, { "errorCode": { "fieldError": "INVALID_VALUE" }, "message": "The field's value is invalid.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 }, { "fieldName": "create" }, { "fieldName": "lead_form_asset" }, { "fieldName": "custom_question_fields", "index": 1 }, { "fieldName": "custom_question_text" } ] } } ], "requestId": "gJJ1CdSzOIL4mgIfau6qKQ" } ] } Response headers: <CIMultiDictProxy('Request-Id': 'gJJ1CdSzOIL4mgIfau6qKQ', 'Vary': 'Origin', 'Vary': 'X-Origin', 'Vary': 'Referer', 'Content-Type': 'application/json; charset=UTF-8', 'Content-Encoding': 'gzip', 'Date': 'Mon, 05 Sep 2022 14:11:06 GMT', 'Server': 'ESF', 'Cache-Control': 'private', 'X-XSS-Protection': '0', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'Transfer-Encoding': 'chunked')> Request ID : gJJ1CdSzOIL4mgIfau6qKQ Thanks in advance! On Monday, September 5, 2022 at 4:23:08 PM UTC+3 adsapi wrote: > Hi Anna, > > Thank you for reaching out to us. > > Upon seeing your provided logs, I noticed that this is not completed. That > said, could you provide us with the complete API logs (request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > > with request-id > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>) > > generated on your end so our team can further investigate and provide > appropriate recommendations to your concern? > > Since you said that you are using the REST API, you can enable logging via > the curl command by using the -i flag. This will cause the tool to include > the HTTP response headers in the output. > > You may then send the requested information via the Reply privately to > author option. If this option is not available, you may send the details > directly to our googleadsa...@google.com alias instead. > > Best regards, > [image: Google Logo] > Heidi > Google Ads API Team > > > ref:_00D1U1174p._5004Q2dvTj4:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/036eb6f1-ad9f-4702-9988-be8333c6f2bcn%40googlegroups.com.