This worked - thank you for your help.

On Thursday, 19 February 2015 16:28:50 UTC, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> I'm not familiar with this language specifically, but it looks like bids[] 
> is an array. Maybe try 
> adgroupcriterion['biddingStrategyConfiguration']['bids'][0]['bid']['microAmount']
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, February 19, 2015 at 10:34:06 AM UTC-5, Sam wrote:
>>
>> I can see that when i pull my report my entries look like below (for 
>> keywords anyway):
>>
>> (BiddableAdGroupCriterion){
>>    adGroupId = 10498715
>>    criterionUse = "BIDDABLE"
>>    criterion =
>>       (Keyword){
>>          id = 11298522
>>          type = "KEYWORD"
>>          Criterion.Type = "Keyword"
>>          text = "keyword text"
>>          matchType = "PHRASE"
>>       }
>>    AdGroupCriterion.Type = "BiddableAdGroupCriterion"
>>    approvalStatus = "APPROVED"
>>    qualityInfo =
>>       (QualityInfo){
>>          qualityScore = 9
>>       }
>>    biddingStrategyConfiguration =
>>       (BiddingStrategyConfiguration){
>>          biddingStrategyType = "MANUAL_CPC"
>>          bids[] =
>>             (CpcBid){
>>                Bids.Type = "CpcBid"
>>                bid =
>>                   (Money){
>>                      ComparableValue.Type = "Money"
>>                      microAmount = 1070000
>>                   }
>>                cpcBidSource = "CRITERION"
>>             },
>>       }
>>  }
>>
>> But then if I run the below, shouldn't it retrieve the bid?
>>
>> page = ad_group_ad_service.get(selector)
>> if 'entries' in page:
>>     for adgroupcriterion in page['entries']:
>>
>>
>>         print 
>> adgroupcriterion['biddingStrategyConfiguration']['bids']['bid']['microAmount']
>>
>>
>> I assume I'm doing something stupid, could someone point me in the right 
>> direction please?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3ce8bb7f-4043-4ece-a8ef-32577524c29f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to