Re: Problem with refresh token in Python

2013-12-30 Thread Danial Klimkin
Hello, Please make sure you are not logged in when opening the auth URL. When prompted, log in as your production AdWords account user. -Danial, AdWords API Team. On Wednesday, December 25, 2013 9:08:58 AM UTC+4, dev...@simpleunion.com wrote: > > Hi there! > > I'm using adwords_examples_pyth

keyword match types not passing to {keyword} token?

2013-12-30 Thread admin
Hey folks! Hope everyone had a good holiday. This is an adwords developer question ( although technically not an API question)... It seems that the keyword token {keyword} in the destination URL of an ad isn't passing the brackets and quotes to designate exact match and phrase match types. Whe

Adwords JWT invalid grant

2013-12-30 Thread Blake Howe
Hi guys, This has driven me nuts. I am using the ruby API connecting with JWT, and getting an invalid_grant error. Here is my connection string. adwords = AdwordsApi::Api.new({ :service => { :environment => :PRODUCTION }, :authentication => { :method => 'OAUTH2_JWT', :oauth2

refresh token ruby library

2013-12-30 Thread Blake Howe
Hi guys, Im sorry for yet another question. Ive spent hours trying to get this work and just seem to be going in circles. First of all I can get the sample app working fine, but what I am doing requires offline access. Ive tried a couple of things 1. just running the sample app getting the r

error when calling v201306.AddCampaigns

2013-12-30 Thread kano patel
This code example adds campaigns. To get campaigns, run GetCampaigns.cs. An exception occurred while running this code example. System.Reflection.TargetI nvocationException (Exception has been thrown by the target of an invocation.) at System.RuntimeMethodHandle._InvokeMethodFast(Object targe

Re: Get Percent Served

2013-12-30 Thread Danial Klimkin
Hello Sergey, This UI value it not directly available in the API. You can calculate it on your side though by using AdGroup and ads impression numbers. -Danial, AdWords API Team. On Thursday, December 26, 2013 12:05:13 PM UTC+4, Sergey Levitskiy wrote: > > Hello! > I didn't find any informati

Re: Validation failed for [refresh_token] with value []: Either the refresh_token or the access_token is required.

2013-12-30 Thread Danial Klimkin
Hello, You need to configure auth.ini to include configuration details. Please see this article for more details: https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0 -Danial, AdWords API Team. On Thursday, December 26, 2013 9:01:12 PM UTC+4, sa...@keaadvertising.com wrote

Re: How to add custom field into an Adword Entity (ad)?

2013-12-30 Thread Danial Klimkin
Hi Joan, No, custom fields are not supported in the AdWords API. Please use ad ID to join with a local database instead. -Danial, AdWords API Team. On Thursday, December 26, 2013 11:09:39 PM UTC+4, Joan Roig wrote: > > Is there any way to add a custom field into an Ad entity? > > Say I want

Re: How to add Keywords to AdGroup when creating one?

2013-12-30 Thread Danial Klimkin
Hello Joan, You need to make a separate call to AdGroupCriterionService. Please check out our client libraries, all of them have a large set of examples: https://developers.google.com/adwords/api/docs

Re: refresh token ruby library

2013-12-30 Thread Danial Klimkin
Hi Blake, Please try config like this: token_hash = { :access_token => ACCESS_TOKEN_FROM_SAMPLE_APP, :refresh_token => REFRESH_TOKEN_FROM_SAMPLE_APP, :issued_at => 1388190331, :expires_in => 3600 } -Danial, AdWords API Team. On Saturday, December 28, 2013 4:44:04 AM UTC+4, Blake

Re: Problem with fetching data for a particular date (Cron job PHP v201309)

2013-12-30 Thread MWA
I am using this to Get campaign stats like "Clicks, Conversions, Impressions" etc $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); On Thursday, December 26, 2013 1:26:52 PM UTC+5, Danial Klimkin wrote: > > Hello MWA, > > > What is the report type you are running? > > > -

Downloading reporting data for an specific date PHP v201309

2013-12-30 Thread MWA
Hi There Any one has idea about getting Converions,Impressions,Clicks etc data for a given date using PHP API v201309? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/group/adw

Re: Downloading reporting data for an specific date PHP v201309

2013-12-30 Thread MWA
For example if I am using CampaignService: $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); On Monday, December 30, 2013 5:14:49 PM UTC+5, MWA wrote: > > Hi There > > Any one has idea about getting Converions,Impressions,Clicks etc data for > a given date using PHP API

Re: keyword match types not passing to {keyword} token?

2013-12-30 Thread GregT
Hi, Claude. You have to use a separate ValueTrack parameter in your URL to figure out the match type -- {matchtype}. See https://support.google.com/adwords/answer/2375447?hl=en. Greg On Friday, December 27, 2013 10:05:29 AM UTC-6, ad...@infiniteprofitsolutions.com wrote: > > Hey folks! > > H