[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[],[],null,["# Set up to receive reports\n\nTo receive your Cloud Marketplace reports in CSV format, set up a Google Drive folder,\na Cloud Storage bucket, or both. You must be an owner for the destination\nyou choose. For example, if you use a Drive folder, your\nGoogle Cloud account must have the **Can organize, add \\& edit**\npermission for the folder.\n| **Note:** We don't support shared Google Drive locations. If you need to store your reports in a Google Drive location, use a folder located in the top level of your Google Drive.\n\nYour reports can be stored in a Google Drive location, a Cloud Storage\nbucket, or both. When you set up your destination, your Google Workspace or\nCloud Storage administrator must ensure that the destinations can\nbe shared with the `google.com` and `system.gserviceaccount.com` domains.\n\n- [Learn about sharing permissions for Google Drive](https://support.google.com/drive/answer/2494822).\n- [Learn about restricting access to Google Cloud resources by domain](/resource-manager/docs/organization-policy/restricting-domains).\n\nWhen you add your report destination, the following accounts are added as\neditors or storage object administrators, as applicable:\n\n- The `cloud-marketplace-stats@system.gserviceaccount.com` service account, which uploads reports to the bucket.\n- The `gcp-marketplace-business-operations@google.com` Google group, to debug and troubleshoot issues that you might have with reports.\n\nIf you're setting up a Cloud Storage bucket, we recommend that\nyou [use access control lists (ACLs)](/storage/docs/access-control/lists) for\nthe bucket. We also recommend that you\n[remove any retention policies](/storage/docs/using-bucket-lock#set-policy) that\nyou might have on the bucket, because the retention policy might prevent reports\nfrom being updated until the retention period has passed.\n\nIf you use Uniform Bucket Level Access, note that the following organization\npolicies might interfere with access:\n\n- [Domain Restricted Sharing](/resource-manager/docs/organization-policy/restricting-domains) prevents adding either of these principals into IAM for the bucket's project,\n- [Cross Project Service Account](/resource-manager/docs/organization-policy/restricting-service-accounts#disable_cross_project_service_accounts) prevents adding the service account.\n\nTo remove these organization policies for your bucket, for the folder or project\nthat holds your bucket, request that your organization policy administrator\nset the policy to the Google default handling. You can also work around one or\nboth policies by creating an internal group, adding the principals to that\ngroup, and then giving that group the required permissions.\n| **Note:** If your domain administrator has restricted group membership to exclude external members, they might be able to remove that restriction for this new group by using the [following instructions](https://support.google.com/a/answer/11192679).\n\nAfter you set up a location to store the reports, you must set up how they are\ndelivered.\n\nTo set up delivery, use the following steps:\n\n1. In Producer Portal, open the **Reports** page. The direct link to the\n page is:\n\n https://console.cloud.google.com/producer-portal/partner-report?project=\u003cvar translate=\"no\"\u003eYOUR_PUBLIC_PROJECT_ID\u003c/var\u003e\n\n Your public project ID is the ID of the project that hosts the components of\n your product. You create this project [when you sign up to become a partner](/marketplace/docs/partners/get-started#list-solution).\n2. To add a report destination, click **Add destination** in CSV Export tab.\n\n3. Under **Destination location**, select whether you want to send reports to\n a Google Drive folder or a Cloud Storage bucket.\n\n4. Click **Browse** and select a folder or bucket, as applicable.\n\n5. Select the report(s) to save in that destination. You can send each\n report to as many destinations as you need.\n\n6. If you want additional levels of detail in usage reports, under **Usage\n report options**, select one or more of these options:\n\n - **Separate customer usage by location**: Splits your usage and disbursement report by the customers' locations.\n - **Separate customer usage by billing account**: Splits your usage and disbursement report by the customers' Cloud Billing accounts.\n\n For information on what is included in the report, see\n [Charges and usage reports](/marketplace/docs/partners/reports/report-charges-usage).\n7. If you want to set up more destinations, repeat these steps.\n\n8. Optionally, add one or more Cloud Billing accounts to use for testing.\n To learn about product testing, visit [Testing your published Google Cloud Marketplace\n products](/marketplace/docs/partners/testing-products).\n\n9. To save your changes, click **Save**. You must agree to give the\n Cloud Marketplace accounts access to your report destinations.\n\nReports in BigQuery\n-------------------\n\nTo receive your Cloud Marketplace reports in BigQuery, follow these steps:\n\n1. In the Producer Portal **Reports** page, navigate to the **BigQuery Export** tab.\n\n2. Click **Enable Export**.\n\n3. If the BigQuery API is not already enabled in your project, a\n warning message appears. Click **Enable** and wait a few minutes for the\n change to take effect. Then, click **Enable Export** again.\n\n4. After you enable the export, allow up to 24 hours for the data to populate.\n A [linked dataset](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#linked_datasets)\n is created in your project, which you can use to access and analyze your data.\n\n### Costs incurred by partners\n\nGoogle Cloud Marketplace partners won't incur any BigQuery storage\ncosts as part of enabling this feature for their Producer Portal projects.\nHowever, appropriate BigQuery costs will be incurred for any queries\non the data such as SQL queries, user-defined functions, scripts, and certain\ndata manipulation language (DML) and data definition language (DDL) statements.\nLearn more about [BigQuery pricing](https://cloud.google.com/bigquery/pricing).\n\n### BigQuery data retention policy\n\nOnce enabled, the system backfills historical data for approximately the last two years.\nThe data retention period for these reports is five years.\n\n### Troubleshooting\n\nIf the linked dataset is accidentally deleted, you can recover it by\ndisabling and then re-enabling the export from the **BigQuery Export** tab.\n\nSet up notifications for your reports\n-------------------------------------\n\nTo ensure that you receive timely updates from the Google Cloud Marketplace team, we\nrecommend that you set up notifications for your Cloud Marketplace reports.\nThis can help you get your reports as quickly as possible if any of the\nfollowing occur:\n\n- Delayed reports.\n- Reports with incomplete or inaccurate data.\n- Reports that had to be regenerated.\n\nTo set up notifications for your Cloud Marketplace reports, complete the\nfollowing steps:\n\n1. Turn on the\n [Essential Contacts API](/resource-manager/docs/managing-notification-contacts).\n\n2. In Essential Contacts, add the individuals or groups that you want to receive\n reporting notifications to the Cloud Billing category.\n\n| **Note:** When you set up your organization's essential contacts, you can assign individuals, groups, or a mixture of both individuals and groups as contacts. To ensure that your notifications only go to active employees, and to reduce the impact of personnel changes, we recommend that you assign groups as your organization's contacts, and then control who gets notifications by managing the membership of those groups."]]