I tried to fetch the number of purchases from the ad account through the 
API, but it gives 0 value for all the campaign/ ad_group / customer levels. 

I tried the following metrics: 

metrics.orders
metrics.cross_sell_units_sold
metrics.units_sold

Query:
SELECT
            campaign.name,
            metrics.units_sold,
            metrics.orders,
            metrics.cross_sell_units_sold,
            FROM campaign WHERE
segments.date >= '2023-11-01' AND segments.date <= '2023-11-15'

Kindly advise how to get the value from the API. Screenshot attached.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e223025a-9501-437c-ad56-5f33e1f5364bn%40googlegroups.com.
  • Ad... Prabhu Palanisamy
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Prabhu Palanisamy
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to