I'm trying to test my up-loader written in php for Offline Conversions but I am getting a RequiredError.REQUIRED @ operations[0].operand.conversionGclid error returned for every item (apx 50) in the array. I am able to see that all of the operations I am trying to upload do in fact have the gclid parameter set via this loop:
foreach($operations as $opp){ print "Value of opp->gclid : " . $opp->operand->googleClickID . "\n\n"; } The gclid's are gathered from our data warehouse, and the operations are generated via this section: if($queryResult->rowCount() > 0){ print "Query returned " . $queryResult->rowCount() . " rows\n\n"; $operations = array(); while($row = $queryResult->fetch(PDO::FETCH_ASSOC)){ $feed = new OfflineConversionFeed(); $feed->conversionName = $conversionName; $feed->conversionTime = $row['conversion_datetime']; $feed->googleClickID = $row['gclid']; $operations[] = new OfflineConversionFeedOperation($feed, 'ADD'); } print "Operation Creation Finished \n\n"; foreach($operations as $opp){ print "Value of opp->gclid : " . $opp->operand->googleClickID . "\n\n"; } //This line throws the errors $uploadResult = $conversionService->mutate($operations); printf('Upload for %s : %s complete', $user->GetClientCustomerId() , $conversionName); return; } I asked this question on StackOverflow <http://stackoverflow.com/questions/27559827/required-gclid-error-when-the-gclid-is-present> but haven't gotten a response yet. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/96defdbf-9e62-4bc3-834c-49e3387bd51c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.