Hi,
I have a problem with adding products partition to Adwords because of the long time that cost. I will try to explain what I am trying to do:
I get data about the new products that I have to add as rows from the database like that:
spgCampaignId spgCampaign spgAdgroupId spgAdgroup spgProductgroupParent spgProductgroupChild spgCPCBid 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "werksokken" 0.01 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "huissokken" / BRAND = "apollo" 0.01 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "huissokken" / BRAND = "falke" 0.01 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "huissokken" / BRAND = "yellow moon" 0.01
I have to loop row by row and add the products to Adwords, you can check the code below:
Sorry for this mistake, everything is good but my error was execute "ExecuteTreeOperations()" for every adding child. I have to add all children for each adGroupId and then execute "ExecuteTreeOperations()".
Hi, I have a problem with adding products partition to Adwords because of the long time that cost. I will try to explain what I am trying to do:
I get data about the new products that I have to add as rows from the database like that:
spgCampaignId spgCampaign spgAdgroupId spgAdgroup spgProductgroupParent spgProductgroupChild spgCPCBid 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "werksokken" 0.01 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "huissokken" / BRAND = "apollo" 0.01 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "huissokken" / BRAND = "falke" 0.01 1543848623 TEST Shopping 57344990085 Test ad group * / PRODUCT_TYPE_L1 = "heren" / PRODUCT_TYPE_L2 = "huissokken" / BRAND = "yellow moon" 0.01
I have to loop row by row and add the products to Adwords, you can check the code below:
code.txt
Could you please check the file up and give me some advise! Thanks.