Hi,  We have run into an EntityCountLimitExceeded.ACCOUNT_LIMIT problem, 
based on limit type "ACTIVE_ADGROUP_FEEDS_PER_ACCOUNT". We only use 
sitelink and price extensions so it's due to too many of those. However, 
when we run the PLACEHOLDER_FEED_ITEM_REPORT it's clearly not returning all 
of our items, so we can't figure out which ones need to be removed.

For example, we use the below query with include_zero_impressions=True and 
get only 66,923 results for PlaceHolderType = 1, and 20,000 results for 
PlaceHolderType = 35, which is nowhere near the 250,035 the adwords API is 
telling us we have (limit is 250,000):

query =  "SELECT FeedId, FeedItemId, Status FROM 
PLACEHOLDER_FEED_ITEM_REPORT WHERE PlaceholderType = '1' AND Status IN 
['ENABLED']"
file_format = "CSVFOREXCEL"

with open(local_raw_path, 'w') as output_file:
  ca.gs.report_downloader.DownloadReportWithAwql(query, file_format, 
output_file, skip_report_header=True, skip_column_header=False, 
skip_report_summary=True, include_zero_impressions=True)


Then if I run this code using the AdGroupFeedService, it tells me that 
there are 152679 totalNumEntries for sitelinks and 97347 totalNumEntries 
for price extensions, which gives us the 250,000 limit.  But I can't use 
this method to get all of the ones that need to be removed, because A) it 
only lets me return 100,000 results when I use the AdGroupFeedService, and 
B) it only returns FeedId and not FeedItemId:

predicates = []
predicates.append({'field': 'Status', 'operator': 'EQUALS', 'values': 
'ENABLED'})
predicates.append({'field': 'PlaceholderTypes', 'operator': 'EQUALS', 
'values': '1'})
fields = ['AdGroupId', 'FeedId', 'PlaceholderTypes', 'Status']
selector = {'fields': fields, 'predicates': predicates}
selector['paging'] = {'startIndex':0, 'numberResults': 10 } 
result = ca.gs.client.GetService('AdGroupFeedService', version='v201702').
get(selector)
print 'totalNumEntries: {0}'.format(result[0])

--> totalNumEntries: 152679


So how can I get the full list of ad group feed items tied to my account at 
once?  Why does the AWQL report not return the same results as the 
AdGroupFeedService?

Thanks,
Jim

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a734a82a-eb21-497f-8042-56ae05d41c17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • PLACEHOLDER_FEE... jim . malone

Reply via email to