Hi,
Thank you for raising your concern to the Google Ads API team.
I understand that you're looking for the reports: SHOPPING_PERFORMANCE_REPORT and KEYWORDS_PERFORMANCE_REPORT. For these reports, kindly refer to the following links:
For more information on Reporting via the API, you may refer here. In addition, you can also check this document for guidance on how to specify date ranges for your report.
Let me know if you have any questions.
![]() |
Google Ads API Team |
Hi,
Thank you for your response.
Before we can provide the proper guidance for the MAX CPC that you want to get, can you provide us first a screenshot of your UI un-cropped so we can better check the data that you want to query?
Hi,
Thank you for coming back to us. I hope you are doing well today.
With regards to your concern, see the information below for references.
For the first one, you may use the campaign reporting (https://developers.google.com/google-ads/api/fields/v14/campaign), you may try it via campaign_query_builder (https://developers.google.com/google-ads/api/fields/v14/campaign_query_builder) and validate using the query_validator (https://developers.google.com/google-ads/api/fields/v14/query_validator). Please see the sample query below.
SELECT campaign.id, metrics.impressions, metrics.clicks, metrics.cost_micros, bidding_strategy.target_spend.cpc_bid_ceiling_micros, campaign.final_url_suffix, metrics.search_top_impression_share, metrics.search_absolute_top_impression_share, metrics.search_impression_share, metrics.top_impression_percentage, campaign_group.id FROM campaign
For the second concern, shopping_performance_view (https://developers.google.com/google-ads/api/fields/v14/shopping_performance_view), try it also via shopping_performance_view_query_builder (https://developers.google.com/google-ads/api/fields/v14/shopping_performance_view_query_builder). Please see the sample query below.
SELECT segments.product_item_id, segments.product_title, metrics.clicks, metrics.cost_micros FROM shopping_performance_view
You may try the above sample query on your end and let us know how it goes, and if this is the one that you are looking for. If there is any more concern, you may still provide the uncropped screenshot from Google Ads API with date filter, for us to further check and validate and also to provide accurate information and recommendations.
Have a great day.
Hi Thom,
Thank you for the reply.
You may also try the ad_group (https://developers.google.com/google-ads/api/fields/v14/ad_group) report to get this, as the campaign report is one of its attributed resources. You may try the below sample query for this:
SELECT campaign.id, metrics.impressions, metrics.clicks, metrics.cost_micros, bidding_strategy.target_spend.cpc_bid_ceiling_micros, campaign.final_url_suffix, metrics.search_top_impression_share, metrics.search_absolute_top_impression_share, metrics.search_impression_share, metrics.top_impression_percentage, ad_group.id, ad_group.name, campaign.target_cpa.cpc_bid_ceiling_micros, bidding_strategy.maximize_conversion_value.cpc_bid_ceiling_micros, bidding_strategy.maximize_conversion_value.cpc_bid_floor_micros, bidding_strategy.maximize_conversions.cpc_bid_ceiling_micros, bidding_strategy.maximize_conversions.cpc_bid_floor_micros FROM ad_group
However, if this is still not what you are referring to, then you may provide us with the entire UI screenshot, including its customer ID, where you can see the expected data you want to get from the API, so that we can further check this and provide appropriate recommendations to you.
You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.$googleAdsServiceClient = $session->getGoogleAdsServiceClient();
$query = "SELECT segments.product_item_id, segments.product_title,
metrics.clicks, metrics.cost_micros FROM shopping_performance_view WHERE segments.date BETWEEN '{$start}' AND '{$end}' LIMIT 10000 ";
//create selectors to get item related with keywords.
$response =
$googleAdsServiceClient->searchStream(CUSTOMER_ID, $query);