Hi Ewan, thanks a lot, it works now, i've forgot to put a currency code. but i have a nother issue now: I got this error in sandbox environment when adding ad group to campaign: An error has occurred: [DatabaseError.PERMISSION_DENIED @ operations[0].operand. campaignId; trigger:'CampaignId: 787992', DatabaseError.PERMISSION_DENIED @ oper ations[1].operand.campaignId; trigger:'CampaignId: 787992']. can you help please?
Le lundi 15 octobre 2012 16:55:53 UTC+2, Ewan Heming a écrit : > Hi Laid, > > You need to enter the username and password for an AdWords account into > the $username and $password variables of the script; I've updated it to > throw a more relevant error if you don't. > > The sandbox does require a developer token, username, password, and > customer id for the account you want to access; however, you don't need an > approved token or real AdWords account to use it: The username and password > can be for any Google account (Gmail, YouTube etc), and the developer token > is just the account username with a currency code appended to it (for > example, "[email protected] <javascript:>++USD"). You also need to make a > call to one of the API services in order to initialize the sandbox for your > account and obtain a list of dummy customer ids; there's an example script > that does that > here<https://www.ewanheming.com/2011/12/ppc-software-development/adwords-api/using-the-adwords-api-sandbox> > . > > Regards, > > Ewan > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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
