Re: ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector in MCC Account

2011-10-11 Thread Chirag
Hi,
I am storing report definition id to DB when add report definition.
after that i try to download report.
my code is :

  $user = new AdWordsUser();
  $user-LogAll();

  $reportDefinitionId = (float) '1.98675e+01';
  $fileName = 'output_report.csv';

  $path = dirname(__FILE__) . '/reports/' . $fileName;

  // Download report.
  ReportUtils::DownloadReport($reportDefinitionId, $path, $user);

But i am getting error
ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector.
Please note i have changed $reportDefinitionId for security.

Thanks,
Chirag

On Aug 31, 12:23 am, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   It looks like you are hardcoding the report definition id after creating
 the definition for a new report.  Are you sure that is a valid
 reportDefinitionId for the production environment?  Report definitions
 cannot be shared between production and sandbox, so if that came from the
 sandbox it will not work.

 Based on your code, I would have expected you to save the report definition
 you are creating and then download based on that instead of hardcoding the
 ID.  Try changing your code to do that.

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: Get OAUTH_TOKEN_INVALID earler it is working

2011-10-11 Thread Chirag
Thanks Eric,
I am using the wrong credential than the OAuth token is for.

I got the correct values.

Thanks once again.

On Oct 10, 7:22 pm, Eric Koleda eric.kol...@google.com wrote:
 Hi Chirag,

 I'm not able to replicate the issue; an OAuth signed request to the
 ServicedAccountService worked fine for me, even on version 2.6.4.  Please
 double check that your OAuth credentials are still valid.  Does the UseOAuth
 example still work for you?

 Best,
 - Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: Get MCC Data

2011-10-11 Thread Paulo Fernandes
Hi Anash

Where can I find more information about the v201109 PHP code examples
and the source code? I don't know where can I find this information

Thanks

On 9 out, 23:04, Anash P. Oommen anash.p.oommen+fo...@google.com
wrote:
 Hi Paulo,

 Jason's posts summarize things pretty well. cost + detail of stats breakdown
 is a significant factor in deciding whether to go for reports or not.
 v201109 introduces definitionless reports which makes report downloads free,
 whereas downloading stats using individual services will cost you API units
 for each call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: OAuth - didn't see it mentioned so I thought I'd ask

2011-10-11 Thread Yagmur Coker
Funny this is not mentioned in the blog
http://adwordsapi.blogspot.com/2011_10_01_archive.html as it's kind of a big
change :)

This is great news!

yagmur

On Mon, Oct 10, 2011 at 3:04 PM, chris h back5...@gmail.com wrote:

 Hi Kevin,

 That's great news! Could you share info or a code sample on how it
 works?

  - Chris

 On Oct 10, 10:23 am, Kevin Winter kevin.win...@google.com wrote:
  Hi,
Yes, OAuth is now supported.
 
  - Kevin Winter
  AdWords API Team

 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 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 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


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: OAuth - didn't see it mentioned so I thought I'd ask

2011-10-11 Thread chris h
I'll not get too excited before I see an example. If Google doesn't
give direction, I may try some experiments next week.

On Oct 11, 12:53 pm, Yagmur Coker yco...@gmail.com wrote:
 Funny this is not mentioned in the 
 bloghttp://adwordsapi.blogspot.com/2011_10_01_archive.htmlas it's kind of a 
 big
 change :)

 This is great news!

 yagmur







 On Mon, Oct 10, 2011 at 3:04 PM, chris h back5...@gmail.com wrote:
  Hi Kevin,

  That's great news! Could you share info or a code sample on how it
  works?

   - Chris

  On Oct 10, 10:23 am, Kevin Winter kevin.win...@google.com wrote:
   Hi,
     Yes, OAuth is now supported.

   - Kevin Winter
   AdWords API Team

  --
  =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
  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 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

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: Get MCC Data

2011-10-11 Thread jstedman
Paulo,

The v201109 examples have not been released, but the v201101 examples
should still work with v201109 for at least 90% of the calls.

The v201101 examples can be found here:
http://code.google.com/p/google-api-adwords-php/source/browse/trunk#trunk%2Fexamples%2Fv201101

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: Get MCC Data

2011-10-11 Thread Paulo Fernandes
I found an example on Google and customized it for my necessity.

The report is ok , but I the data aren't there

http://pastebin.com/GHSRfsJ3

There are something wrong on my code?



On 11 out, 14:41, jstedman jason.sted...@thesearchagency.com wrote:
 Paulo,

 The v201109 examples have not been released, but the v201101 examples
 should still work with v201109 for at least 90% of the calls.

 The v201101 examples can be found 
 here:http://code.google.com/p/google-api-adwords-php/source/browse/trunk#t...

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Adwords API Sandbox

2011-10-11 Thread Dan G
I'm having a real hard time setting up a sandbox account. Truth is I'm
not a great developer, but I can usually get by, however setting up
the sandbox is proving real hard for me.

