Structured snippet creation fails with - invalid snippet header

9 views
Skip to first unread message

OC

unread,
Sep 16, 2021, 4:34:53 AMSep 16
to AdWords API and Google Ads API Forum
Hi,

I'm trying to create a Structured Snippet Extension Feed Item, but get the "Invalid structured snippet header." error, although a header value is set. From the error message it seems that header value is a blank string and in the request it can be seen that it is not.

Could this be an issue in the API?

Request:
mutate_operations {
  extension_feed_item_operation {
    create {
      structured_snippet_feed_item {
        header: "Emisije2"
        values: "Value 21"
        values: "Value 22"
        values: "Value 23"
      }
      extension_type: STRUCTURED_SNIPPET
    }
  }
}

Response:
Failure message: errors {
  error_code {
    extension_feed_item_error: INVALID_SNIPPETS_HEADER
  }
  message: "Invalid structured snippet header."
  trigger {
    string_value: ""
  }
  location {
    field_path_elements {
      field_name: "mutate_operations"
      index: 0
    }
    field_path_elements {
      field_name: "extension_feed_item_operation"
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "structured_snippet_feed_item"
    }
    field_path_elements {
      field_name: "header"
    }
  }
}

Thanks!

Google Ads API Forum Advisor

unread,
Sep 17, 2021, 11:20:29 AMSep 17
to osib.cvj...@cloudsense.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. Can you please reply privately to us with the complete request and response logs that include the customer and request ID?

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2NUd7B:ref
Reply all
Reply to author
Forward
0 new messages