Hi, I try change any keywords cpc with api (php) bu i cant. i try with this:
*$adGroupCriterion = new BiddableAdGroupCriterion();* *$adGroupCriterion->adGroupId = $adGroupId;* *$adGroupCriterion->criterion = new Criterion($criterionId);* * * *$bid = new CpcBid();* *$bid->bid = new Money(500000);* *$biddingStrategyConfiguration = new BiddingStrategyConfiguration();* *$biddingStrategyConfiguration->bids[] = $bid;* *$adGroupCriterion->biddingStrategyConfiguration = $biddingStrategyConfiguration;* * * *$operation = new AdGroupCriterionOperation();* *$operation->operand = $adGroupCriterion;* *$operation->operator = 'SET';* * * *$operations = array($operation);* * * *$result = $adGroupCriteriaService->mutate($operations);* Browser return this error: *Fatal error: Call to a member function mutate() on a non-object in /var/www/vhosts/............* When i print to screen $operations: Array ( [0] => AdGroupCriterionOperation Object ( [operand] => BiddableAdGroupCriterion Object ( [userStatus] => [systemServingStatus] => [approvalStatus] => [disapprovalReasons] => [destinationUrl] => [experimentData] => [firstPageCpc] => [topOfPageCpc] => [qualityInfo] => [stats] => [biddingStrategyConfiguration] => BiddingStrategyConfiguration Object ( [biddingStrategyId] => [biddingStrategyName] => [biddingStrategyType] => [biddingStrategySource] => [biddingScheme] => [bids] => Array ( [0] => CpcBid Object ( [bid] => Money Object ( [microAmount] => 500000 [ComparableValueType] => [_parameterMap:ComparableValue:private] => Array ( [ComparableValue.Type] => ComparableValueType ) ) [contentBid] => [cpcBidSource] => [BidsType] => [_parameterMap:Bids:private] => Array ( [Bids.Type] => BidsType ) ) ) ) [bidModifier] => [adGroupId] => 3171................ [criterionUse] => [criterion] => Criterion Object ( [id] => 1124............... [type] => [CriterionType] => [_parameterMap:Criterion:private] => Array ( [Criterion.Type] => CriterionType ) ) [forwardCompatibilityMap] => [AdGroupCriterionType] => [_parameterMap:AdGroupCriterion:private] => Array ( [AdGroupCriterion.Type] => AdGroupCriterionType ) ) [exemptionRequests] => [operator] => SET [OperationType] => [_parameterMap:Operation:private] => Array ( [Operation.Type] => OperationType ) ) ) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.