SELECT campaign.id, campaign.name FROM campaign WHERE customer.id = 'YOUR_CUSTOMER_ID'
SELECT campaign.id, campaign.name, campaign.status FROM campaign WHERE segments.date DURING LAST_30_DAYSCheck this Date Ranges documentation to know about how to specify the date range. Then use the search method endpoint to retrieve the data.
![]() |
Google Ads API Team |
SELECT segments.product_item_id, metrics.clicks, metrics.impressions, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.cost_per_conversion, metrics.conversions_from_interactions_rate FROM shopping_performance_viewYou can use Query Builder to create your query and Query Validator to validate your query. Also, you can use search or searchStream endpoint which will return all the rows that match the query.
SELECT segments.product_item_id, metrics.clicks, metrics.impressions, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.cost_per_conversion, metrics.conversions_from_interactions_rate FROM shopping_performance_view WHERE segments.date BETWEEN '2023-12-01' AND '2024-01-31'
SELECT segments.product_item_id, metrics.clicks, metrics.impressions, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.cost_per_conversion, metrics.conversions_from_interactions_rate FROM shopping_performance_view WHERE segments.date DURING LAST_30_DAYS
Hello Support Team, thanks for the previous response.
Now could you help me by confirming if I can use a permission other than https://www.googleapis.com/auth/adwords to make calls to the Google Ads API and use a read permission for the OAuth consent screen?
The notice of being able to create, edit, delete generates fear, many users are afraid that they may see their data.
Imagine creating or deleting advertising accounts, they are as if they were bank accounts, they are linked to the card and if someone external can start making you spend more or delete your account, with the history it generates fear.
![]() |
Google Ads API Team |