So this just doesn't work and/or you cant be bothered to help? Great. 
Thanks.

On Tuesday, July 3, 2012 3:57:08 PM UTC+1, Rallan wrote:
>
> Any help?
>
> On Saturday, June 23, 2012 11:16:25 PM UTC+1, Rallan wrote:
>>
>> Hi. I'm working in PHP on my own site, and I am a newbie so if I am 
>> missing something obvious please be patient :-)
>>
>> I've been unable to get the sandbox working so I am working (carefully) 
>> with a test campaign in the live environment. I need to select AdGroups 
>> based on their KeywordContentMaxCpc, which is supposed to be Filterable & 
>> Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
>> with the value filled in.
>>
>> If I select as follows I get No AdGroups Found:
>>
>>   $aPredicates = array();
>>   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
>>   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
>> round($bid * 1000000));
>>   $selector->predicates = $aPredicates;
>>
>> If I select as follows all six AdGroups are returned:
>>
>>   $aPredicates = array();
>>   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
>>   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
>>   $selector->predicates = $aPredicates;
>>
>> However if I then display the field information I can see that the values 
>> ARE present!
>>
>>   if (isset($page->entries)) {
>>     foreach ($page->entries as $adGroup) {
>>         echo $adGroup->bids->keywordMaxCpc->amount->microAmount;
>>     }
>>   }
>>
>> Which returns returns the following values:
>>
>> 500000
>> 600000
>> 1300000
>> 600000
>> 800000
>> 600000
>>
>

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