Campaign level only support : 

   1. Keyword 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.Keyword.html>
   2. Language 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.Language.html>
   3. Location 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.Location.html>
   4. MobileAppCategory 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.MobileAppCategory.html>
   5. MobileApplication 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.MobileApplication.html>
   6. Placement 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.Placement.html>
   7. Platform 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.Platform.html>
   8. CriterionUserInterest 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.CriterionUserInterest.html>
   9. CriterionUserList 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.CriterionUserList.html>
   10. Vertical 
   
<https://developers.google.com/adwords/api/docs/reference/v201802/TrafficEstimatorService.Vertical.html>


21 Kasım 2018 Çarşamba 14:11:50 UTC+3 tarihinde [email protected] 
yazdı:
>
> Hi, i am trying to add OperatingSystemVersion as criterion to 
> TrafficEstimatorSelector. But when i execute the code below, i get error.
>
> Code :
>
> # Create campaign estimate requests.
> campaign_estimate_requests = [{
>     'adGroupEstimateRequests': adgroup_estimate_requests,
>     'criteria': [
>         {
>             'xsi_type': 'Location',
>             'id': '2840'  # United States.
>         },
>         {
>             'xsi_type': 'Language',
>             'id': '1019'  # Arabic.
>         },
>         {
>             'xsi_type': 'OperatingSystemVersion',
>             'id': '630336' # iOS 11 <=
>         }
>     ],
> }]
>
> # Create the selector.
> selector = {
>     'campaignEstimateRequests': campaign_estimate_requests,
> }
>
> # Optional: Request a list of campaign-level estimates segmented by
> # platform.
> selector['platformEstimateRequested'] = True
>
> # Get traffic estimates.
> estimates = traffic_estimator_service.get(selector)
>
>
> Output :
>
> zeep.exceptions.LookupError: No type 'OperatingSystemVersion' in namespace 
> https://adwords.google.com/api/adwords/o/v201809
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/372940db-653f-4fe5-b25d-0c6e358dd54e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to