Skip to content

Commit 40c18ae

Browse files
authored
Revert change history key events change (#16)
There isn't a key_event (to replace conversion_event) in ChangeHistoryResource yet.
1 parent 9949569 commit 40c18ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

google-analytics-admin/accounts_search_change_history_events.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
See https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents
2121
for more information.
2222
"""
23-
# [START analyticsadmin_properties_key_events_create]
23+
# [START analyticsadmin_accounts_search_change_history_events]
2424
from datetime import datetime, timedelta
2525

2626
from google.analytics.admin import (
@@ -107,8 +107,8 @@ def print_resource(resource):
107107
print(" DisplayVideo360AdvertiserLink resource")
108108
elif resource.display_video_360_advertiser_link_proposal:
109109
print(" DisplayVideo360AdvertiserLinkProposal resource")
110-
elif resource.key_event:
111-
print(" KeyEvent resource")
110+
elif resource.conversion_event:
111+
print(" ConversionEvent resource")
112112
elif resource.measurement_protocol_secret:
113113
print(" MeasurementProtocolSecret resource")
114114
elif resource.custom_dimension:
@@ -123,7 +123,7 @@ def print_resource(resource):
123123
print()
124124

125125

126-
# [END analyticsadmin_properties_key_events_create]
126+
# [END analyticsadmin_accounts_search_change_history_events]
127127

128128
if __name__ == "__main__":
129129
run_sample()

0 commit comments

Comments
 (0)