If set, the Reporting Data Annotation is for a specific date represented by this field. The date must be a valid date with year, month and day set. The date may be in the past, present, or future.
If set, the Reporting Data Annotation is for a range of dates represented by this field.
↳ name
string
Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format: 'properties/123/reportingDataAnnotations/456'
↳ title
string
Required. Human-readable title for this Reporting Data Annotation.
↳ description
string
Optional. Description for this Reporting Data Annotation.
↳ color
int
Required. The color used for display of this Reporting Data Annotation.
↳ system_generated
bool
Output only. If true, this annotation was generated by the Google Analytics system. System-generated annotations cannot be updated or deleted.
getAnnotationDate
If set, the Reporting Data Annotation is for a specific date represented
by this field. The date must be a valid date with year, month and day
set. The date may be in the past, present, or future.
If set, the Reporting Data Annotation is for a specific date represented
by this field. The date must be a valid date with year, month and day
set. The date may be in the past, present, or future.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Analytics Admin V1alpha Client - Class ReportingDataAnnotation (0.29.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.29.1 (latest)](/php/docs/reference/analytics-admin/latest/V1alpha.ReportingDataAnnotation)\n- [0.29.0](/php/docs/reference/analytics-admin/0.29.0/V1alpha.ReportingDataAnnotation)\n- [0.28.1](/php/docs/reference/analytics-admin/0.28.1/V1alpha.ReportingDataAnnotation)\n- [0.27.0](/php/docs/reference/analytics-admin/0.27.0/V1alpha.ReportingDataAnnotation)\n- [0.26.0](/php/docs/reference/analytics-admin/0.26.0/V1alpha.ReportingDataAnnotation)\n- [0.25.2](/php/docs/reference/analytics-admin/0.25.2/V1alpha.ReportingDataAnnotation)\n- [0.24.2](/php/docs/reference/analytics-admin/0.24.2/V1alpha.ReportingDataAnnotation)\n- [0.23.0](/php/docs/reference/analytics-admin/0.23.0/V1alpha.ReportingDataAnnotation)\n- [0.22.5](/php/docs/reference/analytics-admin/0.22.5/V1alpha.ReportingDataAnnotation)\n- [0.20.0](/php/docs/reference/analytics-admin/0.20.0/V1alpha.ReportingDataAnnotation)\n- [0.19.0](/php/docs/reference/analytics-admin/0.19.0/V1alpha.ReportingDataAnnotation)\n- [0.18.1](/php/docs/reference/analytics-admin/0.18.1/V1alpha.ReportingDataAnnotation)\n- [0.17.0](/php/docs/reference/analytics-admin/0.17.0/V1alpha.ReportingDataAnnotation)\n- [0.16.0](/php/docs/reference/analytics-admin/0.16.0/V1alpha.ReportingDataAnnotation)\n- [0.15.1](/php/docs/reference/analytics-admin/0.15.1/V1alpha.ReportingDataAnnotation)\n- [0.14.0](/php/docs/reference/analytics-admin/0.14.0/V1alpha.ReportingDataAnnotation)\n- [0.13.0](/php/docs/reference/analytics-admin/0.13.0/V1alpha.ReportingDataAnnotation)\n- [0.12.0](/php/docs/reference/analytics-admin/0.12.0/V1alpha.ReportingDataAnnotation)\n- [0.11.1](/php/docs/reference/analytics-admin/0.11.1/V1alpha.ReportingDataAnnotation)\n- [0.10.0](/php/docs/reference/analytics-admin/0.10.0/V1alpha.ReportingDataAnnotation)\n- [0.9.0](/php/docs/reference/analytics-admin/0.9.0/V1alpha.ReportingDataAnnotation)\n- [0.8.2](/php/docs/reference/analytics-admin/0.8.2/V1alpha.ReportingDataAnnotation) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Analytics Admin V1alpha Client class ReportingDataAnnotation.\n\nA Reporting Data Annotation is a comment connected to certain dates for\nreporting data.\n\nGenerated from protobuf message `google.analytics.admin.v1alpha.ReportingDataAnnotation`\n\nNamespace\n---------\n\nGoogle \\\\ Analytics \\\\ Admin \\\\ V1alpha\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAnnotationDate\n\nIf set, the Reporting Data Annotation is for a specific date represented\nby this field. The date must be a valid date with year, month and day\nset. The date may be in the past, present, or future.\n\n### hasAnnotationDate\n\n### setAnnotationDate\n\nIf set, the Reporting Data Annotation is for a specific date represented\nby this field. The date must be a valid date with year, month and day\nset. The date may be in the past, present, or future.\n\n### getAnnotationDateRange\n\nIf set, the Reporting Data Annotation is for a range of dates represented\nby this field.\n\n### hasAnnotationDateRange\n\n### setAnnotationDateRange\n\nIf set, the Reporting Data Annotation is for a range of dates represented\nby this field.\n\n### getName\n\nRequired. Identifier. Resource name of this Reporting Data Annotation.\n\nFormat:\n'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}'\nFormat: 'properties/123/reportingDataAnnotations/456'\n\n### setName\n\nRequired. Identifier. Resource name of this Reporting Data Annotation.\n\nFormat:\n'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}'\nFormat: 'properties/123/reportingDataAnnotations/456'\n\n### getTitle\n\nRequired. Human-readable title for this Reporting Data Annotation.\n\n### setTitle\n\nRequired. Human-readable title for this Reporting Data Annotation.\n\n### getDescription\n\nOptional. Description for this Reporting Data Annotation.\n\n### setDescription\n\nOptional. Description for this Reporting Data Annotation.\n\n### getColor\n\nRequired. The color used for display of this Reporting Data Annotation.\n\n### setColor\n\nRequired. The color used for display of this Reporting Data Annotation.\n\n### getSystemGenerated\n\nOutput only. If true, this annotation was generated by the Google Analytics\nsystem. System-generated annotations cannot be updated or deleted.\n\n### setSystemGenerated\n\nOutput only. If true, this annotation was generated by the Google Analytics\nsystem. System-generated annotations cannot be updated or deleted.\n\n### getTarget"]]