Hello,
I am using the default code example to call get_keywords.py, which works 
fine except the documentation for adgroupcriterionservice says that quality 
score is selectable:
https://developers.google.com/adwords/api/docs/reference/v201705/AdGroupCriterionService.QualityInfo,
 
So I simply added it to the list of fields:
selector = {
      'fields': ['Id', 'CriteriaType', 'KeywordMatchType', 
'KeywordText','QualityScore'],
      'predicates': [
          {
              'field': 'AdGroupId',
              'operator': 'EQUALS',
              'values': [adgroup_id]
          },
          {
              'field': 'CriteriaType',
              'operator': 'EQUALS',
              'values': ['KEYWORD']
          }
      ],
      'paging': {
          'startIndex': str(offset),
          'numberResults': str(PAGE_SIZE)
      },
      'ordering': [{'field': 'KeywordText', 'sortOrder': 'ASCENDING'}]


And the call executes without errors and the return simply does not include 
the quality score for that keyword. The result is:

(AdGroupCriterionPage){
   totalNumEntries = 7
   Page.Type = "AdGroupCriterionPage"
   entries[] =
      (BiddableAdGroupCriterion){
         adGroupId = 1234567890
         criterionUse = "BIDDABLE"
         criterion =
            (Keyword){
               id = 1234567890
               type = "KEYWORD"
               Criterion.Type = "Keyword"
               text = "mykeyword"
               matchType = "PHRASE"
            }
         AdGroupCriterion.Type = "BiddableAdGroupCriterion"
      },
.....
other six entries.

And the documentation clearly states that it should return "--". I am using 
version v201705.

Thank you in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dface971-8c50-4996-841b-de19a118f1dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to