There is no failed request. I simply get no records found whenever I enter a value other than zero for KeywordContentMaxCpc. If I enter zero it finds everything. If I enter any other value it finds nothing. So I cannot give you a failure log.
Below are the request_info.log entries for two searches. The searches were against a small set of live AdGroups with differing KeywordContentMaxCpc values. The *first search* was with with a KeywordContentMaxCpc value that should have returned a few records. It returned none. [Jun 28 2012 07:51:20.000000 - INFO] [email protected] effectiveUser=xxx-xxx-xxxx service=AdGroupService method=get operators={EQUALS: 2, IN: 1} responseTime=1118 requestId=0004c38398fd64f00a9644040000225d operations=1 units=1 server=adwords.google.com isFault=false faultMessage=null The *second search* was exactly the same but with the KeywordContentMaxCpc search variable set to zero. It returned all of the AdGroups. None of the AdGroups have a KeywordContentMaxCpc of zero, and the true values could be displayed from the returned set. [Jun 28 2012 07:53:27.000000 - INFO] [email protected] effectiveUser=xxx-xxx-xxxx service=AdGroupService method=get operators={EQUALS: 2, IN: 1} responseTime=268 requestId=0004c383a09d92c00a9703280000114d operations=16 units=16 server=adwords.google.com isFault=false faultMessage=null On Tuesday, June 26, 2012 10:51:55 AM UTC+1, Anash P. Oommen wrote: > > Hi Rallan, > > Could you post a sanitized version of the SOAP logs (request and response > xmls) for a failed request? > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Sunday, 24 June 2012 03:46:25 UTC+5:30, 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 >> > > On Sunday, 24 June 2012 03:46:25 UTC+5:30, 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
