Thanks, but it would nice to have a clear, clean example in Python.


On Dec 18, 9:44 am, JosipK <[email protected]> wrote:
> Hi,
>
> There are a bit more steps that you need to set.
>
> Here's code snippet for C#, but I think that is "pretty" similar for
> Python.
>
>         // Make user
>         AdWordsUser user = new AdWordsUser();
>
>         // Standard filter
>         AdGroupCriterionIdFilter criterionFilter = new
> AdGroupCriterionIdFilter();
>         criterionFilter.adGroupId = 5000077954;
>         criterionFilter.adGroupIdSpecified = true;
>
>         // Standard filter needs to be put in an array of filters
>         AdGroupCriterionIdFilter[] filters = new
> AdGroupCriterionIdFilter[1];
>         filters[0] = criterionFilter;
>
>         // Now you can create selector, and put array of filters to
> idFilter property
>         AdGroupCriterionSelector selector = new
> AdGroupCriterionSelector();
>         selector.idFilters = filters;
>
>         // Make serive call
>         AdGroupCriterionService criterionService =
> (AdGroupCriterionService)user.GetService
> (AdWordsService.v200909.AdGroupCriterionService);
>         AdGroupCriterionPage answer = criterionService.get(selector);
>         AdGroupCriterion[] criterions = answer.entries;
>
> Regards,
> --
> Josip
> GemBox.Ppc -http://www.GemBoxSoftware.com/Ppc/Overview.htm- Advanced
> AdWords API for .NET

--

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