Hi,

I have been facing a problem with only one account, 

when I try to create a simple query for example 


SELECT campaign.name,campaign.status, metrics.clicks FROM video WHERE 
segments.date BETWEEN '2022-08-19' AND '2022-08-25' AND campaign.status = 
'ENABLED'

I get this response ( No results although I can see the results in the UI 
of Google Ads) 

field_mask {
  paths: "campaign.name"
  paths: "campaign.status"
  paths: "metrics.clicks"
}
I get the same if I try for example metrics.impressions

But if I try to run this query without the metrics, I get the expected 
response  

SELECT campaign.name,campaign.status FROM video WHERE segments.date BETWEEN 
'2022-08-19' AND '2022-08-25' AND campaign.status = 'ENABLED'

the response :

results {
  campaign {
    resource_name: "customers/customerID/campaigns/campaignID"
    status: ENABLED
    name: "the campaign name as expected"
  }
  video {
    resource_name: "customers/customerID/videos/videoID"
  }
}
field_mask {
  paths: "campaign.name"
  paths: "campaign.status"
}

Thank you,
Asad

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/98917734-0ee2-439d-bebd-2b606675d47bn%40googlegroups.com.
  • Er... asad mhagne
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to