get Max cpc of keyword bid using searchstream api

160 views
Skip to first unread message

ISMAIL TAIBANI

unread,
Feb 9, 2022, 8:12:16 PM2/9/22
to Google Ads API and AdWords API Forum


how can i get max cpc of keyword bid using searchstream using GAQL

{
"query": "SELECT keyword_view.resource_name, metrics.cost_micros FROM keyword_view where keyword_view.resource_name='customers/1826818684/keywordViews/122180185177~18248946'"
}
above is GAQL i don't find anything like metric.max_cpc.

PFA for reference

maxcpc.png

Google Ads API Forum Advisor

unread,
Feb 10, 2022, 3:59:09 AM2/10/22
to ismail.t...@gmail.com, adwor...@googlegroups.com
Hi Ismail,

Thanks for reaching out. Instead of using the keyword_view resource in your predicate, can you please try specifying the ad_group.id and the ad_group_criterion.criterion_id?

From the ad_group_criterion resource, you use ad_group_criterion.effective_cpc_bid_micros.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W5gTC:ref

Dennis Schirra

unread,
Jul 12, 2024, 12:51:52 AMJul 12
to Google Ads API and AdWords API Forum
this dosnt work?

Google Ads API Forum Advisor

unread,
Jul 12, 2024, 3:10:13 AMJul 12
to inkmu...@gmail.com, adwor...@googlegroups.com

Hi,

What do you mean by 'doesn’t work'? Are you getting any errors when running the query or response data that does not yield the expected output?

If not, kindly elaborate more on the issue that you are facing so that we can assist you accordingly. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02W5gTC:ref" (ADR-00093710)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 


Reply all
Reply to author
Forward
0 new messages