Error when trying to retrieve bid modifiers on campaign level

60 views
Skip to first unread message

mspier...@bol.com

unread,
Mar 19, 2019, 11:51:48 AM3/19/19
to AdWords API and Google Ads API Forum
Hi,

I'm trying to get the campaign bid modifiers via the python library and the GoogleAdsService (v1) like the following:
q = ('SELECT campaign_bid_modifier.bid_modifier '
 
'FROM campaign_bid_modifier '
 
'WHERE campaign.id = %s' % campaign_id)
result
= ga_service.search(customer_id, query=q)

But I get the following error:
[2019-03-19 12:53:39,426 - INFO] Request made: ClientCustomerId: xxx, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v1.services.GoogleAdsService/Search, RequestId: xxx, IsFault: False, FaultMessage: None


A similar request to retrieve the bid modifiers on ad group level works without a problem.
What is wrong here?


googleadsapi...@google.com

unread,
Mar 19, 2019, 5:19:16 PM3/19/19
to mspier...@bol.com, AdWords API and Google Ads API Forum
Hello,

The API request you made doesn't result in an error, rather an empty response. Can you please let me know the campaign ID you are trying to query on so I can check what the issue may be?

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/82b5103c-6b4f-4e56-8626-78efaf549bc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mspier...@bol.com

unread,
Mar 20, 2019, 5:51:28 AM3/20/19
to AdWords API and Google Ads API Forum
Hi Anthony,

Thank you for clarification. There was no campaign bid modifier for this campaign indeed. 
I didn't realise that this message indicates an empty response. 

Thanks,

Manuel
Reply all
Reply to author
Forward
0 new messages