googleads / google-ads-php

Google Ads API Client Library for PHP
https://developers.google.com/google-ads/api/docs/client-libs/php
Apache License 2.0
280 stars 260 forks source link

Hi Google support, #992

Closed sathyaswetha closed 6 months ago

sathyaswetha commented 6 months ago

Screenshot from 2024-02-01 16-35-19 We are developing an integration where we are using the following code to fetch the "Accessible List of customers" and we have a UI where we list these customers (accounts). But the code is giving onlty the ID as resourceName response. The id would not make for a good UI experience while our customers select the account. So could yoh help us with how we must frame the code to get the expected response.

fiboknacky commented 6 months ago

You can use the customer report to retrieve other fields of the customers. If you're not familiar with reporting, please read through this section first. The code would be similar to GetCampaigns, but you need to change the resource name from campaign to customer.

fiboknacky commented 6 months ago

Closing as the solution is provided.