If I'm producing an object with:

$adGroupCriterionService = $user-
>GetAdGroupCriterionService('v201101');
$selector->fields = array('Id', 'KeywordText');

and returning it with:

$page = $adGroupCriterionService->get($selector);

  // Display ad group criteria.
  if (isset($page->entries)) {
        foreach ($page->entries as $ad) {
                var_dump($ad);

          echo $ad->criterion->text . $ad->adGroupId . "\n "; }


How do I get the current maxCPC to appear in the object?  I think I
have to add a field to the selector, but I've tried just about every
selector name I could think of (maxCpc, KeywordMaxCpc, Bids, etc).

I guess I'm trying to GET the equivalent of:
$ad->bids->maxCpc->amount->microAmount
that appears in UpdateAdGroupCriterion.php

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