Luca,

Only the fields in our BidLandScape 
documentation<https://developers.google.com/adwords/api/docs/reference/v201309/DataService.BidLandscape.LandscapePoint>are
 available.

Thanks,

--
Ray Tsang (AdWords API Advisor)


On Thursday, February 27, 2014 8:34:01 AM UTC-5, Luca Fiaschi wrote:
>
> Hi,
> is it possible to get an estimated bid landscape for placements on the GDN?
>
> I did try following the example 
>
> def get_bid_landscape(client, ad_group_id, criterion_id):
>>   # Initialize appropriate service.
>>   data_service = client.GetDataService(version='v201309')
>>   # Construct bid landscape selector object and retrieve bid landscape.
>>   selector = {
>>       'fields': ['AdGroupId', 'CriterionId', 'StartDate', 'EndDate', 
>> 'Bid',
>>                  'LocalClicks', 'LocalCost', 'MarginalCpc', 
>> 'LocalImpressions'],
>>       'predicates': [
>>           {
>>               'field': 'AdGroupId',
>>               'operator': 'EQUALS',
>>               'values': [ad_group_id]
>>           },
>>           {
>>               'field': 'CriterionId',
>>               'operator': 'EQUALS',
>>               'values': [criterion_id]
>>           }
>>       ]
>>   }
>>   bid_landscapes = data_service.GetCriterionBidLandscape(selector)[0]
>>   # Display results.
>>   if 'entries' in bid_landscapes:
>>     for bid_landscape in bid_landscapes['entries']:
>>       if bid_landscape['BidLandscape_Type'] == 'CriterionBidLandscape':
>>         print ('Criterion bid landscape with ad group id \'%s\', 
>> criterion id '
>>                '\'%s\', start date \'%s\', end date \'%s\', with 
>> landscape '
>>                'points was found:'
>>                % (bid_landscape['adGroupId'], 
>> bid_landscape['criterionId'],
>>                   bid_landscape['startDate'], bid_landscape['endDate']))
>>         for bid_landscape_point in bid_landscape['landscapePoints']:
>>           print ('  bid: %s => clicks: %s, cost: %s, marginalCpc: %s, '
>>                  'impressions: %s'
>>                  % (bid_landscape_point['bid']['microAmount'],
>>                     bid_landscape_point['clicks'],
>>                     bid_landscape_point['cost']['microAmount'],
>>                     bid_landscape_point['marginalCpc']['microAmount'],
>>                     bid_landscape_point['impressions']))
>>   else:
>>     print 'No bid landscapes found.'
>>   print
>>   print ('Usage: %s units, %s operations' % (client.GetUnits(),
>>                                              client.GetOperations()))
>
>
> from the examples of the Python API 
> providing the id of a bid landscape as criterion id, however I get always 
> the answer:
>
>
> Usage: 0 units, 0 operations
> No bid landscapes found.
>
> is this estimator even defined for Placements?
>
>
> Thanks
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to