fillAllCustomDimensions.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:pyGACustomDimensions 作者: analyticsftw 项目源码 文件源码
def get_service(api_name, api_version, scope, key_file_location, service_account_email):

  credentials = ServiceAccountCredentials.from_p12_keyfile(service_account_email, key_file_location, scopes=scope)
  http = credentials.authorize(httplib2.Http())

  # Build the Google API service object.
  service = build(api_name, api_version, http=http)
  return service
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号