Get domain of Adwords Account

14 views
Skip to first unread message

maurice....@griffithuni.edu.au

unread,
Aug 2, 2016, 1:31:36 AM8/2/16
to AdWords API Forum
Hi Support Team,

Is there a way to retrieve the Website (domain) for an adwords account via PHP? Can get the companyName and DescriptiveName but no domain.

Below is the code used to retrieve Names:


    $CustomerService = $client_user->GetCustomerService(ADWORDS_VERSION); 
    $account =  $CustomerService->get('customerId');
    $customer_adwords_ID = $account->customerId;    
    $domain = $account->companyName; 

Thanks in Advance,
Maurice

Peter Oliquino

unread,
Aug 2, 2016, 2:39:16 AM8/2/16
to AdWords API Forum
Hi Maurice,

Unfortunately, there is no URL field supported for the CustomerService since there is currently no way of associating a customer account with a domain.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages