account | array (also accepts a comma-separated string) | No | - | The GA4 property to delete or link. Not used on create. |
action | string or SelectableOption | Yes | - | ‘create’ makes a new GA4 property under a Google Analytics account; ‘delete’ moves a property to the trash (Google restores it from the UI within 35 days, then deletes it for good); ‘link_firebase’ connects a Firebase project so its app streams report into the property; ‘unlink_firebase’ removes that link. Options: ‘create’, ‘delete’, ‘link_firebase’, ‘unlink_firebase’. |
parent_account_id | string | No | - | create only: numeric Google Analytics account id that will own the property, e.g. ‘84469679’. The connected user needs Editor access on it. Read account ids from ga4_select_accounts. |
display_name | string | No | - | create: property name (max 100 chars). |
time_zone | string | No | - | create: reporting time zone, IANA name such as ‘Europe/Berlin’. Required. |
currency_code | string | No | - | create: reporting currency, ISO 4217 code such as ‘EUR’. Defaults to USD. |
industry_category | string or SelectableOption | No | - | create: industry used for benchmarking, e.g. ‘SHOPPING’. |
acknowledge_user_data_collection | boolean | No | - | create: must be true. Google requires every new property to acknowledge its user data collection terms before it can report. Setting this to true sends Google’s acknowledgement text on the connected user’s behalf: that the user has the necessary privacy disclosures and rights from end users for collecting and processing their data in Google Analytics. |
firebase_project | string | No | - | link_firebase: Firebase project number or id, e.g. ‘123456789012’ or ‘my-app-prod’. |
firebase_link_id | string | No | - | unlink_firebase: numeric id of the Firebase link. Read it from ga4_get_property_settings with setting ‘firebase_links’. |