Hi, I am working with the service *CampaignCriterionService *and I am trying to create a campaign that reaches all countries and territories. In order to do that I get al the criteriaId of the countries(208 id). Then:
foreach ($allCountries as $country) { $countryLocation = new Location(); $countryLocation->id = $country->criteriaId; $campaignCriteria[] = new CampaignCriterion($campaignId, null, $countryLocation); } $operations = array(); foreach ($campaignCriteria as $campaignCriterion) { $operations[] = new CampaignCriterionOperation($campaignCriterion, 'ADD'); } // Make the mutate request. $result = $campaignCriterionService->mutate($operations); My problem is that I takes more than 25 seconds to perform all the operations (208). Is there any hack/way to make it faster? PD: I work with the adwords sandbox. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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