Sorry - instead of 
AdGroupAdService.get<https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService#get>I
 meant to say 
AdGroupService.get<https://developers.google.com/adwords/api/docs/reference/latest/AdGroupService#get>below.

Thanks,
Josh, AdWords API Team

On Monday, March 24, 2014 11:33:00 AM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> You can retrieve the CPC bid amount by including the field "CpcBid" in 
> your *Selector* on an 
> AdGroupAdService.get<https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService#get>call.
>   The following additional resources provide more information.
>
>    - The 
> GetAdGroups.php<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%2Fblob%2Fmaster%2Fexamples%2FAdWords%2Fv201402%2FBasicOperations%2FGetAdGroups.php&sa=D&sntz=1&usg=AFQjCNEfEOVepryk0WrHxaiEGeZzZxeI-w>
>  example 
>    - simply add "CpcBid" to the list of 
> fields<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%2Fblob%2Fmaster%2Fexamples%2FAdWords%2Fv201402%2FBasicOperations%2FGetAdGroups.php%23L48&sa=D&sntz=1&usg=AFQjCNEy8wmGEmBnFhdOxnNAa2EHqutIHw>passed
>  for the example
>    - The list of Selector fields for 
> AdGroupService<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201402-AdGroupService>
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, March 24, 2014 8:46:13 AM UTC-4, Monty808 wrote:
>>
>> I am using the adwords python api. I need to get the bid amount and type. 
>> E.g. bid=4 ad type = cpc.
>>
>> I am given the adgroup id. 
>>
>> Below is an example on to create and ad group. Once created...how do 
>> retrieve the settings?  I want to know the bid I set....
>>
>> ad_group_service = client.GetService('AdGroupService', version='v201402')
>>
>> operations = [{
>>       'operator': 'ADD',
>>       'operand': {
>>           'campaignId': campaign_id,
>>           'name': 'Earth to Mars Cruises #%s' % uuid.uuid4(),
>>           'status': 'ENABLED',
>>           'biddingStrategyConfiguration': {
>>               'bids': [
>>                   {
>>                       'xsi_type': 'CpcBid',
>>                       'bid': {
>>                           'microAmount': '1000000'
>>                       },
>>                   }
>>               ]
>>           }
>>       }
>>   }]
>>   ad_groups = ad_group_service.mutate(operations)
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.

Reply via email to