作为第三方与 Google Ad Manager 集成
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
第三方不是 Ad Manager 的直接用户,因为他们可能没有自己的 Ad Manager 广告资源网。不过,他们可以为其客户(Ad Manager 客户)创建服务或与 Ad Manager 集成。本指南提供了最佳做法、提示和技巧,涵盖了第三方集成的基础知识。
本指南假定您已具备 Ad Manager API 的应用知识。如果您不熟悉 Ad Manager API,请参阅我们的入门文档。
以第三方身份开始使用
若要使用 Ad Manager API 访问 Ad Manager 客户的广告联盟,请遵循本页中的指南。您无需获得 Google 的额外批准,但请注意,访问或使用 Ad Manager API 即表示您同意 Ad Manager API 条款及条件。
身份验证
请按照我们的身份验证指南确定您的首选身份验证实现方式。
如果您使用服务帐号,则必须请客户将服务帐号添加到他们的 Ad Manager 广告资源网。
请与您的客户讨论您的帐号应具有的角色和权限,以便您的应用可以访问在客户网络上需要的数据。
测试 Ad Manager 集成
建议的测试方法是创建测试广告联盟。您无需已有 Ad Manager 帐号即可创建测试广告联盟。
测试广告联盟无法投放广告,也无法包含客户端在其生产网络上提供的所有功能。如果您需要对测试广告资源网中未提供的 Ad Manager 功能进行测试,请与支持团队联系。
您应向客户明确说明其生产网络上提供哪些功能才能使您的应用正常运行。您的应用应处理可能不存在功能的情况。您的客户有责任与其在 Google 的联系人合作,管理其网络上的功能。
获取支持
如果您遇到 Ad Manager 集成方面的问题,请根据您的具体问题,通过我们提供的以下支持渠道获取帮助。如果您遇到的是产品层面的问题,请在 Ad Manager 产品论坛中发帖提问。如果您有特定于 API 的问题,请与 API 支持团队联系。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eThis guide provides best practices for third-party developers integrating with Google Ad Manager for their clients.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers must adhere to the Ad Manager API terms and conditions, and clients need to grant appropriate service account permissions.\u003c/p\u003e\n"],["\u003cp\u003eCreating a test network is recommended for initial integration testing, but keep in mind they have limitations compared to production networks.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should ensure their applications gracefully handle cases where client networks lack specific features, and refer feature management to the client and Google.\u003c/p\u003e\n"],["\u003cp\u003eFor support, utilize the Ad Manager product forums for general questions and the dedicated API support channel for API-specific inquiries.\u003c/p\u003e\n"]]],["Third parties integrate services with Ad Manager for their clients, who are Ad Manager customers. Accessing client networks via the Ad Manager API requires no Google approval but necessitates adherence to terms and conditions. Authentication, roles, and permissions are managed collaboratively with clients. Testing is recommended using a test network, though feature limitations may require contacting support. Clients manage feature availability, and support is available through product forums or API-specific channels.\n"],null,["# Integrate with Google Ad Manager as a third party\n\nThird parties are not direct users of Ad Manager in that they might not have\ntheir own Ad Manager network. Instead, they create services or integrations with\nAd Manager for their clients, who are Ad Manager customers. This guide covers\nthe basics of third-party integrations by providing best practices, tips, and\ntricks.\n\nThis guide assumes you have a working knowledge of the Ad Manager API. If you're\nunfamiliar with the Ad Manager API, see our [getting started\ndocumentation](/ad-manager/api/beta/getting-started).\n\nGet started as a third party\n----------------------------\n\nTo use the Ad Manager API to access an Ad Manager customer's network, follow\nthe guidelines on this page. No additional approval from Google is required,\nthough note that by accessing or using the Ad Manager API, you agree to the Ad\nManager API [terms and conditions](/ad-manager/api/terms).\n\nAuthentication\n--------------\n\nFollow our [Authentication](/ad-manager/api/beta/authentication) guide to\ndetermine your preferred authentication implementation.\n\nIf you use a Service Account, you must ask your client to [add the service\naccount](//support.google.com/admanager/answer/6078734) to their\nAd Manager network.\n\nDiscuss with your client what\n[roles and permissions](//support.google.com/admanager/answer/177403) your\naccount should have so that your application can access the data it needs on\nyour client's network.\n\nTest your Ad Manager integration\n--------------------------------\n\nThe recommended testing approach is to [create a test network](/ad-manager/api/environments). You don't need an existing Ad Manager account to\ncreate a test network.\n\nTest networks cannot serve ads or contain all the features that your\nclients have available on their production networks. If you need to test against\nAd Manager features that are not available on your test network, contact\n[support](/ad-manager/api/beta/support).\n\nYou should be explicit with your clients about what features they need\nto have available on their production network in order for your application to\nwork properly. Your application should handle cases where features might not\nexist. It is your client's responsibility to work with their contact at Google\nto manage features on their network.\n\nGetting support\n---------------\n\nIf you run into issues with your Ad Manager integration, we offer the following\nsupport channels depending on your issue. If you have a product-level question,\npost in the [Ad Manager product\nforums](//support.google.com/admanager/). If you have an API specific question,\ncontact [API support](/ad-manager/api/beta/support)."]]