Hi Venkata, 

Yes, there can be a maximum of 20,000 ad group targeting items per ad group 
(such as keywords, placements, and audience lists). You can more details 
about AdWords account limits in this guide 
<https://support.google.com/adwords/answer/6372658?hl=en>. To get the total 
number of ENABLED and PAUSED ProductPartitions in an AdGroup, you could 
consider using the following query in an AdGroupCriterionService.query() 
request and get the TotalNumEntries 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupCriterionService.AdGroupCriterionPage#totalnumentries>
: 

SELECT Id, PartitionType WHERE AdGroupId = your_AdGroupId AND CriteriaType 
= PRODUCT_PARTITION AND Status != REMOVED ORDER BY Id LIMIT 0, 100

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/82797377-7831-4e16-b1e3-9bc3bd7e5c7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to