Hello,
The mutate result should include the campaign ID in it. Please include a
SOAP request/response if you're not able to see it, to help troubleshoot.
Regards,
Mike, AdWords API Team
On Monday, June 15, 2015 at 1:03:23 PM UTC-4, Giovanni Cortes wrote:
>
> I want to obtain the campaign ID when is created.
>
> I have this code
>
> client.SetClientCustomerId(client_customer_id)
>> campaign_service = client.GetService('CampaignService')
>>
>> budget_id = add_budget(client, client_customer_id, budget)
>>
>> operations = [{
>> 'operator': 'ADD',
>> 'operand': {
>> 'name': campaign_name,
>> 'status': 'PAUSED',
>> 'biddingStrategyConfiguration': {
>> 'biddingStrategyType': 'MANUAL_CPC',
>> 'biddingScheme': {
>> 'xsi_type': 'ManualCpcBiddingScheme',
>> 'enhancedCpcEnabled': 'false',
>> }
>> },
>> 'budget': {
>> 'budgetId': budget_id
>> },
>> 'advertisingChannelType': add_channel_type,
>> }
>> }]
>>
>> return campaign_service.mutate(operations)
>>
>>
>
> but when I print the campaign service I get None
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
---
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 [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/23a4e5bb-c702-4184-bb0e-60e6d721af6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.