Hello Wesley, I ran the PRODUCT_PARTITION_REPORT <https://developers.google.com/adwords/api/docs/appendix/reports/product-partition-report> and able to see AdGroupId <https://developers.google.com/adwords/api/docs/appendix/reports/product-partition-report#adgroupid> and ParentCriterionId <https://developers.google.com/adwords/api/docs/appendix/reports/product-partition-report#parentcriterionid> matching. Could please confirm whether the problem persists quite often? If yes, could you please share the SOAP logs(request and response) without redacting any information? You could follow the instructions shown here <https://github.com/googleads/googleads-python-lib#how-do-i-log-soap-interactions> to enable SOAP logging for Python client library. You could use reply privately to the author option while sharing the details requested.
Regards, Sai Teja, AdWords API Team. On Wednesday, October 17, 2018 at 8:45:30 AM UTC-4, [email protected] wrote: > > To whom it may concern: > > As of October 16, 2018 at around 18.00, we've been experiencing some > issues when using the python API. I have spent today looking into the > issue, but I found something strange. I made a small example so that I > could share the problem with you. > > I have the following code: > > service = client.GetService('AdGroupCriterionService', version='v201809') > > adgroup_adwords_id = 41434232302 > > selector = { > 'fields': [ > 'Id', > 'CpcBid', > 'BaseAdGroupId', > 'CriteriaType', > 'PartitionType', > 'CaseValue' > ], > 'predicates': [ > { > 'field': 'AdGroupId', > 'operator': 'IN', > 'values': [adgroup_adwords_id] > }, > { > 'field': 'CriteriaType', > 'operator': 'EQUALS', > 'values': 'PRODUCT_PARTITION' > }, > { > 'field': 'Status', > 'operator': 'NOT_EQUALS', > 'values': 'REMOVED' > } > ] > } > > result = service.get(selector) > > > > I am trying to query Google Ads to find all the Adgroup Criterions for a > Shopping Campaign. When I run the above code, it results in different > responses when I call it multiple times, i.e. > > # First run > { > 'adgroup_id': 41434232302, > 'criterion_use': 'BIDDABLE', > 'criterion': { > 'id': 318749511508, > 'type': 'PRODUCT_PARTITION', > 'Criterion.Type': 'ProductPartition', > 'partitionType': 'UNIT', > 'parentCriterionId': 293946777986, > 'caseValue': { > 'ProductDimension.Type': 'ProductOfferId', > 'value': 'fbeni618004' > } > } > } > > # A later run > { > 'adgroup_id': 41434232302, > 'criterion_use': 'BIDDABLE', > 'criterion': { > 'id': 318749511508, > 'type': 'PRODUCT_PARTITION', > 'Criterion.Type': 'ProductPartition', > 'partitionType': 'UNIT', > 'parentCriterionId': None, > 'caseValue': { > 'ProductDimension.Type': 'ProductOfferId', > 'value': 'fbeni618004' > } > } > } > > > > The `parentCriterionId` changes from a value to a `None`. On Google Ads, > nothing has changed about this criterion: > > > <https://user-images.githubusercontent.com/3688009/47086368-9031d380-d219-11e8-92a3-b80a1f415fda.png> > > > > Could you share some insight into what is going on? We've been running > this code for quite some time, so we were a bit surprised when we all of a > sudden got errors for this. > > We are using `v201809` of the API and version 14.1.0 of the `googleads` > Python library > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/a66a7aad-dc0c-42ce-8639-9bc9423ba970%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
