Hi Kanan,

Thanks for clarifying -- I see what you're saying and I'm seeing the same 
behavior when I try this on my side. I'll look into this and let you know 
once I have more information.

In the meantime, as a workaround you could issue a separate *AdGroupService* 
request 
to get the current bid for the ad group, and then compare that bid to the 
landscape points to find the point that matches your bid. I know this isn't 
ideal, but it might help if you urgently need to match up the data in this 
way.

Thanks,
Josh, AdWords API Team

On Monday, March 14, 2016 at 1:25:36 PM UTC-4, Kanan Farzali wrote:
>
> Hi Josh,
>
> Thanks for your response.
>
> My selector list is 
> 'CampaignId,StartDate,EndDate,LocalCost,LocalClicks,LocalImpressions,LandscapeCurrent',
>  
> but it still sets as a null. And also, even if landscapeCurrent is set to 
> true, I still won't know which bid in 'LandscapePoints' array is the 
> current one.
>
> I am using PHP if that helps.
>
> Thanks,
>
> Kanan
>
> On Monday, March 14, 2016 at 3:18:02 PM UTC, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Kanan,
>>
>> If you include *LandscapeCurrent* in your *Selector*, then you'll get 
>> back results with the landscapeCurrent boolean attribute 
>> <https://developers.google.com/adwords/api/docs/reference/v201601/DataService.AdGroupBidLandscape#landscapecurrent>
>>  populated. 
>> This will be set to *true* for the landscape for the current bid.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Monday, March 14, 2016 at 6:01:32 AM UTC-4, Kanan Farzali wrote:
>>>
>>> Hi Google Team,
>>>
>>> When I get data from Adwords API (BidLandscape), it gives the data in a 
>>> similar format:
>>>
>>> {"data":{"entries":[
>>>
>>>
>>> {"type":"UNIFORM","landscapeCurrent":null,"campaignId":"xxx","adGroupId":"xxx","startDate":"20160308","endDate":"20160309","landscapePoints":[{"bid":{"microAmount":430000,"ComparableValueType":"Money"},"clicks":2,"cost":{"microAmount":810000,"ComparableValueType":"Money"},"impressions":39,"promotedImpressions":0},{"bid":{"microAmount":460000,"ComparableValueType":"Money"},"clicks":3,"cost":{"microAmount":1110000,"ComparableValueType":"Money"},"impressions":49,"promotedImpressions":0},{"bid":{"microAmount":490000,"ComparableValueType":"Money"},"clicks":4,"cost":{"microAmount":1980000,"ComparableValueType":"Money"},"impressions":56,"promotedImpressions":0},{"bid":{"microAmount":530000,"ComparableValueType":"Money"},"clicks":6,"cost":{"microAmount":3130000,"ComparableValueType":"Money"},"impressions":63,"promotedImpressions":0},{"bid":{"microAmount":590000,"ComparableValueType":"Money"},"clicks":7,"cost":{"microAmount":3910000,"ComparableValueType":"Money"},"impressions":68,"promotedImpressions":0},{"bid":{"microAmount":870000,"ComparableValueType":"Money"},"clicks":11,"cost":{"microAmount":8660000,"ComparableValueType":"Money"},"impressions":74,"promotedImpressions":0}],"DataEntryType":"AdGroupBidLandscape"},
>>>
>>> {"type":"UNIFORM","landscapeCurrent":null,"campaignId":"xxx
>>> ","adGroupId":"xxx
>>> ","startDate":"20160306","endDate":"20160309","landscapePoints":[{"bid":{"microAmount":230000,"ComparableValueType":"Money"},"clicks":2,"cost":{"microAmount":290000,"ComparableValueType":"Money"},"impressions":49,"promotedImpressions":0},{"bid":{"microAmount":280000,"ComparableValueType":"Money"},"clicks":3,"cost":{"microAmount":490000,"ComparableValueType":"Money"},"impressions":59,"promotedImpressions":0},{"bid":{"microAmount":350000,"ComparableValueType":"Money"},"clicks":3,"cost":{"microAmount":510000,"ComparableValueType":"Money"},"impressions":69,"promotedImpressions":0},{"bid":{"microAmount":440000,"ComparableValueType":"Money"},"clicks":4,"cost":{"microAmount":860000,"ComparableValueType":"Money"},"impressions":79,"promotedImpressions":0},{"bid":{"microAmount":740000,"ComparableValueType":"Money"},"clicks":5,"cost":{"microAmount":2350000,"ComparableValueType":"Money"},"impressions":93,"promotedImpressions":0}],"DataEntryType":"AdGroupBidLandscape"},
>>>
>>> {"type":"UNIFORM","landscapeCurrent":null,"campaignId":"xxx
>>> ","adGroupId":"xxx
>>> ","startDate":"20160303","endDate":"20160309","landscapePoints":[{"bid":{"microAmount":20000,"ComparableValueType":"Money"},"clicks":0,"cost":{"microAmount":0,"ComparableValueType":"Money"},"impressions":15,"promotedImpressions":0},{"bid":{"microAmount":80000,"ComparableValueType":"Money"},"clicks":0,"cost":{"microAmount":0,"ComparableValueType":"Money"},"impressions":23,"promotedImpressions":0},{"bid":{"microAmount":380000,"ComparableValueType":"Money"},"clicks":0,"cost":{"microAmount":0,"ComparableValueType":"Money"},"impressions":29,"promotedImpressions":0}],"DataEntryType":"AdGroupBidLandscape"},
>>> etc.
>>>
>>> ]}} 
>>>
>>> It is all good, but there is no way I know which one is the current bid 
>>> (the one you show in a bid simulator). Is it possible to get some kind of a 
>>> flag to know that?
>>>
>>> Cheers,
>>>
>>> Kanan
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/251074cc-7017-420f-b3ab-5d04edb87b06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Which one is our ... Kanan Farzali
    • Re: Which on... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
      • Re: Whic... Kanan Farzali
        • Re: ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
          • ... Kanan Farzali
            • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
              • ... Kanan Farzali
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
    • Re: Which on... Kanan Farzali

Reply via email to