Re: how to get the geo data of google ads one day?

2021-11-16 Thread 'chaoming chen' via AdWords API and Google Ads API Forum
thank you for your remind, I checked my code again, there were some problems when inserted into the MySQL database. There were 15 original data returned by the API. but There were two questions: 1. the same AD group returned two pieces of the same data in the same city. 2. The click and impr

Re: how to get the geo data of google ads one day?

2021-11-15 Thread 'chaoming chen' via AdWords API and Google Ads API Forum
Another idea can you provide the results of customer ID: 2326004878 ran the follow SQL: SELECT ad_group.id,geographic_view.resource_name, segments.geo_target_province, segments.geo_target_region, segments.geo_target_county, segments.geo_target_county, segments.geo_target_postal_code,segments

Re: how to get the geo data of google ads one day?

2021-11-15 Thread 'chaoming chen' via AdWords API and Google Ads API Forum
I use the official website laravel demo code, and the screenshot cannot be taken. The core code is as follows: public function getAgeRangeReporting(GoogleAdsClient $googleAdsClient, $customer_id,?string $customer_name,$report_type=0) { if($report_type==1){ //get gender report $sql = "SELECT gend

how to get the geo data of google ads one day?

2021-11-14 Thread 'chaoming chen' via AdWords API and Google Ads API Forum
I am a google ads manager customer's developer the ads customer id is: 2326004878 not manager account I use this SQL: SELECT ad_group.id,geographic_view.resource_name, segments.geo_target_province, segments.geo_target_region, segments.geo_target_city, segments.geo_target_county, segments.geo_ta