API Recommendations Don't Match Ads Console

61 views
Skip to first unread message

Scott Vaillancourt

unread,
Nov 25, 2020, 10:53:35 AM11/25/20
to AdWords API and Google Ads API Forum
I'm using the GoogleAdsService API to pull recommendations. However, the returned data doesn't match what I see when I look at the Recommendations screen in the Google Ads console. There are far fewer recommendations returned via the API. The code below yields 5 records, which is significantly less than I can access via the console. I'm happy to provide customer information via a private channel. Thanks.

Scott

gas = client.get_service('GoogleAdsService', version='v6')
rte = client.get_type('RecommendationTypeEnum', version='v6')

query = '''
    SELECT
      recommendation.type,
      recommendation.campaign
    FROM recommendation'''

resp = gas.search(cid, query)
rl = list(resp)
for r in rl:
     print(rte.RecommendationType.Name(r.recommendation.type))

Google Ads API Forum Advisor Prod

unread,
Nov 26, 2020, 3:44:32 AM11/26/20
to sc...@lionhurst.com, adwor...@googlegroups.com
Hi Scott,

Thanks for posting your concern.

Could you confirm if what you mean for the Google Ads console is specific UI where the data is not matched with the result of recommendation report? If yes, then you may refer to this guide to know the correct mapping of this report in the UI.

If the data discrepancies are observed between the generated report and UI, then you can provide the following details via Reply privately to author option to investigate further:
  • complete request and response logs with request ID
  • customer ID
  • screenshot of the whole UI where the same filters are applied as set in the report

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q27wbmU:ref

Scott Vaillancourt

unread,
Nov 27, 2020, 2:54:36 PM11/27/20
to AdWords API and Google Ads API Forum
The console I'm referring to is the account-specific Overview page at ads.google.com, not the reporting UI. Specifically, the recommendations cards don't match what I'm able to retrieve via the API.

Scott

Scott Vaillancourt

unread,
Nov 27, 2020, 2:56:41 PM11/27/20
to AdWords API and Google Ads API Forum
Forgot to mention that I don't have permission to Reply privately to author, so if you require additional information I'll need to send it via a different channel.

Google Ads API Forum Advisor Prod

unread,
Dec 2, 2020, 4:34:28 AM12/2/20
to sc...@lionhurst.com, adwor...@googlegroups.com
Hi Scott,

Thank you for the clarification.

To further investigate, please provide the requested details on this email address googleadsa...@google.com instead for privacy purposes.

Scott Vaillancourt

unread,
Dec 7, 2020, 4:52:01 PM12/7/20
to AdWords API and Google Ads API Forum
I just sent the documentation you requested. 

Scott

Google Ads API Forum Advisor Prod

unread,
Dec 8, 2020, 3:23:38 PM12/8/20
to sc...@lionhurst.com, adwor...@googlegroups.com
Hi Scott,

The logs attached do not show the complete request or response. You can refer to this page for more information about logging with the Python client library.

I also recommend working with the provided example code for getting recommendations.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


 

ref:_00D1U1174p._5004Q27wbmU:ref
Reply all
Reply to author
Forward
0 new messages