Campaign individual budget

2013-07-12 Thread Cristiano Monteiro dos Santos
Hi guys.

I'm using Adwords Java API v201306. I have already created a campaign that 
is NOT using a shared budget (when I check on the Adwords interface, it 
shows I'm using an individual budget, giving me the option to switch to a 
budget from my shared library).

Now I'm trying to update that campaign, doing so by creating a new Budget 
object instance, setting the micro amount, delivery method and period 
attributes, setting it to the campaign, setting the campaign to an 
operation with a SET operator. When that operation is passed to the 
service, I'm getting the error [RequiredError.REQUIRED @ 
operations[0].operand.budget.budgetId].

So, how is it possible to update a campaign's budget without having to 
switch to a shared budget? As the campaign was created with an individual 
budget, why can't it stay as it is?

Thanks

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

--- 
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/groups/opt_out.




Re: Campaign individual budget

2013-10-24 Thread Ondřej Bartas
When you are creating New Campaign you need to create budget first and 
set isExplicitlyShared to FALSE.

Then use ID from budget for new campaign as parameter budget_id

When you are updating budget, just find campaign with selector BudgetId and 
then update Budget object by Budget Service.




Dne pátek, 12. července 2013 22:49:36 UTC+2 Cristiano Monteiro dos Santos 
napsal(a):
>
> Just made the arrangements so at update time, I get the budget ID from the 
> existing campaign, set it to the newly created Budget instance and them 
> pass to the service.
> Worked like a charm.
> Thank you guys.
> Take care
>
>
> On Fri, Jul 12, 2013 at 5:45 PM, David Torres (AdWords API Team) <
> adwordsapia...@google.com > wrote:
>
>> Hi,
>>
>> I can confirm what David just said. You need to use the 
>> BudgetOrderService to create/update budgets now.
>>
>> Best,
>>
>> - David Torres - AdWords API Team
>>
>>
>> On Friday, July 12, 2013 4:43:08 AM UTC-4, david wrote:
>>>
>>> I believe even existing individual budgets have to be updated via the 
>>> budgetService now. 
>>> So you should be able to get the BudgetId field of your existing 
>>> campaign by doing a GET to CampaignService (don't know the specifics of 
>>> doing this using the Java client library). Then just mutate that budgetId 
>>> using budgetService.
>>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 adwor...@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api...@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...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

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

--- 
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/groups/opt_out.


Re: Campaign individual budget

2013-07-12 Thread david
I believe even existing individual budgets have to be updated via the 
budgetService now. 
So you should be able to get the BudgetId field of your existing campaign 
by doing a GET to CampaignService (don't know the specifics of doing this 
using the Java client library). Then just mutate that budgetId using 
budgetService.

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

--- 
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/groups/opt_out.




Re: Campaign individual budget

2013-07-12 Thread David Torres (AdWords API Team)
Hi,

I can confirm what David just said. You need to use the BudgetOrderService 
to create/update budgets now.

Best,

- David Torres - AdWords API Team

On Friday, July 12, 2013 4:43:08 AM UTC-4, david wrote:
>
> I believe even existing individual budgets have to be updated via the 
> budgetService now. 
> So you should be able to get the BudgetId field of your existing campaign 
> by doing a GET to CampaignService (don't know the specifics of doing this 
> using the Java client library). Then just mutate that budgetId using 
> budgetService.
>

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

--- 
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/groups/opt_out.




Re: Campaign individual budget

2013-07-12 Thread Cristiano Monteiro
Just made the arrangements so at update time, I get the budget ID from the
existing campaign, set it to the newly created Budget instance and them
pass to the service.
Worked like a charm.
Thank you guys.
Take care


On Fri, Jul 12, 2013 at 5:45 PM, David Torres (AdWords API Team) <
adwordsapiadvisor+da...@google.com> wrote:

> Hi,
>
> I can confirm what David just said. You need to use the BudgetOrderService
> to create/update budgets now.
>
> Best,
>
> - David Torres - AdWords API Team
>
>
> On Friday, July 12, 2013 4:43:08 AM UTC-4, david wrote:
>>
>> I believe even existing individual budgets have to be updated via the
>> budgetService now.
>> So you should be able to get the BudgetId field of your existing campaign
>> by doing a GET to CampaignService (don't know the specifics of doing this
>> using the Java client library). Then just mutate that budgetId using
>> budgetService.
>>
>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>
> ---
> 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/groups/opt_out.
>
>
>

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

--- 
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/groups/opt_out.




DSK campaign individual budget

2016-02-15 Thread maxim . gavrilenko
I create DSK campaign by API (PHP). And set budget to 100$
Campaign created. but with shared budget. 

I tried:
When I create the Budget, set the *isExplicitlyShared* property to *false* 
(default 
value is true. *$budget->isExplicitlyShared = false;*) and assign that 
budget to the campaign.
 Campaign budget guide 
 and 
AddCampaigns 

 example 
code for budget creation from the PHP client library.

But it's shared budget.

How can I set individual budget when I creating campaign?

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ec0ac0a8-b4fa-4f48-9ee3-a6e0f145d885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DSK campaign individual budget

2016-02-15 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello Maxim,

I've just confirmed that I can create a campaign with individual budget 
(not shared) by putting *$budget->isExplicitlyShared = false *after line 43 

 in 
our *AddCampaigns* example.
Where did you put this line in the example file?

If you still face with this issue, could you please send me a SOAP log of 
your operation by *Reply privately to author*?

Cheers,
Thanet, AdWords API Team

On Monday, February 15, 2016 at 11:22:09 PM UTC+9, 
maxim.gavrile...@pdffiller.com wrote:
>
> I create DSK campaign by API (PHP). And set budget to 100$
> Campaign created. but with shared budget. 
>
> I tried:
> When I create the Budget, set the *isExplicitlyShared* property to *false*
>  (default value is true. *$budget->isExplicitlyShared = false;*) and 
> assign that budget to the campaign.
>  Campaign budget guide 
>  and 
> AddCampaigns 
> 
>  example 
> code for budget creation from the PHP client library.
>
> But it's shared budget.
>
> How can I set individual budget when I creating campaign?
>
> 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/af63a71a-fa43-44ad-b56f-8e7d6d6d4434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.