Scott,

My apologies - vertical cannot be used in the TES service.  The accepted 
criteria<https://developers.google.com/adwords/api/docs/reference/v201402/TrafficEstimatorService.CampaignEstimateRequest>are:
 Location and Language.

Thanks,

Ray

On Thursday, May 15, 2014 12:32:59 AM UTC+2, Scott Luther wrote:
>
> Hi Ray,
>
> Unfortunately, that doesn't work. The docs say that only Location and 
> Language are supported, and when I try to add a Vertical, this error is 
> thrown:
>
> SoapFault: [NotEmptyError.EMPTY_LIST @ 
> selector.campaignEstimateRequests[0].adGroupEstimateRequests[0].keywordEstimateR,
>  
> RequestError.UNSUPPORTED_TYPE_IS_USED @ 
> selector.campaignEstimateRequests[0].criteria.criteria[2]; 
> trigger:'com.google.ads.api.services.campaignmgmt.common.criterion.Vertical']
>
>
>
> On Wednesday, May 14, 2014 3:00:40 AM UTC-7, Ray Tsang (AdWords API Team) 
> wrote:
>>
>> Scott,
>>
>> I feel this example PHP 
>> file<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.php>could
>>  be a good starting point.  You can add 
>> a Vertical 
>> criteria<https://developers.google.com/adwords/api/docs/reference/v201402/TrafficEstimatorService.CampaignEstimateRequest>,
>>  
>> e.g.,
>>
>> $vertical = ... // vertical retrieved from the ConstantDataService
>> $campaignEstimateRequest->criteria[] = $vertical; // append the array w/ 
>> the vertical criterion.
>>
>> Cheers,
>>
>> Ray
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to