CampaignBidModifierService return no data

41 views
Skip to first unread message

Alex Mansour

unread,
Aug 19, 2020, 4:56:30 PM8/19/20
to AdWords API and Google Ads API Forum
Hey, 

We are trying to use "CampaignBidModifierService" to return the bid modifiers that took place on the Campaign level but it always return 0 entries even the Campaign IDs we are using have Bid Modifications took place, and we can see that from the UI. 

What could be the issue in this case? Thanks.

Here is the response we are getting: 

"object(Google\AdsApi\AdWords\v201809\cm\CampaignBidModifierPage)[1444]
protected 'entries' => null
protected 'totalNumEntries' => int 0
protected 'PageType' => string 'CampaignBidModifierPage' (length=23)
private 'parameterMap' (Google\AdsApi\AdWords\v201809\cm\Page) =>
array (size=1)
'Page.Type' => string 'PageType' (length=8)"


Google Ads API Forum Advisor Prod

unread,
Aug 20, 2020, 12:55:04 PM8/20/20
to alex.m...@gmail.com, adwor...@googlegroups.com
Hi Alex,

CampaignBidModifierService only acts on InteractionType criteria. For the rest of the criteria, you can use the CampaignCriterionService to adjust campaign criterion bid modifiers.

Regards,
Anthony
Google Ads API Team   

ref:_00D1U1174p._5004Q23tBtC:ref

Alex Mansour

unread,
Aug 20, 2020, 2:56:38 PM8/20/20
to AdWords API and Google Ads API Forum
Hi Anthony

Thanks for your answer. I don't fully understand what you mean. 

What we need is to only retrieve the bid modifiers that took place on a campaign. 

Should we use CampaignCriterionService to do so?

Thanks again.

Google Ads API Forum Advisor Prod

unread,
Aug 20, 2020, 4:24:08 PM8/20/20
to alex.m...@gmail.com, adwor...@googlegroups.com
Hi Alex,

Yes, you will need to use the CampaignCriterionService.

Let me know if you run into any issues.
Reply all
Reply to author
Forward
0 new messages