I'm working with the UpdateAdGroupCriterion.php example from the PHP client 
library. 

I want to modify this part:

  $bids = new ManualCPCAdGroupCriterionBids();
  $bids->maxCpc = new Bid(new Money((float) 1000000));
  $adGroupCriterion->bids = $bids;

To update the preferredPosition and bottomPosition of a given criterion, or 
keyword. So what do I set the value to to do that in this example:

  $bids = new ManualCPCAdGroupCriterionBids();
  $bids->positionPreferenceBids = WHAT GOES HERE;
  $adGroupCriterion->bids = $bids;

Say I want to set the bottomPosition to 9 and the preferredPosition to 6. 

What do I set $bids->positionPreferenceBids in the example above and is this 
even the correct approach? 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to