Re: Create Awords Account

2018-11-09 Thread Trường Nguyễn Xuân
Hi Josh,

You have a way to solve this problem?

On Friday, November 9, 2018 at 10:51:28 PM UTC+7, Josh Newman wrote:
>
> Started having this same issue around November 1st. Today the issue has 
> become even greater, but we have noticed it is only effecting 1 of manager 
> accounts (we have multiple manager accounts).
>
> On Friday, November 9, 2018 at 3:45:01 AM UTC-5, Luis Xander Talag 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> Could you clarify if the API request generated the 
>> ManagedCustomerServiceError.SAVE_CUSTOMERS_FAILURE error, but then, when 
>> you checked it via the UI, the creation was successful? If so, then this 
>> seems odd since if the API request failed, then, there should be no data 
>> being reflected in the UI for this request. With this, then kindly provide 
>> your clientCustomerId and the complete SOAP request and response logs so 
>> that I can further check on it. Kindly reply via the *Reply privately to 
>> author*.
>>
>> Best regards,
>> Luis
>> AdWords API Team
>>
>> On Friday, November 9, 2018 at 12:59:31 PM UTC+8, Trường Nguyễn Xuân 
>> wrote:
>>>
>>> Hi Google Team,
>>>
>>> I have problem, I create adwords account is sub account MCC, I receive 
>>> error ManagedCustomerServiceError.SAVE_CUSTOMERS_FAILURE, FieldPath: 
>>> operations, Trigger: SAVE_CUSTOMERS_FAILURE), but in interface Google 
>>> Adwords I seen adwords account has create success.
>>> How to fix this problem?
>>>
>>> [image: 2018-11-09_115114.png]
>>>
>>>
>>> Thanks and regards,
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/cd825b09-a26b-47f7-a4f1-31b40cb35590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invite email google adwords

2018-06-07 Thread Trường Nguyễn Xuân
Hi  Dhanya's,

Thanks for you support. This is my CID: 1806016198, this is production
accounts but I can not use API  inviteeEmail and inviteeRole

, please
add the CID in to  Whitelisting. Thank you very much.

Best Regards,

*Truong Nguyen,*
Developer Team of Haravan
E: truong.nguyenx...@haravan.com | M: 0989030791 | Skype:
truongnguyen@gmail.com

On Fri, Jun 8, 2018 at 12:51 AM, 'Milind Sankeshware (AdWords API Team)'
via AdWords API and Google Ads API Forum 
wrote:

> Hi Trường,
>
> I am Dhanya's colleague and will be following up on this thread as she is
> unavailable today. Whitelisting for such features are usually available
> only for production accounts. If there is a production account that you
> would like to be whitelisted, please share the CID with me.
>
> Thanks,
> Milind, AdWords API Team.
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/adwords-api/QqqOyJhqTEg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/ce1bd61b-57b2-4bb5-9501-6ae3b05fc626%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/CAOSS%2B8_QrpdbT61B-6Sgc3gpMrRQX_YcsVr%2B8txzVDk54hO8hQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invite email google adwords

2018-06-06 Thread Trường Nguyễn Xuân
Hi  Dhanya,

Thanks for you support. How to check my MCC Id ( 307-855-0798  this is test 
account) accessible to whitelisted ?

On Thursday, June 7, 2018 at 1:30:41 AM UTC+7, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Trường,
>
> The inviteeEmail and inviteeRole 
> 
>  field 
> is accessible to whitelisted customers only. Could you please reply back 
> with the your MCCid and let me know if it has been whitelisted to use the 
> inviteeEmail 
> and inviteeRole 
> 
>  fields?
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/56aa25bb-8c2d-4536-83c0-cb99268f4e00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Invite email google adwords

2018-06-06 Thread Trường Nguyễn Xuân
Hi Adwords Team,

I have problem, I have MCC account, I'm using API create sub Account for 
MCC and I invite email, code example:

