Thanks that is excellent.I 'll appreciate your help

On Jan 27, 11:47 am, AdWords API Advisor
<[email protected]> wrote:
> Hi,
>
> If you are using the ZSI library then you can use the classes that it
> generates:
>
> http://code.google.com/p/google-api-adwords-python-lib/source/browse/...
>
> We haven't tested it extensively, but you should be able to pass these
> objects into the service methods instead of the dictionaries.  If you
> find any bugs with this process open a bug on the project's issue
> tracker:
>
>  http://code.google.com/p/google-api-adwords-python-lib/issues/list
>
> We also have a wiki article on how to use Python and the AdWords API
> without the client library that shows how to use the ZSI ComplexType
> class:
>
>  http://code.google.com/p/google-api-adwords-python-lib/wiki/NoClientL...
>
> The general opinion from the maintainer of the Python client library
> is that working with objects will be significantly more difficult than
> using the dictionaries, but if you decide to go this route we'd like
> to get your feedback on the experience.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jan 26, 5:42 pm, babar <[email protected]> wrote:
>
>
>
> > Is there any template so I can instantiate to create object like
> > campaign, adgroup, ... instead of building a dictionary.
> > for example instead of
> > CampaignOperation={
> >                         'status': 'PAUSED',
> >                         'startDate': '20100109',
> >                         'endDate': '20201231',
> >                         'name': 'Camphello',
> >                         'budget':
> >                                 {
> >                                 'amount': {
> >                                                 'ComparableValue_Type': 
> > 'Money',
> >                                                 'microAmount': '1000000'
> >                                                 },
> >                                 'period': 'DAILY',
> >                                 'deliveryMethod': 'STANDARD'
> >                                 },
> >                 'frequencyCap': {'impressions': '0', 'timeUnit': (), 
> > 'level': ()},
> >                 'biddingStrategy': {'type': 'ManualCPC'},
> >                 'adServingOptimizationStatus': 'OPTIMIZE',
> >                 'autoKeywordMatchingStatus': 'OPT_OUT',
>
> >                 }
> > using somthing like
> > cmp=client.type.create('CampaignOperation')
> > cmp.status='PAUSED'
> > cmp.name=...
> > ....

-- 
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.

Reply via email to