I see a slot for conversionrate in the stats array returned from
AdGroupCriterionSelector but they are all empty. Looking at the web
interface of adwords I can see that they aren't empty.

Do I have to do something to get all of the stats data populated in
that request?

I'm using the "GetAllActiveAdGroupCriteria.php" example from the PHP
client library.

Here is an snippet of the code:


  // Get the AdGroupCriterionService.
  $adGroupCriteriaService = $user-
>GetAdGroupCriterionService('v200909');

  $adGroupId = $_REQUEST['adgroup'];

  // Create selector.
  $selector = new AdGroupCriterionSelector();
  $selector->userStatuses = array('ACTIVE');

  // Create id filter.
  $idFilter = new AdGroupCriterionIdFilter();
  $idFilter->adGroupId = $adGroupId;
  $selector->idFilters = array($idFilter);

  // Get all active ad group criteria.
  $page = $adGroupCriteriaService->get($selector);

  // Display ad group criteria.
  if (isset($page->entries)) {
    foreach ($page->entries as $adGroupCriterion) {
                print_r($adGroupCriterion) . '<br /><br />';
    }

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