Hello,
My requestedAttributeTypes look like this:
$selector->requestedAttributeTypes = array('CRITERION',
'GLOBAL_MONTHLY_SEARCHES', 'TARGETED_MONTHLY_SEARCHES',
'AVERAGE_TARGETED_MONTHLY_SEARCHES', 'COMPETITION',
'EXTRACTED_FROM_WEBPAGE');
And when I make a call to get() all of those attributes are returned
with my ideas. However, if I make a single change and call
getBulkKeywordIdeas() instead, I only get the 'EXTRACTED_FROM_WEBPAGE'
and 'AVERAGE_TARGETED_MONTHLY_SEARCHES' attributes returned.
Is there something about the getBulkKeywordIdeas() method I am
missing. I did not see anything in the documentation suggesting it
was limited to the requestedAtrributes. Here is the code:
$selector = new TargetingIdeaSelector();
$selector->requestType = 'IDEAS';
$selector->ideaType = 'KEYWORD';
$selector->requestedAttributeTypes = array('CRITERION',
'GLOBAL_MONTHLY_SEARCHES', 'TARGETED_MONTHLY_SEARCHES',
'AVERAGE_TARGETED_MONTHLY_SEARCHES', 'COMPETITION',
'EXTRACTED_FROM_WEBPAGE');
$selector->searchParameters = array();
$relatedToUrlSearchParameter = new RelatedToUrlSearchParameter();
$relatedToUrlSearchParameter->urls = array($url);
$relatedToUrlSearchParameter->includeSubUrls = FALSE;
array_push($selector->searchParameters, $relatedToUrlSearchParameter);
//set up paging etc
//and then only one of these
$page = $targetingIdeaService->getBulkKeywordIdeas($selector);
//$page = $targetingIdeaService->get($selector);
Any ideas why getBulkKeywordIdeas() is only returning those 2
requestAttributes?
Thank you.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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