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))

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6132297d-22cb-42a8-8438-19f25c7e6c95n%40googlegroups.com.

Reply via email to