Replace the following keys and values in your googleads.properties configuration file:
clientId==***********************apps.googleusercontent.com
clientSecret=****
refreshToken=****
返回运行示例的控制台,然后按 Ctrl + C 终止进程。然后,将生成的刷新令牌连同客户端 ID 和客户端密钥复制到您的 googleads.properties 中,或将其保存到其他位置,以便在运行时实例化库时使用。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-11-09。"],[[["This guide provides instructions on setting up OAuth2 for API access using your own credentials."],["You can set this up using either the desktop or web flow, requiring a one-time setup unless credentials are modified."],["The process involves creating OAuth2 credentials, setting up the client library, and authorizing access to your Google Ads account."],["You'll need to obtain a refresh token, client ID, and client secret to configure the client library for API access."]]],[]]