Hello,

I'm following the "Build a product partition tree for an ad group" example 
in Python 
(https://developers.google.com/adwords/api/docs/samples/python/shopping-campaigns#build-a-product-partition-tree-for-an-ad-group)

I ran the code after I updated the adgroup and merchant ids. The new 
product partition appear in the Adwords UI however the script is outputting 
the following error:

Traceback (most recent call last):
  File "shopping_adgroup.py", line 207, in <module>
    main(adwords_client, ADGROUP_ID)
  File "shopping_adgroup.py", line 162, in main
    children[adgroup_criterion['criterion']['parentCriterionId']].append(
KeyError: None

Any idea why this is happening? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads 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/96adc6ec-683e-4b50-af26-565913f42f65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Nellle Rickchards
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to