google_ads_php.ini.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [GOOGLE_ADS]
  2. ; Required some config parameters, which can be found at:
  3. ; https://developers.google.com/google-ads/api/docs/first-call/overview#config
  4. developerToken = "DEVELOPER TOKEN"
  5. ; Required for manager accounts only: Specify the login customer ID used to authenticate API calls.
  6. ; This will be the customer ID of the authenticated manager account. You can also specify this later
  7. ; in code if your application uses multiple manager account + OAuth pairs. It should be set
  8. ; without dashes, for example: 1234567890 instead of 123-456-7890.
  9. loginCustomerId = "GOOGLE ADWORDS MANAGER ACCOUNT ID"
  10. loginClientId = "GOOGLE ADWORDS CLIENT ID"
  11. ; This header is only required for methods that update the resources of an entity when permissioned
  12. ; via Linked Accounts in the Google Ads UI (AccountLink resource in the Google Ads API). Set this
  13. ; value to the customer ID of the data provider that updates the resources of the specified
  14. ; customer ID. It should be set without dashes, for example: 1234567890 instead of 123-456-7890.
  15. ; Read https://support.google.com/google-ads/answer/7365001 to learn more about Linked Accounts.
  16. ; linkedCustomerId = "INSERT_LINKED_CUSTOMER_ID_HERE"
  17. ; Optional additional settings.
  18. ; endpoint = "https://googleads.googleapis.com/"
  19. [OAUTH2]
  20. ; Required OAuth2 credentials. Uncomment and fill in the values for the
  21. ; appropriate flow based on your use case.
  22. ; For installed application flow.
  23. clientId = "GMAIL CLIENT ID"
  24. clientSecret = "GMAIL SECRET KEY"
  25. refreshToken = "REFRESH TOKEN"
  26. ; For service account flow.
  27. ; jsonKeyFilePath = "INSERT_ABSOLUTE_PATH_TO_OAUTH2_JSON_KEY_FILE_HERE"
  28. ; scopes = "https://www.googleapis.com/auth/adwords"
  29. ; impersonatedEmail = "INSERT_EMAIL_OF_ACCOUNT_TO_IMPERSONATE_HERE"
  30. [LOGGING]
  31. ; Optional logging settings.
  32. ; logFilePath = "path/to/your/file.log"
  33. ; logLevel = "INFO"
  34. [CONNECTION]
  35. ; Optional proxy settings to be used by requests.
  36. ; If you don't have username and password, just specify host and port.
  37. ; proxy = "protocol://user:pass@host:port"
  38. ; Optional transport settings.
  39. ; By default, "grpc" is used if available otherwise "rest".
  40. ; transport = "grpc"
  41. ; Optional gRPC channel settings.
  42. ; Whether the gRPC channel to use is secure or not. Insecure gRPC channels should not be used in
  43. ; production because they do not use encryption or authentication, they should only be used for
  44. ; testing. By default, it is set to true (secure).
  45. ; grpcChannelIsSecure = true