We launched a text ad campaign and tried to get keyword, text ad 
recommendation by using Google ads API but it is not returning any data. 

We got the code snippet from the following link:
https://developers.google.com/google-ads/api/docs/samples/get-text-ad-recommendations#python
ga_service = client.get_service('GoogleAdsService', version='v3')
query = ('SELECT recommendation.type, recommendation.campaign, '
             'recommendation.text_ad_recommendation FROM recommendation '
             'WHERE recommendation.type = TEXT_AD')
results = ga_service.search(customer_id, query=query, page_size=page_size)

Please let us know why the result is empty when the recommendations can be 
seen in UI.

Thanks,
Saroja

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/31b82ccb-fd04-46f1-bd0f-c5dfeb824e76n%40googlegroups.com.

Reply via email to