Hi,

i succeeded in creating keywords for a campain, but i don't understand
where and how i can define the MaxCPC for each keyword i create with
the code below :

 // Create keyword.
  $keyword = new Keyword();
  $keyword->text = 'mars cruise';
  $keyword->matchType = 'BROAD';

  // Create biddable ad group criterion.
  $keywordAdGroupCriterion = new BiddableAdGroupCriterion();
  $keywordAdGroupCriterion->adGroupId = $adGroupId;
  $keywordAdGroupCriterion->criterion = $keyword;

  // Create operations.
  $keywordAdGroupCriterionOperation = new AdGroupCriterionOperation();
  $keywordAdGroupCriterionOperation->operand =
$keywordAdGroupCriterion;
  $keywordAdGroupCriterionOperation->operator = 'ADD';

  $operations = array($keywordAdGroupCriterionOperation);

  // Add ad group criteria.
  $result = $adGroupCriteriaService->mutate($operations);


Thanks for your help !

Guillaume
-- 
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-...@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.


Reply via email to