Re: Required field not present, even though it is defined (AdGroupCriteria create)

2022-02-03 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Thomas, For us to check if this is correct, could you privately send us a request and response log of API communication that creates your tree? The request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging

Re: Required field not present, even though it is defined (AdGroupCriteria create)

2022-02-03 Thread Thomas D'heer
Hi, I managed to make it figure it out in the end. It worked by creating three criteria for every product: a subdivision node as the root, one unit node to determine the *product_item_id*, and one *other *unit node. In case anyone wonders, the three nodes look like this (you have to convert

RE: Required field not present, even though it is defined (AdGroupCriteria create)

2022-02-02 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Thomas, Could you try creating a root subdivision node and an 'other' node that is a unit node to place your product Id in? I am under the impression that a root node is a subdivision node. Regards, Aryeh Baker Google Ads API Team ref:_00D1U1174p._5004Q2W3ZvG:ref -- --

Required field not present, even though it is defined (AdGroupCriteria create)

2022-02-02 Thread Thomas D'heer
Hi, I'm experiencing difficulties with the creation of ad group criteria. After creating ad groups, I want to create an ad group criterion for each (see object below), but I keep getting the FieldError "The required field was not present", caused by the *parent_ad_group_criterion *property