Hi,
Thanks for getting back to us.
Please note that as per the guide included in the links below, both
GoogleAdsService.Search and GoogleAdsService.SearchStream would require the
customer_id to be supplied in the request body.
Can you try performing a request to List Accessible Accounts method
If I put the manager id as param of searchStream I got an empty result but
no errors...
$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
$query = "SELECT customer.id, customer.descriptive_name, ad_group.id,
ad_group.name FROM ad_group WHERE ad_group.id = AD_GROUP_ID LIMIT
Thank you for your answer, I have other question:
using the function *search() * or *searchStream()* is the right way to
retrieve info?
$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
$query = "SELECT customer.id, customer.descriptive_name, ad_group.id,
ad_group.name FRO
Thank you for your answer, I have other question:
using the function *search() * or *searchStream()* is the right way to
retrieve info?
$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
$query = "SELECT customer.id, customer.descriptive_name, ad_group.id,
ad_group.name FRO
Hi Jessica,
Thank you for responding back with the additional context of your concern.
As per your use case, customer is an attributed resources of ad_group report so
you should be able to retrieve the customer fields from ad_group report. Here's
an example query for your reference.
SELECT cus
The issue is not the log, is to know if there is possible to retrieve the
*customer.id* having only the *ad_group_id*
doing the* $query* and using *search()* like this:
*$googleAdsServiceClient->search(**$query);*
or something, in the examples couldn't find something about it
Thank you!
On Thurs
Hi Jessica,
Thank you for reaching out to us.
For our team to further check this and provide you with an appropriate
recommendation, could you please provide us with the complete API logs (request
and response with request-id) generated on your end?
request :
https://developers.google.com/goo
Hello!
I have a question and hope someone can help me: how can I get the customer
ID if I only have the ad_group_id?
I tried using this query:
*$query = "SELECT customer.id FROM ad_group WHERE ad_group.id =
".$ad_group_id." LIMIT 1";*
and accessing like this: *$googleAdsClient->getCustomerId(