The new Search Ads 360 Reporting API is now available. Join the
searchads-api-announcements Google group to stay up to date on upcoming enhancements and releases.
ConversionCustomMetricHeader
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eConversion custom metric header uses JSON representation for data exchange.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON object includes \u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003ename\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eid\u003c/code\u003e represents the conversion custom metric ID as a string in \u003ccode\u003eint64\u003c/code\u003e format.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e defines the user-specified name for the conversion custom metric.\u003c/p\u003e\n"]]],["The JSON representation of a conversion custom metric includes an `id` and a `name`. The `id` is a string formatted as an int64, representing the unique identifier. The `name` is a string defined by the user, serving as the descriptive label for the metric. These are the key fields within the JSON structure for a custom metric.\n"],null,["# ConversionCustomMetricHeader\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nMessage for conversion custom metric header.\n\n| JSON representation |\n|------------------------------------------|\n| ``` { \"id\": string, \"name\": string } ``` |\n\n| Fields ||\n|--------|----------------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The conversion custom metric ID. |\n| `name` | `string` The user defined name of the conversion custom metric. |"]]