Calling get_feed on the FeedService does not return the complete Feed object

28 views
Skip to first unread message

Alin Alex

unread,
Mar 10, 2022, 8:03:21 AM3/10/22
to Google Ads API and AdWords API Forum
I am trying to migrate the AdWords to ads api and I have the following problem:

I am using the v8 API on googleads==12.0.0 because I have python 3.6 on the project and I am trying the following call:

1. Get a google client using the following method

credentials = {
"use_proto_plus": False,
"developer_token": self.ads_developer_token,
"refresh_token": self.ga_refresh_token,
"client_id": self.ga_client_id,
"login_customer_id": self.ads_login_customer_id,
"client_secret": self.ga_client_secret
}

return GoogleAdsClient.load_from_dict(credentials)

2. Get the FeedService 

self.ads_client.get_service('FeedService', version='v8')

3. Trying to get a feed by its id

self.ads_feed_service.get_feed(resource_name=f"customers/xxx/feeds/{self.feed_id}")

4. From the response object I want to get the attributes field that is specified here https://developers.google.com/google-ads/api/reference/rpc/v8/Feed
but what I get is the following, I've attached a picture for that.
Only two fields Affiliate and Places are to be found, any advice on this?



feed_response.png

Google Ads API Forum Advisor

unread,
Mar 10, 2022, 12:59:24 PM3/10/22
to alinal...@gmail.com, adwor...@googlegroups.com
Hi Alin,

Thank you for reaching out to the Google Ads API support team.

Could you please try with latest version v10? Let me how goes it. Could you please share full screen screenshot of UI of what you are looking for? Kindly please reply privately author option.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


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