CampaignBidModifierService returns empty CampaignBidModifierPage

55 views
Skip to first unread message

Martin Botťánek

unread,
May 2, 2018, 6:42:50 AM5/2/18
to AdWords API and Google Ads API Forum
Hello,

I am on Ruby/Rails with the latest version of google-api-ads-ruby gem and v201802

When calling get on CampaignBidModifierService using the following selector all I get is an empty CampaignBidModifierPage

selector = {
  fields
: %w[CampaignId CampaignName BidModifier],
  ordering
: [{ field: 'CampaignId', sort_order: 'ASCENDING' }],
  paging
: { start_index: 0, number_results: PAGE_SIZE }
}

Using similar query with AdGroupBidModifierService works fine (on a test account)

Also, here's one of the request IDs, I guess it might come useful 00056b35aa9a0ab10a3763d1c50d3a6a

Any ideas what am I doing wrong?

Thank you,
M.

Bharani Cherukuri (AdWords API Team)

unread,
May 2, 2018, 1:48:00 PM5/2/18
to AdWords API and Google Ads API Forum
Hello Martin, 

CampaignBidModifierService will only return the bid modifiers for Platform and InteractionType. Alternatively, if you're using bid modifiers for any other criteria, you will be able to use CampaignCriterionService. You may refer to this guide for more information.

If this does not address you concern, could you please share the complete SOAP request and response logs along with the client customer Id, so I can take a closer look? You may refer to this guide on how to enable logging. You can reply back via Reply privately to author option. 

Thanks,
Bharani, AdWords API Team

Martin Botťánek

unread,
May 3, 2018, 4:12:57 AM5/3/18
to AdWords API and Google Ads API Forum
Ho Bharani,

Thank you for a quick reply.

Yes, I was trying to get bid modifiers for Platform - still, the response is empty.

I'll get back to you about the request log later today. Thanks again.

M.

Dňa streda, 2. mája 2018 19:48:00 UTC+2 Bharani Cherukuri (AdWords API Team) napísal(-a):
Reply all
Reply to author
Forward
0 new messages