I will set an example to develop my question.
I have an account that handles other accounts.
When I started my application I was authenticated with my main account. When
I create (for example) a campaign I do it like this:
CampaignService campaignService = (CampaignService) user.GetService (
AdWordsService.v201708.CampaignService);
The "user" object is the one in charge to tell which account I will create
my campaign.
How do I tell the CampaignService to create a campaign in another account
associated with mine?
Thank you very much.
El lunes, 26 de junio de 2017, 14:21:27 (UTC-3), Sreelakshmi Sasidharan
(AdWords API Team) escribió:
>
> Hi,
>
> To create a campaign via the API, you can use the CampaignService
> <https://developers.google.com/adwords/api/docs/reference/v201705/CampaignService>.
>
> Pleas check this
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201705/basicoperations/AddCampaigns.java>
> sample
> to understand how to do that in Java. Samples in other languages can also
> be found here
> <https://developers.google.com/adwords/api/docs/clientlibraries>. To
> access a specific client account via the API, the request should be
> authenticated by a user who has access to that client account (user on that
> client account or user on the linked manager account). If you are looking
> for instructions to add a user to an account, please check this
> <https://support.google.com/adwords/answer/6372672?hl=en> document.
>
> If your question was different, could you please elaborate?
>
> Thanks,
> Sreelakshmi, AdWords API Team
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/bf086d9e-b5d6-4587-a66f-fb375bd941e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.