qualityscore in adgroupcriterionservice doesn't return

26 views
Skip to first unread message

Marvin Byrd

unread,
Jul 31, 2017, 3:51:12 AM7/31/17
to AdWords API Forum
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:
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

Peter Oliquino

unread,
Jul 31, 2017, 5:45:55 AM7/31/17
to AdWords API Forum
Hi Marvin,

Could you send to me privately via the Reply privately to author option the generated SOAP request and response when you ran the sample code? This will allow me to better look into the issue.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages