Is there not a python example?



On Monday, March 24, 2014 8:46:13 PM UTC+8, 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