public void Run(AdWordsUser user)
{
using (ManagedCustomerService managedCustomerService =
(ManagedCustomerService)user.GetService(
AdWordsService.v201802.ManagedCustomerService))
{

// Create account.
ManagedCustomer customer = new ManagedCustomer();
customer.name = "Customer 01";
customer.currencyCode = "VND";
customer.dateTimeZone = "Europe/London";

// Create operations.
ManagedCustomerOperation operation = new 
ManagedCustomerOperation();
operation.operand = customer;
operation.@operator = Operator.ADD;

// For whitelisted users only, uncomment two commands below 
as part of the
// ADD operation to invite a user to have access to an 
account. An email
// will be sent to that user inviting them to have access 
to the newlyd
// created account.
 operation.inviteeEmail = "truong.nguyenx...@haravan.com";
 operation.inviteeRole = AccessRole.ADMINISTRATIVE;

try
{
ManagedCustomerOperation[] operations = new 
ManagedCustomerOperation[] { operation };
// Add account.
ManagedCustomerReturnValue result = 
managedCustomerService.mutate(operations);

// Display accounts.
if (result.value != null && result.value.Length > 0)
{
ManagedCustomer customerResult = result.value[0];
Console.WriteLine("Account with customer ID \"{0}\" 
was created.",
customerResult.customerId);
}
else
{
Console.WriteLine("No accounts were created.");
}
}
catch (Exception e)
{
throw new System.ApplicationException("Failed to create 
accounts.", e);
}
}

But I receive error:

AdWordsApiException: Exception of type 
'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. 

Error reason is unknown.. (Error: RequestError.UNKNOWN, FieldPath: 
operations[0].inviteeEmail, Trigger: truong.nguyenx...@haravan.com)


How to fix this problem?

Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/a4e5b50f-e050-47cc-89d7-d25a1be6435a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API Budget services errors CUSTOMER_NOT_WHITELISTED_FOR_API

2018-04-23 Thread Trường Nguyễn Xuân
Hi Sai Teja, 

Thanks for your support, 
I have one single account (adwordsID: 605-374-2550 ) not MCC.  when i 
using  API  budget order services , I recived error  CUSTOMER_NOT_WHITELI
STED_FOR_API. Required adwords account is MCC? may be using API  budget 
order services ? 

On Friday, April 20, 2018 at 4:48:11 AM UTC+7, Teja Makani wrote:
>
> Hi Truong,
>
> The CUSTOMER_NOT_WHITELISTED_FOR_API error occurs since the customer is 
> not whitelisted for accessing the BudgetOrderService.mutate() using the 
> AdWords API. Could you also confirm if you have set up consolidated 
> billing  for this MCC? 
> If so, please share the MCC id that you want to whitelist, so that I can 
> raised the request to whitelist for BudgetOrderService 
>  on 
> your behalf. You could use 'Reply privately to author' while responding.
>
> Regards,
> Sai Teja, 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 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/12b9e812-f4af-4430-ba62-b2b46dac7fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords API Budget services errors CUSTOMER_NOT_WHITELISTED_FOR_API

2018-04-19 Thread Trường Nguyễn Xuân
Hi Adwords Team,

I have 1 account MCC, I choose 1 sub account




 Step 1: In Account 1, I add user truongnguyen.adwo...@gmail.com with 
permission == admin. 





Step next: Choose billing and payment => tab setting  => manager users  => 
add user(truongnguyen.adwo...@gmail.com) with permission is admin.





When I login with account truongnguyen.adwo...@gmail.com, In screen user 
interface adwords, I see setting payment, I can edit payment, add user 
manager,  


*But *when using *API *call get *budgetOrderService*, I receive errors 
*CUSTOMER_NOT_WHITELISTED_FOR_API? *although I set full permission and on 
screen user interface adwords normal operation.


*How to fix this problem?*




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/31f499bd-0e0a-4af1-950a-303ac7d0953c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to check my adwords account is MCC or not MCC?

2018-04-10 Thread Trường Nguyễn Xuân
Hi AdWords Team,
 
I have a quesion, How to check my Adwords account is MCC or not MCC with 
API?

With Account MCC: how to get root account with API? 
when I using CustomerService get customer I received all account(include: 
my account, account manager from another adwords account), but not field 
show this is root account?







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/1d701963-fb98-4228-b285-1dfd55606cb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get status Billing & payments of adwords account with API?

2018-04-08 Thread Trường Nguyễn Xuân
Hi Adwords Team,

I have a problem, How to get status *Billing & payments* (*have *setting 
billing & payment or *haven't* setting billing & payment)  of adwords 
account with API?.

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/9c44265d-6518-4be2-9d0c-84f43821c6c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set up conversion tracking automated?

2018-04-07 Thread Trường Nguyễn Xuân
Hi Adwords Team,

I have problem, When I using Awords API create campaign, I 
create BiddingStrategyType = ENHANCED_CPC, after in my Adwords interface, 
tab setting campaign, I see notification "To use this bid strategy, set up 
conversion tracking."  If I not set up conversion tracking? Also  it affect 
my 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/a5f96d51-4275-46eb-ae0b-ed783da3c701%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to access AdWords API from another account not in account MCC

2018-04-07 Thread Trường Nguyễn Xuân
Hi Vincent,

Thank you for support. 

Also, when I have developer token(basic token) from my adwrods account, it 
can be used to make calls against any account for which you have a valid 
refresh token after user access permission OAuth2.0 ?

On Friday, April 6, 2018 at 1:48:23 PM UTC+7, Vincent Racaza (AdWords API 
Team) wrote:
>
> Hi,
>
> Based on the error message itself and also in your property file snippet, 
> you have not set the value of your developer token. A basic/standard access 
> of developer token is needed in every AdWords API request against 
> production AdWords accounts.
>
> You may use an approved developer token from another hierarchy of a 
> manager account (e.g. your other manager account). Or, if you are 
> restricted to use the developer token from your other manager account, then 
> you must apply for a basic access 
> 
>  of 
> a developer token for your current manager account. The AdWords Compliance 
> Team will provide you updates within two business days after the form 
> submission.
>
> Thanks,
> Vincent
> 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 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/37b730c5-1bde-4d34-bb00-860482ad9a53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to access AdWords API from another account not in account MCC

2018-04-05 Thread Trường Nguyễn Xuân
I want  manage multiple unrelated accounts, I build OAuth2 sign-in flow 
into my application as part of adding OAuth2 support for my application.

When I using example from: 
https://github.com/googleads/googleads-dotnet-lib/tree/master/examples/AdWords/CSharp/OAuth

webconfg:
 
 
 
 http://localhost:56783/OAuthLogin.aspx; />
 
 
 




click Authorize User








accepp permision, after get campaign from customerId: 898-301-0144



result => Failed to get campaigns. Exception says "Value cannot be null. 
Parameter name: AdWords API requires a developer token. If you don't have 
one, you can refer to the instructions at 
https://developers.google.com/adwords/api/docs/signingup to get one."





How to access API Adwords from another account? from my application when i 
don't have Developer token from another account?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/38bbf0c5-d214-4e9f-9f09-3262be936cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to access API Adwords from another account not in account MCC

2018-04-05 Thread Trường Nguyễn Xuân


On Friday, April 6, 2018 at 9:37:57 AM UTC+7, Trường Nguyễn Xuân wrote:
>
> I want  manage multiple unrelated accounts, I build OAuth2 sign-in flow 
> into my application as part of adding OAuth2 support for my application.
>
> When I using example from: 
> https://github.com/googleads/googleads-dotnet-lib/tree/master/examples/AdWords/CSharp/OAuth
>
> webconfg:
>  
>  
>  
>  http://localhost:56783/OAuthLogin.aspx; />
>  
>  
>  
>
>
> <https://lh3.googleusercontent.com/-4j7UWraxExQ/WsbX5O3fQ7I/ABk/-L2VbtsV6E4FILGowS5HsjfMvFNgYkQeQCLcBGAs/s1600/2018-04-06_091332.png>
>
> click Authorize User
>
>
>
> <https://lh3.googleusercontent.com/-N6HYW8mixNg/WsbYV4EdTXI/ABo/FJj5xrSZMNErQY7yOBj3utZGRn0sidF1wCLcBGAs/s1600/2018-04-06_091445.png>
>
>
> <https://lh3.googleusercontent.com/-z5F6n1cZqHE/WsbaixsqHCI/ACU/HPoXMH95WTwP4HIY2JUz4fwoILkcKlnfwCLcBGAs/s1600/2018-04-06_092434.png>
>
>
> accepp permision, after get campaign from customerId: 898-301-0144
>
>
>
> <https://lh3.googleusercontent.com/-3S7H1iZ0hdA/WsbZNtsIIDI/AB4/P8V72tf7aRoHAND0auiRivtzL7lpEH_3gCLcBGAs/s1600/2018-04-06_091852.png>
>
>
>
> result => Failed to get campaigns. Exception says "Value cannot be null. 
> Parameter name: AdWords API requires a developer token. If you don't have 
> one, you can refer to the instructions at 
> https://developers.google.com/adwords/api/docs/signingup to get one."
>
>
> <https://lh3.googleusercontent.com/-CGcLVPeo0sw/Wsbonkvi0aI/ADU/w-eEPLaNKSwvPEpPAOT6YiyZlXfTjX9DQCLcBGAs/s1600/%25C3%25A0dsgg.png>
>
>
>
>
>
> How to access API Adwords from another account? from my application when i 
> don't have Developer token from another account?
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/068dd43e-067f-478b-8f44-7a2ba26f88b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to access API Adwords from another account not in account MCC

2018-04-05 Thread Trường Nguyễn Xuân
I want  manage multiple unrelated accounts, I build OAuth2 sign-in flow 
into my application as part of adding OAuth2 support for my application.

When I using example 
from: 
https://github.com/googleads/googleads-dotnet-lib/tree/master/examples/AdWords/CSharp/OAuth

webconfg:
 
 
 
 http://localhost:56783/OAuthLogin.aspx; />
 
 
 



click Authorize User







accepp permision, after get campaign from customerId: 898-301-0144






result => Developer token is not approved for production access, and the 
customer is attempting to access a production account.. (Error: 
QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED, FieldPath: , Trigger: )






How to access API Adwords from another account? from my application when i 
don't have Developer token from another account?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b9122e85-56b7-4f80-ac0c-3ba2594bb5e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set multiple location targeting for adwords type SHOPPING?

2018-04-04 Thread Trường Nguyễn Xuân
Hi AdWords Team,

Thank you for support, after removing the language, it that works.


On Thursday, April 5, 2018 at 12:48:18 AM UTC+7, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi, 
>
> I see that the campaign (Id : 1341670265) that you are trying to add the 
> criteria is a Shopping Campaign. Please note that Language criterion cannot 
> be targeted at the campaign level for Shopping Campaigns. Please check this 
> guide 
>  
> for details about the criteria usage. Could you retry the request removing 
> the language criterion and see if that works? 
>
> 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 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/7ddbb614-cdfe-4645-a003-291cef39dedb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set multiple location targeting for adwords type SHOPPING?

2018-04-04 Thread Trường Nguyễn Xuân
When I using .net lib libary from github, result 
error OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE.
How to fix this problem? 
Thanks so much!.

using Google.Api.Ads.AdWords.Lib;
using Google.Api.Ads.AdWords.v201802;

using System;
using System.Collections.Generic;

namespace Google.Api.Ads.AdWords.Examples.CSharp.v201802
{

/// 
/// This code example adds various types of targeting criteria to a 
campaign.
/// To get a list of campaigns, run GetCampaigns.cs.
/// 
public class AddCampaignTargetingCriteria : ExampleBase
{

/// 
/// Main method, to run this code example as a standalone 
application.
/// 
/// The command line arguments.
public static void Main(string[] args)
{
AddCampaignTargetingCriteria codeExample = new 
AddCampaignTargetingCriteria();
Console.WriteLine(codeExample.Description);
try
{
long campaignId = long.Parse("1341670265");
string feedIdText = "INSERT_LOCATION_FEED_ID_HERE";

long? feedId = null;
long temp;

if (long.TryParse(feedIdText, out temp))
{
feedId = temp;
}

codeExample.Run(new AdWordsUser(), campaignId, feedId);
}
catch (Exception e)
{
Console.WriteLine("An exception occurred while running this 
code example. {0}",
ExampleUtilities.FormatException(e));
}
}

/// 
/// Returns a description about the code example.
/// 
public override string Description
{
get
{
return "This code example adds various types of targeting 
criteria to a campaign. To " +
"get a list of campaigns, run GetCampaigns.cs.";
}
}

/// 
/// Runs the code example.
/// 
/// The AdWords user.
/// Id of the campaign to which targeting 
criteria
/// are added.
/// ID of a feed that has been configured for 
location
/// targeting, meaning it has an ENABLED FeedMapping with 
criterionType of
/// 77. Feeds linked to a GMB account automatically have this 
FeedMapping.
/// If you don't have such a feed, set this value to null.
public void Run(AdWordsUser user, long campaignId, long? feedId)
{
using (CampaignCriterionService campaignCriterionService =
(CampaignCriterionService)user.GetService(
AdWordsService.v201802.CampaignCriterionService))
{

// Create locations. The IDs can be found in the 
documentation or
// retrieved with the LocationCriterionService.
Location california = new Location()
{
id = 21137L
};

Location mexico = new Location()
{
id = 2484L
};

// Create languages. The IDs can be found in the 
documentation or
// retrieved with the ConstantDataService.
Language english = new Language()
{
id = 1000L //1040

};

Language vietnam = new Language()
{
id = 1040 
};

Language spanish = new Language()
{
id = 1003L
};

List criteria = new List() {
  california, mexico, english, spanish
};

// Distance targeting. Area of 10 miles around the 
locations in the location feed.
if (feedId != null)
{
LocationGroups radiusLocationGroup = new 
LocationGroups()
{
feedId = feedId.Value,
matchingFunction = new Function()
{
@operator = FunctionOperator.IDENTITY,
lhsOperand = new FunctionArgumentOperand[] {
new LocationExtensionOperand() {
  radius = new ConstantOperand() {
type = 
ConstantOperandConstantType.DOUBLE,
unit  = ConstantOperandUnit.MILES,
doubleValue = 10
  }
}
}
}
};

criteria.Add(radiusLocationGroup);
}

// Create operations to add each of the criteria above.
List operations = new 
List();
foreach (Criterion criterion in criteria)
{