Can someone give me a bit of java code that I can just run that will
set up a sandbox account.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: AdWords API v201109 is now available

2011-10-11 Thread Neha Bansal
Hi,

Is it going to support Content Network Settings?


-Neha

On Oct 10, 6:24 am, Kevin Winter kevin.win...@google.com wrote:
 Hi all,
   We hope to have updated client libraries released soon.

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector in MCC Account

2011-10-11 Thread Kevin Winter
Hi Chirag,
  Could you please double check that the ID you are using is not actually a 
float?  Report Definition IDs should be of the form: 123456789 and should 
not have a decimal element or be used as floats.

If you are still having problems troubleshooting, could you try defining a 
new report, providing me with the RequestId from the request that creates 
it, then try to download the report again?  I can use this information to 
troubleshoot via our logs.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: OAuth - didn't see it mentioned so I thought I'd ask

2011-10-11 Thread Kevin Winter
Hi all,
  I just published a blog post regarding OAuth in v201109: 
http://adwo 
rdsapi.blogspot.com/2011/10/adwords-api-now-fully-supports-oauth.htmlhttp://adwordsapi.blogspot.com/2011/10/adwords-api-now-fully-supports-oauth.html

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: OAuth - didn't see it mentioned so I thought I'd ask

2011-10-11 Thread Yagmur Coker
Thank you Kevin!

On Tue, Oct 11, 2011 at 5:06 PM, Kevin Winter kevin.win...@google.comwrote:

 Hi all,
   I just published a blog post regarding OAuth in v201109:
 http://adwo 
 rdsapi.blogspot.com/2011/10/adwords-api-now-fully-supports-oauth.htmlhttp://adwordsapi.blogspot.com/2011/10/adwords-api-now-fully-supports-oauth.html

 - Kevin Winter
 AdWords API Team

 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 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 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


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: Top Keywords

2011-10-11 Thread Kevin Winter
Hi,
  You should be able to use the TargetingIdeaService to find keywords using 
the RelatedToUrlSearchParameter: 
http://code.google.com/apis/adwords/docs/reference/latest/TargetingIdeaService.RelatedToUrlSearchParameter.html

However, you will have to sort them client-side.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Recommended way to cache ClientLogin auth credentials in ruby?

2011-10-11 Thread John Li
Hello,

What's the best way to save authorization credentials across different
logins with Ruby?  I'm following the example at
http://code.google.com/p/google-api-ads-ruby/wiki/AdWordsReadme, and my app
will be repeating the same 1-2-3 steps as in the example:

   1. adwords = AdwordsApi::Api.new
   2. campaign_srv = adwords.service(:CampaignService, :v201101)
   3. do something with campaign_srv

My app will be repeating this pattern a lot.  I'm trying to follow best
practices and find a way to cache the ClientLogin credentials so I won't hit
CAPTCHA issues, but I don't see a way to do this elegantly.

Caching the entire AdwordsApi::Api object seems excessive (and Ruby's
Marshal can't dump the obj anyways), and I see no way to get/set the actual
authToken from the object.

Thanks in advance, and apologies if this has already been asked.

Cheers,
John Li


--

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Schedule a Report

2011-10-11 Thread Paulo Fernandes
Hi

I need to get my report(CPC, Clicks, etc.. - the MCC stuff) from all
accounts.

There are a way to schedule a report to run and get this using only
500 API units?

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Video Ads in v201101

2011-10-11 Thread Kalpana Prakasam
v201101.AddAds handles upload of video media and expects you to pass the
videoMediaId. How do you create one for a video you would like to publish,
can someone point me to a sample.

Video video = new Video();
video.setMediaId(videoMediaId);
video.setType(MediaMediaType.VIDEO);


-- 
Regards
Kalpana Prakasam

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


Re: ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector in MCC Account

2011-10-11 Thread Chirag
Thanks Kevin,
Yes, I am storing ID as float.I changed it to Int and now it is
working fine.




On Oct 12, 1:52 am, Kevin Winter kevin.win...@google.com wrote:
 Hi Chirag,
   Could you please double check that the ID you are using is not actually a
 float?  Report Definition IDs should be of the form: 123456789 and should
 not have a decimal element or be used as floats.

 If you are still having problems troubleshooting, could you try defining a
 new report, providing me with the RequestId from the request that creates
 it, then try to download the report again?  I can use this information to
 troubleshoot via our logs.

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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


******Freakishly Fantastic******

2011-10-11 Thread Sara Wajahat
http://Blogs.FanBox.com/FreakishlyFantasticGuinnessWorldRecords
http://Blogs.FanBox.com/FreakishlyFantasticGuinnessWorldRecords
http://Blogs.FanBox.com/FreakishlyFantasticGuinnessWorldRecords
http://Blogs.FanBox.com/FreakishlyFantasticGuinnessWorldRecords
http://Blogs.FanBox.com/FreakishlyFantasticGuinnessWorldRecords

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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