Re: How to get the id of the root product partition [python]

2018-10-26 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Matthias, Yes, I would recommend to use AdGroupCriterionService.get() to get the ParentCriterionId

Re: How to get the id of the root product partition [python]

2018-10-26 Thread Kevin Weitzner
Hi Matthias, I went to check this out, as I think I need to do this for my issue. I was able to get the parent criterion id using the AdGroupCriterionService get selector Looks like something like this would work - but I've not put it in practice other than a quick test. def main(client, adgr

How to get the id of the root product partition [python]

2018-10-26 Thread Matthias Baader
Hi, if I understand that correctly, you can find the root product group id by searching for the product group that does not have a parent product id. Right? But how exactly does the AWQL query in Python have to look like? Is the following code correct? report_query = (adwords.ReportQueryBu