Re: AdWords API RelatedToUrlSearchParameter--TargetingIdeaSelector (PHP)

2010-03-22 Thread AdWords API Advisor
Hi,

Please see my response on your other thread:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/b65a608798caa7c8/

Best,
- Eric Koleda, AdWords API Team

On Mar 19, 11:02 am, shaselton shasel...@gmail.com wrote:
 Hello All,

 Right to the situation on hand...

 $url = 'www.example.com';

 $selector = new TargetingIdeaSelector();
 $selector-requestType = 'IDEAS';
 $selector-ideaType = 'KEYWORD';
 $selector-requestedAttributeTypes = array('KEYWORD');

 $paging = new Paging();
 $paging-startIndex = 0;
 $paging-numberResults = 21;
 $selector-paging = $paging;

 $relatedToKeywordSearchParameter = new RelatedToUrlSearchParameter();
 $relatedToKeywordSearchParameter-urls = array($url);
 $selector-searchParameters = array($relatedToKeywordSearchParameter);

 This returns 7 keywords of each matching type (exact, broad, and
 phrase)   ( 7 [keywords] * 3 [types] = 21 results)
 I am wanting only a single type (such as 'exact') of keyword returned
 on searching the url, so I will have 21 keywords of one type rather
 than 7.  Not quite sure how to do this on the
 RelatedToUrlSearchParameter.  I know it can be done with
 RelatedToKeywordSearchParameter, but that isn't my parameter.  Any
 ideas?  Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API RelatedToUrlSearchParameter--TargetingIdeaSelector (PHP)

2010-03-19 Thread shaselton
Hello All,

Right to the situation on hand...

$url = 'www.example.com';

$selector = new TargetingIdeaSelector();
$selector-requestType = 'IDEAS';
$selector-ideaType = 'KEYWORD';
$selector-requestedAttributeTypes = array('KEYWORD');

$paging = new Paging();
$paging-startIndex = 0;
$paging-numberResults = 21;
$selector-paging = $paging;

$relatedToKeywordSearchParameter = new RelatedToUrlSearchParameter();
$relatedToKeywordSearchParameter-urls = array($url);
$selector-searchParameters = array($relatedToKeywordSearchParameter);

This returns 7 keywords of each matching type (exact, broad, and
phrase)   ( 7 [keywords] * 3 [types] = 21 results)
I am wanting only a single type (such as 'exact') of keyword returned
on searching the url, so I will have 21 keywords of one type rather
than 7.  Not quite sure how to do this on the
RelatedToUrlSearchParameter.  I know it can be done with
RelatedToKeywordSearchParameter, but that isn't my parameter.  Any
ideas?  Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API RelatedToUrlSearchParameter--TargetingIdeaSelector (PHP)

2010-03-18 Thread shaselton
Hello All,

Right to the situation on hand...

$url = 'www.example.com';

$selector = new TargetingIdeaSelector();
$selector-requestType = 'IDEAS';
$selector-ideaType = 'KEYWORD';
$selector-requestedAttributeTypes = array('KEYWORD');

$paging = new Paging();
$paging-startIndex = 0;
$paging-numberResults = 21;
$selector-paging = $paging;

$relatedToKeywordSearchParameter = new RelatedToUrlSearchParameter();
$relatedToKeywordSearchParameter-urls = array($url);
$selector-searchParameters = array($relatedToKeywordSearchParameter);

This returns 7 keywords of each matching type (exact, broad, and
phrase)   ( 7 [keywords] * 3 [types] = 21 results)
I am wanting only a single type (such as 'exact') of keyword returned
on searching the url, so I will have 21 keywords of one type rather
than 7.  Not quite sure how to do this on the
RelatedToUrlSearchParameter.  I know it can be done with
RelatedToKeywordSearchParameter, but that isn't my parameter.  Any
ideas?  Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.