BidLandscape for Product Groups within an Ad Group

49 views
Skip to first unread message

Jes Ford

unread,
Oct 2, 2016, 11:00:22 PM10/2/16
to AdWords API Forum
Hello Google,
Sorry if this is a silly question, but I've read everything I can find in the documentation, and I'm not able to figure this out.

I am trying to use the Adwords API to get the BidLandscape data for a Product Group within a given AdGroup of a shopping campaign. I can view the data that I want in the Adwords website Bid Simulator, so it does exist, but I can't figure out how to pull the same data through the API. 

I am working in Python, and I believe using the getAdGroupBidLandscape() is the way to approach this:

>>> data_service = client.GetService('DataService')
>>> selector = {
                    'fields': ['AdGroupId', 'CampaignId', 'Bid', 'StartDate', 'EndDate'],
                    'predicates': [{'field': 'AdGroupId', 'operator': 'IN', 'values': [adgroup_id]}]
                 }
>>> results = data_service.getAdGroupBidLandscape(selector)
>>> print(results)

(AdGroupBidLandscapePage){
   totalNumEntries = 0
   Page.Type = "AdGroupBidLandscapePage"
 }

The output is zero entries for the adgroups I am interested in. Through the website, I am able to view the Bid Simulations for these Adgroups, by first selecting the 
AdGroup, and THEN clicking on a Product group within it. Then the data I want is accessed through the little graph link under Max CPC, in the row called "All products"... I found this by following the instructions on the Adwords help page: Use the bid simulator with Shopping campaigns. Is it possible to pull this same data through the API?

Thank you in advance for your help with this!
Jes

Peter Oliquino

unread,
Oct 3, 2016, 1:28:03 AM10/3/16
to AdWords API Forum
Hi Jes,

Could you try the GetKeywordBidSimulations example from the client library? For product partition information, I believe you should use the getCriterionBidLandscape instead, which is already being used in the example I mentioned. You may also want to check out our guide for Bid Lanscapes for more information.

Let me know if this works. If you are still unable to obtain results, kindly provide the SOAP request and response and the AdWords UI screenshot so I can investigate the issue further. Please reply using Reply privately to author for the requested information.

Thanks and regards,
Peter
AdWords API Team

Jes Ford

unread,
Oct 3, 2016, 11:34:20 AM10/3/16
to AdWords API Forum
Hi Peter,
Thanks for your reply! I am tried using  get_keyword_bid_simulations.py, but I am not sure what to enter as the CRITERION_ID. I am guessing this should refer to the product group I'm interested in, but I don't see how to get IDs for product groups. I tried using get_keywords.py to obtain Criterion IDs, but it prints "No keywords were found" for the Adgroup I'm interested in. Am I missing something obvious here?

Thank you!
-Jes
Reply all
Reply to author
Forward
0 new messages