如何使用Google Mail登录时获取Adwords Manager ID

时间:2016-11-15 08:58:25

标签: php api google-adwords

根据googleads api,我必须在auth.ini文件中设置customerId。无论如何,在使用Google帐户登录时都可以获得Adwords Manager ID,以便我可以使用 $user->SetClientCustomerId('Adwords-Manager-ID');通过client_accounts

获取GetAccountHierarchy

1 个答案:

答案 0 :(得分:0)

您可以使用CustomerServicegetCustomer方法检索您正在使用其OAuth2资助的Google帐户可以访问的所有客户ID的列表。