Re: "error" : "invalid_grant", "error_description" : "Invalid code." while authenticating

2016-05-03 Thread Mhamad Canaan
Hi, Thank you for your help but it turned out that i was calling the function twice that is why it gave me this error. Thanks a lot. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+G

Re: "error" : "invalid_grant", "error_description" : "Invalid code." while authenticating

2016-05-03 Thread Mhamad Canaan
Hi, I don't really know what is the problem, I am trying to do the authentication as dynamic, it works when i do it on my local host, the code I wrote takes the user to the AdWords sign in page and lets him accept to manage his account through my software, and it gives back the code and the co

"error" : "invalid_grant", "error_description" : "Invalid code." while authenticating

2016-04-29 Thread Mhamad Canaan
Hi everyone, I want to authenticate users to access there accounts using the refresh token and the clientCustomerID, but whenever I click allow and go back with the code is the url this error pops up. what is wrong? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our bl

Tracking template and conversion

2016-03-25 Thread Mhamad Canaan
Hello, I need some help concerning the conversion and tracking templates, I don't get it how it works and how to implement it in the code, I am building a plugin in our software for AdWords, I've finished the steps required for creating the campaign but still not clear for me the conversion and

Re: AdServingOptimizationStatus Question

2016-02-18 Thread Mhamad Canaan
Hello, I will try to make it clear for what I am asking for, lets suppose I executed the AddCampaigns.php but I removed the Optional line code, the start date of the campaign will be filled automatically by the AdWords account of the user, so there are some default values that the AdWords fill

Re: AdServingOptimizationStatus Question

2016-02-18 Thread Mhamad Canaan
Maybe I forgot to tell you, I am developing webpage that can create and manage campaigns of adwords, so I need to make the user fully satisfied with all the options he might need. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeve

Re: AdServingOptimizationStatus Question

2016-02-18 Thread Mhamad Canaan
I understand how to not include it in the code, but this is not the issue, my concern is that how to make a way to let the user choose whether it is standard or all feature and being able to satisfy both options, thats why I am asking about what to do with the advanced settings if he chose stand

Re: AdServingOptimizationStatus Question

2016-02-18 Thread Mhamad Canaan
Hi Yin Niu, Ok so there are so many "Advanced Settings" to be filled if it was "All Feature", this I have no problem with, but what if it was "Standard" campaign? all these settings are ignored? like the Frequency cap, Campaign URL option, shcedule, etc.. what do I do with them? I fill them in

AdServingOptimizationStatus

2016-02-17 Thread Mhamad Canaan
Is AdServingOptimizationStatus affected by choosing standard or all feature? Or is there a default value for AdServingOptimizationStatus? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/

Re: Customer Client Id

2016-01-05 Thread Mhamad Canaan
Hi Anthony, I tried using this service and it worked very well than you very much indeed. I have done the authentication part for integrating AdWords with our software, now all is left to is integrate adding the campaigns ads etc. with the software. I have seen the making your first request in

Re: AuthorizationError.USER_PERMISSION_DENIED

2016-01-04 Thread Mhamad Canaan
Hi, I have a similar problem, but for me I have managed to authorize my app and accessed the accounts, but I still one thing more. When a MCC account authenticates the [canManageClients] => 1 tells me that it is an MCC. but what if I want to manage one of the clients this account manages how

Re: Customer Client Id

2016-01-02 Thread Mhamad Canaan
I found the way to access the cusomerClientId of the authenticated customer, through CustomerService. but now I am trying to check if the canManageClients if equal 1 then it is a MCC which means there might be clients managed by him. Which service lets me to fetch the list of the managed client

Customer Client Id

2016-01-01 Thread Mhamad Canaan
Hi everyone, First of all Happy new year to everybody hope this year would bring joy among us all. Second I want to ask about the customer client Id when authenticating the user, it brings back code in the _GET parameter, then I should exchange it into refresh_token and till here everything is

adwords documentation

2015-12-31 Thread Mhamad Canaan
Hi all, Im new to this and Im wondering if there is any documentation for php library. while reading the documentation I found that only the make your first request has the option of seeing it in php. while the rest of the documentation is only in java and Im finding it hard to understand. I ne

new to adwords api

2015-12-28 Thread Mhamad Canaan
Hello everyone, I am new to this API and I'm facing a lot of difficulties understanding some concepts, I am building a web application similar to adstage and want to make users able to link to their Adwords accounts through my web application, but I don't understand how to do it, with the googl