Hi Sanjay,
Thank you for providing the details. I am also a member of the Google Ads API team and let me provide support to your concern.
I impersonated the report using the initial query that you provided and I also retrieved an empty report. However, upon investigation, I can see that you encountered what was discussed on this
document that zero metrics are always excluded when segmenting a report, provided all selected metrics are zero. The gender types targeted to your local campaigns received zero impression and this is the reason why the report is empty. With this, if you want to get the local ad data from this report type, then I would suggest removing the
segments.date field.
https://googleads.googleapis.com/v8/customers/xxxxxxxxxx/googleAds:searchStream
{
"query" : "select campaign.advertising_channel_type,metrics.average_cpc, metrics.clicks,metrics.ctr, metrics.impressions, metrics.cost_micros,
ad_group.name,
campaign.name,
ad_group.id,
campaign.id, campaign.optimization_score,segments.date ,ad_group_criterion.gender.type FROM gender_view where segments.date BETWEEN '2021-12-20' AND '2022-02-02'"
}
Let me know if you have further questions.
Regards,
 |
| Ernie John |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2WvjKw:ref