Thank you !
I was misunderstanding the sentence "This field must not contain null
elements." I thought that IDs have to be specified.

On 30 août, 12:04, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi,
>
> It is possible to retrieve all campaigns in an account using the
> CampaignService.get method. To do this, you should pass an empty
> selector to the get(). For instance,
>
> http://code.google.com/p/google-api-adwords-dotnet/source/browse/trun...
> retrieves a specified campaign, but if line 52 (given below) were
> commented out, it will fetch all the campaigns in the account.
>
> selector.ids = new long[] { campaignId };
>
> The same rule goes for all the other services.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Aug 30, 2:10 pm, CPicou <adwo...@baobaz.com> wrote:
>
> > Hi,
> > I want to use the APIs (.NET client library) to modify some existing
> > campaigns that have been already published (with Google Adwords
> > Editor).
>
> > My problem : if I understand the API philosophy, to retrieve, for
> > example, an AdGroup, I have to do a GET request with the
> > AdGroupService. This GET will use an AdGroupSelector object, and I
> > have to specify to this selector one or several AdGroups IDs. Those ID
> > can be obtained with the return value of the AdGroup creation
> > request.
>
> > But I didn't create and published these AdGroups with the APIs, so I
> > don't know their ID.
>
> > Is there a way to get all my already published campaigns, adgroups,
> > ads and criterions IDs ? From their name I guess, since it's the only
> > thing I know...
>
> > Thank you

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to