标签: php api google-adwords
根据googleads api,我必须在auth.ini文件中设置customerId。无论如何,在使用Google帐户登录时都可以获得Adwords Manager ID,以便我可以使用 $user->SetClientCustomerId('Adwords-Manager-ID');通过client_accounts
customerId
$user->SetClientCustomerId('Adwords-Manager-ID');
client_accounts
GetAccountHierarchy
答案 0 :(得分:0)
您可以使用CustomerService的getCustomer方法检索您正在使用其OAuth2资助的Google帐户可以访问的所有客户ID的列表。
CustomerService
getCustomer