Re: get customer id - php v13 google ads

2023-05-05 Thread Jessica Villa
Id(), ]; } is there any function where customer id don't need to be required in order to get the customer id? Thank you again! On Friday, May 5, 2023 at 11:41:28 AM UTC-6 Jessica Villa wrote: > Thank you for your answer, I have other question: > using the function *search()

Re: get customer id - php v13 google ads

2023-05-05 Thread Jessica Villa
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

Re: get customer id - php v13 google ads

2023-05-05 Thread Jessica Villa
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

Re: get customer id - php v13 google ads

2023-05-04 Thread Jessica Villa
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

Get customer ID - PHP V13 Google Ads

2023-05-03 Thread Jessica Villa
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(

Understand the values retrieved by the php api of google ads

2023-04-18 Thread Jessica Villa
Hello! I hope someone can help me to understand this. I have this query: *SELECT** campaign.primary_status, * * campaign.campaign_group, * * metrics.cost_per_conversion, * * campaign.name,* * segments.date,* * metrics.clicks,* * metrics.cost_micros* * FROM campaign WHERE segments.date DURING LAST