google-ads.yaml 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # Developer token
  2. ##########################################################################################
  3. # A developer token is required when making requests to the Google Ads API regardless of #
  4. # whether you're using the OAuth2 or Service Account configurations. To obtain a #
  5. # developer token see: #
  6. # https://developers.google.com/google-ads/api/docs/first-call/dev-token #
  7. ##########################################################################################
  8. developer_token: eoizFOU3k7uAtK2S4IJJ6A
  9. # Use proto plus
  10. ##########################################################################################
  11. # This parameter specifies whether the client library should return proto-plus messages #
  12. # or protobuf messages. This value should be explicitly set to either "True" or "False", #
  13. # For more information on the differences between these two types, see our Protobuf #
  14. # Messages guide: #
  15. # https://developers.google.com/google-ads/api/docs/client-libs/python/protobuf-messages #
  16. ##########################################################################################
  17. use_proto_plus: True
  18. # OAuth2 configuration
  19. ##########################################################################################
  20. # The below configuration parameters are used to authenticate using the recommended #
  21. # OAuth2 flow. For more information on authenticating with OAuth2 see: #
  22. # https://developers.google.com/google-ads/api/docs/oauth/overview #
  23. ##########################################################################################
  24. client_id: 996866162565-akepc8cqlcd1o7scrh18n9hoa1pao21g.apps.googleusercontent.com
  25. client_secret: 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
  26. refresh_token: 1//0eOZ5yyVkxH-VCgYIARAAGA4SNwF-L9IrvHJLv2Dyu3cpB1KQh8o7vQ_Yp4Y0i0zjjgeTfrCW6osOLRpPON3EmIaTb7eGsHJJGEU
  27. # Service Account configuration
  28. ##########################################################################################
  29. # To authenticate with a service account add the appropriate values to the below #
  30. # configuration parameters and remove the three OAuth2 credentials above. The #
  31. # "json_key_file_path" value should be a path to your local private key json file, and #
  32. # "impersonated_email" should be the email address that is being used to impersonate the #
  33. # credentials making requests. for more information on service accounts, see: #
  34. # https://developers.google.com/google-ads/api/docs/oauth/service-accounts #
  35. ##########################################################################################
  36. # json_key_file_path: INSERT_PATH_TO_JSON_KEY_FILE_HERE
  37. # impersonated_email: INSERT_DOMAIN_WIDE_DELEGATION_ACCOUNT
  38. # Login customer ID configuration
  39. ##########################################################################################
  40. # Required for manager accounts only: Specify the login customer ID used to authenticate #
  41. # API calls. This will be the customer ID of the authenticated manager account. It #
  42. # should be set without dashes, for example: 1234567890 instead of 123-456-7890. You can #
  43. # also specify this later in code if your application uses multiple manager account + #
  44. # OAuth pairs. #
  45. ##########################################################################################
  46. login_customer_id: 6569683490
  47. # Logging configuration
  48. ##########################################################################################
  49. # Below you may specify the logging configuration. This will be provided as an input to #
  50. # logging.config.dictConfig. Use the "level" block under the root logger configuration #
  51. # to adjust the logging level. Note in the "format" field that log messages are #
  52. # truncated to 5000 characters by default. You can change this to any length by removing #
  53. # the ".5000" portion or changing it to a different number. #
  54. # ########################################################################################
  55. # logging:
  56. # version: 1
  57. # disable_existing_loggers: False
  58. # formatters:
  59. # default_fmt:
  60. # format: '[%(asctime)s - %(levelname)s] %(message).5000s'
  61. # datefmt: '%Y-%m-%d %H:%M:%S'
  62. # handlers:
  63. # default_handler:
  64. # class: logging.StreamHandler
  65. # formatter: default_fmt
  66. # loggers:
  67. # "":
  68. # handlers: [default_handler]
  69. # level: INFO
  70. # Proxy configuration
  71. ##########################################################################################
  72. # Below you can specify an optional proxy configuration to be used by requests. If you #
  73. # don't have username and password, just specify host and port. #
  74. # ########################################################################################
  75. # http_proxy: http://user:password@localhost:8000