Hello everyone, I'm using the AdGroupCriterionService <https://developers.google.com/adwords/api/docs/reference/v201509/AdGroupCriterionService> in an attempt to update the CpcBid in individual keywords.
I've followed the relevant documentation through and am using the following code which is not updating the criterion whilst at the same time not displaying an error of any kind. I know that my $adGroupId and $criterionId are valid because they work elsewhere. There doesn't seem to be an errors in my SOAP Log. Here's the documentation I've observed: 1. https://developers.google.com/adwords/api/docs/reference/v201509/AdGroupCriterionService.BiddableAdGroupCriterion 2. https://developers.google.com/adwords/api/docs/reference/v201509/AdGroupCriterionService.Criterion 3. https://developers.google.com/adwords/api/docs/reference/v201509/AdGroupCriterionService.CpcBid 4. https://developers.google.com/adwords/api/docs/reference/v201509/AdGroupCriterionService.BiddingStrategyConfiguration Here's my code: // Get the service, which loads the required classes. $adGroupCriterionService = $user->GetService('AdGroupCriterionService', ADWORDS_VERSION); $biddableAdgroupCriterion = new BiddableAdGroupCriterion(); $biddableAdgroupCriterion->adGroupId = $adGroupId; $biddableAdgroupCriterion->criterion = new Criterion($criterionId); $CPCbid = new CpcBid(); $CPCbid->bid = new Money(0.035000); $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); $biddingStrategyConfiguration->bids = $CPCbid; $biddableAdgroupCriterion->biddingStrategyConfiguration = $biddingStrategyConfiguration; var_dump($biddableAdgroupCriterion); // Create operation. $operation = new AdGroupCriterionOperation(); $operation->operand = $biddableAdgroupCriterion; $operation->operator = 'SET'; $operations = array($operation); // Make the mutate request. $result = $adGroupCriterionService->mutate($operations); Any help would be appreciated. Many thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/f21486de-e997-4bc7-8e73-d8fb8f96ab72%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
