Hi Richard,

I am facing issues while getting campaigns, My application is ASP.NET MVC 
and i need to fetch all campaigns but how i can send authtoken while making 
request. below is sample code which i am using. SoapHeader do not have 
propert authtoken in v201402 version. can please she some info. we are 
migrating to v201402 version.

campServiceClient1 = new CampaignServiceInterfaceClient();
                Gateway.Google.CampaignService.SoapHeader RequestHeader = 
new Gateway.Google.CampaignService.SoapHeader();
                RequestHeader.developerToken = 
connectionInfo.DeveloperToken.Trim();
                RequestHeader.userAgent = UserAgent;
                //RequestHeader.*authToken *= authtoken.Trim();
                RequestHeader.clientCustomerId = GoAccountId.ToString();
      
       ///setting selector to download campaigns for the entire account
                CampaignService.Selector selector = new 
CampaignService.Selector();
                selector.fields = new string[] { "Id", "Name", "Status" };

                CampaignPage cp = new CampaignPage();

                Gateway.Google.CampaignService.SoapResponseHeader res = 
campServiceClient1.get(RequestHeader, selector, out cp);

On Tuesday, 29 April 2014 02:34:08 UTC+5:30, Richard wrote:
>
> ok I got it working now. one question, when I use CampaignService.get()  I 
> got the entire list of campaigns. 
> Is there a way to select just one campaign based on campaignID?
> thanks,
> Richard
>
>
> On Wednesday, April 23, 2014 10:59:12 AM UTC-5, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi Richard,
>>
>> You need to
>>
>> 1. Retrieve the budget id using CampaignService.get(). Use BudgetId as 
>> the selector field.
>> 2. Set the budget using BudgetService.mutate(). 
>>
>> My understanding is that you cannot update the budget using 
>> CampaignService.mutate any longer.
>>
>> Cheers,
>> Anash
>>
>> On Tuesday, April 22, 2014 10:48:07 AM UTC-4, Richard wrote:
>>>
>>> Any idea? the update campaign budget worked on v201309 without budget id 
>>> but now failed on v201402, is there any parameter I need to set? thanks!
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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