Re: AdWords Ad Details like % Served, Clicks etc... Which API call will return these information.

2014-01-21 Thread Danial Klimkin
Hello Bikram,


Please check out the reporting reference available here:

  https://developers.google.com/adwords/api/docs/appendix/reports

Note you may need to join several reporting.

For example, Ad IDs are available with Id field of Ad Performance Report, 
matched keywords as KeywordText of Keywords Performance Report. Date can 
be added with Date field available for the most of the reports.


-Danial, AdWords API Team.


On Tuesday, January 21, 2014 5:48:37 AM UTC+4, Bikram Bhuyan wrote:

 Hi Danial,

 I am working on this report now. But I don't get the below information 
 from this report.

 1. Ad Id (It return only Campaign Id and Group Id, But not Ad Id).
 2. Final Destination URL (the url generated with all the ValueTrack 
 parameters added). Not sure which column will return this.
 3. Keywords which triggered the ad to show up.
 4. Date on which the URL was clicked by the user.

 Could you please let me know if any other report might give these 
 information? I need to group the result at ad level. So I need the AdId and 
 the Date on which the link was clicked for our report.

 Thanks,
 Bikram.

 On Tuesday, November 26, 2013 1:54:50 AM UTC-8, Danial Klimkin wrote:

 Hello Bikram,


 1. Free search links will not be logged in AdWords, so all impressions / 
 clicks returned is the AdWords Ads data. You can use ValueTrack parameters 
 to obtain more information about the click:

   https://support.google.com/adwords/answer/2375447

 2. See the destination URL report:

   
 https://developers.google.com/adwords/api/docs/appendix/reports#destination-url

 It has AdGroupId / CampaignId columns that can be used to join data with 
 other reports.


 -Danial, AdWords API Team.


 On Tuesday, November 26, 2013 3:48:56 AM UTC+4, Bikram Bhuyan wrote:

 Hi Danial,

 Thanks a lot the information. Based on your details I went through all 
 the available reports and found out the data that is returned by the 
 reporting APIs. However there are some data requirements for out project I 
 am yet to find the information. I might be missing these details, but if 
 you could point me to the specific report which might return the 
 information.

 1. When the person click on the link from the Ad-words ad link, how do I 
 know if that page is referred from the AdWords ad link, Not from the free 
 search link. Here I am interested to know
  - The URL of the page associated with the ad link click.
  - How do I distinguish from my page that this page is called 
 from the AdWords link click. Not from the free search either from Google 
 search (not adwords link click) or any other search engine click.
  - What are the information being passed in the URL to our 
 landing page, to know that it is coming from the AdWords search click.
  
 2. Which report can return the associated landing page URL for each 
 search criteria for a particular ad.

 Thanks,
 Bikram.

 On Monday, November 11, 2013 7:29:24 AM UTC-8, Danial Klimkin wrote:

 Hello Bikram,


 You need to use AdWords API Reporting to access this data. See:

   https://developers.google.com/adwords/api/docs/guides/reporting
   
 https://developers.google.com/adwords/api/docs/guides/reporting-concepts


 -Danial, AdWords API Team.

 On Friday, November 8, 2013 11:34:44 PM UTC+4, Bikram Bhuyan wrote:

 Hello,

 Could you please let me know which API call I should make to get the 
 following information for a particular AD?

 1. % Served.
 2. Clicks.
 3. Impression Indicator.
 4. Click Through Rate.
 5. Average Cost Per Click.
 6. Cost.
 7. Average Position.

 Just to give more details, all these information are shown in the 
 AdWords Ad Page in a grid format in the UI. I just wanted to fetch these 
 information by making API Calls.

 I will really appreciate if anyone know the details, if you could 
 provide some help.

 Thanks,
 Bikram.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[RateExceededError rateName=BillingPerDay, rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400]

2014-01-21 Thread Jürgen Wiest
I'm getting the error  [RateExceededError rateName=BillingPerDay, 
rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400] even 
though I have only used normal units so far.
 Can anyone tell me how the 10k per day are working?  My systom was working 
perfectly untill today morning,  can someone pleas help me  

Please help me its very urgent...  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Cant get any result from GetRefreshToken.php

2014-01-21 Thread Mahfooz Khan
Hi,

I have been trying to use the client library for Auth2.0 , after creating 
the client ID and secret and then updating it with auth.ini , i am not able 
to run the getrefreshtoken.php as it doesnt display any google app utility 
, require your assistance. You can check from here.
http://bit.ly/1dMU19a

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


QuotaCheckError.INCOMPLETE_SIGNUP

2014-01-21 Thread Zaeba Pipes
Trying to connect to the Google AdWords API and when running 

CampaignService service = 

(CampaignService) user.GetService(AdWordsService.v201309.CampaignService);

CampaignPage page = service.get(selector);
 
 I get the following error:
An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'']
Product Customer ID: 311-384-6604
Test Customer ID: 542-222-9661

Which is the problem? Can anyone help me? Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Report which returns Ad Id, Final Destination URL (Destination URL Report).

2014-01-21 Thread Niels Kikkert
Hi Bikram,

I think you're looking for is the AD_PERFORMANCE_REPORT 
(https://developers.google.com/adwords/api/docs/appendix/reports?hl=nl#ad). 
This will not return all the fields you're requesting, and I don't know if 
all of those information is available through the API, but at least it 
gives you information based on the Ad ID and gives you the ID of the 
keyword that was triggered.

Niels

On Tuesday, January 21, 2014 2:13:42 AM UTC+1, Bikram Bhuyan wrote:

 Hello,

 In our project we have the requirement to show the effectiveness of the ad 
 URL. I am not sure which report to use, but the most appropriate report 
 looks to me is DESTINATION_URL_REPORT. But that report does not have 
 the following information - 

 1. Ad Id (It return only Campaign Id and Group Id, But not Ad Id).
 2. Final Destination URL (the url generated with all the ValueTrack 
 parameters added). Not sure which column will return this.
 3. Keywords which triggered the ad to show up.
 4. Date on which the URL was clicked by the user.

 If you could point how to get these information (these might be returned 
 by any other report) that will be great.

 Thanks a lot,
 Bikram.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [RateExceededError rateName=BillingPerDay, rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400]

2014-01-21 Thread Jürgen Wiest
I'm getting the error  [RateExceededError rateName=BillingPerDay, 
rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400] even 
though I have only used normal units so far.
 Can anyone tell me how the 10k per day are working?  My system was working 
perfectly until today morning,  can someone pleas help me  



Am Montag, 20. Mai 2013 14:35:58 UTC+5:30 schrieb con...@webeffector.org:

 I got [RateExceededError rateName=BillingPerDay, rateKey=level1_plan, 
 rateScope=DEVELOPER, retryAfterSeconds=86400] last 2 days after only 51 
 calls to TargetingIdeaService.
 Before this issue I worked 7 monthes without any problems. 

 I read https://developers.google.com/adwords/api/docs/ratesheet2 and 
 can't understand how can I get this error. I tryed to reset token and get 
 the same error in 2 minutes  and 51 requests.

 My customer id is 144-043-4339


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Facing problem to get refresh token

2014-01-21 Thread Mahfooz Khan

Hello,

I have inserted   require  information into auth.ini file   
like developerToken,userAgent,clientCustomerId,client_id, and client_secret 
after that i run the file GetRefreshToken.php either on localhost or server 
but did not get refreshtoken output .

It should be a reason 
   1.  My developerToken showing Pending 
approval ?
   2.  or guide me where is problem ?
Open this link http://bit.ly/1f88c7p
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Google Keyword Volume

2014-01-21 Thread Jason Kwok
Eric,
Is the TargetingIdeaService tool still the best method to estimate Keyword 
volume? 
I 
found 
https://developers.google.com/adwords/api/docs/reference/v201309/TrafficEstimatorService?csw=1
 
. Between the two, which is better? 

What is the max # of keywords that I can look up if the 
TrafficEstimatorService says The maximum number of keyword estimate 
requestshttps://developers.google.com/adwords/api/docs/reference/v201309/TrafficEstimatorService.KeywordEstimateRequest.html
 across 
all campaign estimate requests and ad group estimate requests is 500. ? 

Thanks,
Jason

On Thursday, December 2, 2010 2:51:55 PM UTC-8, AdWords API Advisor wrote:

 Hi Lucas, 

 Keyword search volume can be obtained using the TargetingIdeaService 
 with a STATS request: 

   
 http://code.google.com/apis/adwords/docs/reference/latest/TargetingIdeaService.html
  

 The API is not free to use, although free units are available under 
 certain situations: 

   https://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=45045 

 You can calculate the costs using our rate sheet: 

   http://code.google.com/apis/adwords/docs/ratesheet.html 

 Best, 
 - Eric Koleda, AdWords API Team 

 On Dec 1, 11:52 am, Lucas lucashernande...@gmail.com wrote: 
  Hi all! 
  I've been getting keyword volumes for organic search through the 
  keyword tool (https://adwords.google.com/select/KeywordToolExternal) 
  manually doing an Exact match. 
  Right now I have to do a 2011 plan that involves around one million 
  keywords, so doing it manually is not a possibility anymore... 
  So, my question is: Can I get the exact match type keyword volumes 
  using the API? is it FOR FREE? if it isn't, which is the estimated 
  cost for one million keywords? 
  
  Thanks in advance 
  -Lucas

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


How to set up Bid only option in a display network campaing

2014-01-21 Thread Kim Pham
Hello everyone,

We would like to use diffrent targettings for a display network campaign. 
For exemple, to use keyword display and to add the placements for an 
adgroup = our ads will be display on the placements automatic thanks to a 
list of keywords, and ALSO on the placements added for each adgroups.

I am looking for how to set up automatically the option bid only in API 
for a display network campaign.
The questions are :
1) how can we choose the option bid only
2) add a long list of placements for each adgroup.

Thank you for your help

Kim


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [RateExceededError rateName=BillingPerDay, rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400]

2014-01-21 Thread Danial Klimkin
I am closing this old thread, please follow up in the duplicate:

  https://groups.google.com/forum/#!topic/adwords-api/IdEcE48_s7A


-Danial.

On Monday, January 20, 2014 5:38:45 PM UTC+4, Jürgen Wiest wrote:

 I'm getting the error  [RateExceededError rateName=BillingPerDay, 
 rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400] even 
 though I have only used normal units so far.
  Can anyone tell me how the 10k per day are working?  My system was 
 working perfectly until today morning,  can someone pleas help me  



 Am Montag, 20. Mai 2013 14:35:58 UTC+5:30 schrieb con...@webeffector.org:

 I got [RateExceededError rateName=BillingPerDay, rateKey=level1_plan, 
 rateScope=DEVELOPER, retryAfterSeconds=86400] last 2 days after only 51 
 calls to TargetingIdeaService.
 Before this issue I worked 7 monthes without any problems. 

 I read https://developers.google.com/adwords/api/docs/ratesheet2 and 
 can't understand how can I get this error. I tryed to reset token and get 
 the same error in 2 minutes  and 51 requests.

 My customer id is 144-043-4339



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: 400 Error when re-authorizing adwords Oauth2.0

2014-01-21 Thread Danial Klimkin
Hello Pere,


Do you get the same error if you provide *only* AdWords scope? Can you 
combine those calls to have a shared refresh token for both GA and AdWords 
API?


-Danial, AdWords API Team.


On Thursday, January 16, 2014 12:32:36 AM UTC+4, Pere Kyle wrote:

 Since about the beginning of december the oauth flow for our app has been 
 broken. It previously worked for ~3 months with no changes. It seems to 
 have coincided with the new permission page for oauth and only affects 
 functionality after an adwords token has been granted.

 Steps to reproduce:
 var clientId = 'ID.apps.googleusercontent.com';
 var scopes = 'https://adwords.google.com/api/adwords/ 
 https://www.googleapis.com/auth/userinfo.profile 
 https://www.googleapis.com/auth/userinfo.email';
 gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
 'offline', response_type: 'code', prompt: 'select_account',authuser: -1}, 
 handleAuthResult);

 This flow works the first time and then subsequently fails even when not 
 trying to auth an Adwords account:
 var scopes = 'https://www.googleapis.com/auth/analytics.readonly 
 https://www.googleapis.com/auth/userinfo.profile 
 https://www.googleapis.com/auth/userinfo.email';
 gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
 'offline', response_type: 'code', approval_prompt: 'force', authuser: -1}, 
 handleAuthResult);

 After clicking on Adwords authorized account in account chooser
 ERROR: *400.* That's an error.

 The page you requested is invalid. That's all we know.

 In the google account permissions page if I auth GA first and then adwords 
 it will only error after the adwords has been associated. I am desperate 
 for a solution as I cannot seem to fix it on my end, it must be a change in 
 the google permissions system.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Retrieving keywords search volume through google api.

2014-01-21 Thread Danial Klimkin
Hello Mohammed,


This data can be retrieved with TrafficEstimatorService:

  
https://developers.google.com/adwords/api/docs/reference/v201309/TrafficEstimatorService

AdWords API is free but please make sure to review terms and conditions:

  https://developers.google.com/adwords/api/docs/terms


-Danial, AdWords API Team.


On Thursday, January 16, 2014 5:18:53 PM UTC+4, Mohammed Ashik wrote:

 Hi all, 
 I would like to know is there any google api which can return keywords 
 extact match search volume based on city. If its a paid version, please let 
 me know the cost. 

 thank you 

 Regards, 
 Mohammed Ashik s


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords PHP client library - Errors with AddCampaigns.php and EstimateKeywordTraffic.php

2014-01-21 Thread Danial Klimkin
Hello,


It looks like you are making a request against an MCC account. Please 
create an advertiser sub-account (via UI or the API) and specify it's 
clientCustomerId in the request.

It is not possible to create a campaign in an MCC account.


-Danial, AdWords API Team.


On Thursday, January 16, 2014 7:13:46 PM UTC+4, ts1 wrote:

 hi,

 I’m using the PHP client library (v201309) with a test account. I have 
 created the client id and client secrets, and received the refresh token.

 Example files “GetCampaigns.php” and “CreateAccount.php” are working fine, 
 but when I run AddCampaigns.php I get error message:
 An error has occurred: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED 
 @ operations[0], OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ 
 operations[1]]

 And when I run EstimateKeywordTraffic.php error message is:
 An error has occurred: [RateExceededError rateName=RequestsPerMinute, 
 rateKey=new_qps, rateScope=ACCOUNT, retryAfterSeconds=30]

 EstimateKeywordTraffic.php gives the same error message, even if I wait 
 over 30 seconds between the requests (1 minute for example).

 Have I missed out some configurations, or is there other explanation for 
 these errors?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdId mismatch in Ad Performance Report

2014-01-21 Thread Danial Klimkin
Hello Bikram,


What are you comparing these IDs to? I've checked AdGroup 1301383813 and I 
see ads with the IDs listed under it.


-Danial, AdWords API Team.


On Saturday, January 18, 2014 5:35:22 AM UTC+4, Bikram Bhuyan wrote:

 Hello,

 We are fetching the Stats from the Ad Performance Report based on a 
 particular date range. What we found out is that the output which I got 
 from the report (in XML format) contains AdId which does not exists in the 
 system where as the campaign id and ad group id matches good.

 I can provide more details if you need by not sure how to validate it.

 Attached is the sample XML response we got for the Ad Performance 
 Report. 

 Let me know if you need any specific input on our account and I can send 
 you in email.

 Thanks,
 Bikram.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Ad Performance Report Data Granularity

2014-01-21 Thread Danial Klimkin
Hello Bikram,


The date range is defined via report selector. You can set dateRangeType to 
CUSTOM_DATE and provide min and max dates for the report.

In order to get daily stats, you can add the Date column. For more 
details, please see the exact definition here:

  
https://adwords.google.com/api/adwords/reportdownload/v201309/reportDefinition.xsd


-Danial, AdWords API Team.



On Thursday, January 16, 2014 10:27:44 PM UTC+4, Bikram Bhuyan wrote:

 Hello Team,

 I need to fetch the stats of the ad and store it in our application. For 
 this I am planning to make a call to the Ad Performance Report report. 
 Can I know how can I get the stats of the past days for the ad? Our 
 application requirement need to show the stats for each day. So when I do 
 the initial load of the account, I need to fetch the stats for last 1 
 months and store it. After that I can schedule the calls for each day and 
 store the stats for the future.

 Could you please let me know how can I fetch the stats from this report 
 for the back days and how can I get the data for each day?

 Thanks,
 Bikram.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RATE_EXCEEDED BillingPerDay

2014-01-21 Thread Danial Klimkin
Hello,


Basic API access level is limited to 1 operations per day. Please see 
the rate sheet for more details:

  https://developers.google.com/adwords/api/docs/ratesheet

Operations counter reset can happen at different times of the day. 84600 
is just a constant we use to report operations number exceeded.


-Danial, AdWords API Team.


On Thursday, January 16, 2014 10:55:53 PM UTC+4, goingdev wrote:

 Yesterday I had used the API to upload almost 9,000 adParams, which worked 
 well. About 5 minutes later I tried uploading some 500 more but it gave me 
 the RATE_EXCEEDED error with a retryAfterSeconds of 84600 (24 hours).

 Now, just about 24 hours later, the API is still giving me that same 
 error. What does this mean? How can I resolve this error? 

 Even with that extra 500 adParams, the operation count is still less than 
 10,000 operations. And why is it still telling me 84,600 seconds?

 Thanks.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to get account data after user gives grant access to his account

2014-01-21 Thread Danial Klimkin
Hello Larisa,


1. App type depends on how does the user authorizes. With web application 
you can build a self-service site multiple users can use to quickly 
authorize your application. Installed application will require a user to 
send you an auth code manually.

2. Refresh token is enough to access the account. If you link one's 
account, you can use your own credentials to access it.


-Danial, AdWords API Team.


On Friday, January 17, 2014 7:29:53 PM UTC+4, larisa bolgova wrote:

 Hi. 
 I need to have access to user adwords account after that user gives grant 
 access to his account.
 I have few questions:
 1 - What type of application do i have to use (web application or 
 installed application)?  
 2 - Is it enough to get refresh token to have offline access to user that 
 gave me permission to his account. Or i have to add his account into my 
 adwords account?

 Thank you.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Does google-api-ads-java never sunset?

2014-01-21 Thread lagu2653
But is there no page equivalent of 
https://developers.google.com/adwords/api/docs/sunset-dates for 
google-api-ads-java, so I can see when a sunset is imminent?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Adding CampaignCriterion Webpage results in CriterionError.CANNOT_ADD_CRITERIA_TYPE

2014-01-21 Thread b . kanbach
Okay, should be sent to you.
Could you find any reasons in that request?

Am Freitag, 17. Januar 2014 20:57:23 UTC+1 schrieb Ray Tsang (AdWords API 
Team):

 Bastian,

 Could I trouble you to send the full SOAP request/response (with sensitive 
 information stripped out) to me using the Reply to Author feature?

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Wednesday, January 15, 2014 2:54:36 AM UTC-5, b.ka...@mso-digital.dewrote:

 Hi there,
  
 i am receiving an error while trying to add a Webpage Criterion to my 
 Campaign with CampaignCriterionService.
  
 The error i am receiving is: An error has occurred: 
 [CriterionError.CANNOT_ADD_CRITERIA_TYPE @ operations[0].operand.criterion]
  
 The following source code shows that functionality. Is there an error in 
 the code, or is it simply not possible to add a Webpage Criterion with 
 Adwords API yet?
 Please note that i removed my real customer and campaign id in this 
 example.
  

   $id = MY_CUSTOMER_ID;

   $campaignId = MY_CAMPAIGN_ID;

   try {

 

$user = new AdWordsUser();

$user-LogAll();

$user-SetClientCustomerId($id);

$campaignCriterionService = 
 $user-GetService('CampaignCriterionService', ADWORDS_VERSION);

$param = new WebpageParameter();
$param-criterionName = param1;

$wp = new Webpage();

$wp-parameter = $param;

$campaignCriteria = new CampaignCriterion();
$campaignCriteria-campaignId = $campaignId;
$campaignCriteria-criterion = $wp;   
 
$operation = new CampaignCriterionOperation();
$operation-operand = $campaignCriteria;
$operation-operator = 'ADD';
  

$operations = array();
$operations[] = $operation;
  
$result = $campaignCriterionService-mutate($operations);
  
foreach ($result-value as $campaignCriterion) {
 $this-Session-setFlash(Campaign targeting criterion with ID 
 .$campaignCriterion-criterion-id. and type 
 .$campaignCriterion-criterion-CriterionType. was 
   . added.);
}

   } catch (Exception $e) {
$this-Session-setFlash(An error has occurred: . $e-getMessage());
   }

  
  
 Thank you
  
 Best Regards
 Bastian 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Weird OAuth2 failure to refresh access token

2014-01-21 Thread rohit
Hi,

We are seeing this same error for the past few days using the Ruby client. 
We make two scheduled attempts to download data at 3:30 AM and 5:30 AM, 
they both fail with the same error. Manual re-try at 7AM usually succeeds.

ERROR 2014-01-21 03:30:33 21896 [Vulcan::Google]: 
msg:#AdsCommon::Errors::AuthError: OAuth2 token refresh failed
/home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/auth/oauth2_handler.rb:94:in
 
`refresh_token!'
/home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/auth/oauth2_handler.rb:83:in
 
`get_token'
/home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/api.rb:113:in
 
`authorize'

ERROR 2014-01-21 05:30:32 3817 [Vulcan::Google]: 
msg:#AdsCommon::Errors::AuthError: OAuth2 token refresh failed
/home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/auth/oauth2_handler.rb:94:in
 
`refresh_token!'
/home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/auth/oauth2_handler.rb:83:in
 
`get_token'
/home/offers/tracking/shared/bundle/jruby/1.9/gems/google-ads-common-0.9.3/lib/ads_common/api.rb:113:in
 
`authorize'

Any idea what is causing this issue?

Thanks, Rohit

On Monday, January 6, 2014 6:09:32 AM UTC-6, Akil Burgess wrote:

 Hi All,

 We've noticed a weird authentication error that was occurring on one of 
 our application servers over the weekend. All of our 
 *MutateJobService.mutate* API calls were failing with the error below 
 across multiple accounts. The weird thing is all other API calls were 
 unaffected and the MutateJobService.mutate API calls succeeded across our 
 other application servers (which are all using the same OAuth2 
 credentials). After restarting the failing application instance the errors 
 disappeared.

 Is there a reason why the refresh would only fail for one API call and not 
 for others? Similarly, why would the refresh only fail on one application 
 instance and not others?

 Thanks!
 Akil Burgess


 An unhandled exception occurred.
 [Google.Api.Ads.Common.Lib.AdsOAuthException]: Failed to refresh access 
 token.
 lt;!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
 http://www.w3.org/TR/html4/loose.dtdgt;lt;htmlgt;lt;headgt;lt;titlegt;Google
  
 Accountslt;/titlegt;lt;meta http-equiv=content-type 
 content=text/html; charset=utf-8gt;lt;meta http-equiv=X-UA-Compatible 
 content=IE=edge /gt;lt;meta name=viewport 
 content=width=device-width, initial-scale=1, minimum-scale=1, 
 maximum-scale=1, user-scalable=0 /gt;lt;link rel='stylesheet' 
 type='text/css' href='
 https://ssl.gstatic.com/accounts/o/1893590695-error_page_css_ltr.css'gt;
 lt;script type=text/javascript src=
 https://ssl.gstatic.com/accounts/o/635117462-common_lib.js
 gt;lt;/scriptgt;
 lt;stylegt;@media screen and (max-width:500px) {#robot {background: 
 none; min-height: 0; min-width: 0; padding: 0;}#stack_trace {display: 
 none;}}
 #oauth2_request_info_header {background-image: url(
 https://ssl.gstatic.com/accounts/o/blank.gif;);}lt;/stylegt;lt;/headgt;lt;body
  
 gt;lt;div id=robotgt;lt;/divgt;lt;a href=//www.google.com/ 
 id=googlelogogt;lt;img src=//www.google.com/images/logo_sm.gif 
 alt=Googlegt;lt;/agt;lt;p class=largegt;lt;bgt;403.lt;/bgt; 
 lt;insgt;That's an error.lt;/insgt;lt;/pgt;lt;p class=largegt;You 
 are not authorized to perform this request.  lt;insgt;That's all we 
 know.lt;/insgt;lt;/pgt;lt;/bodygt;lt;/htmlgt;

 Stack Trace: 
at 
 Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessTokenInOfflineMode()
at Google.Api.Ads.Common.Lib.OAuth2ProviderBase.GetAuthHeader()
at Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.InitForCall(String 
 methodName, Object[] parameters)
at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
 methodName, Object[] parameters)
at Google.Api.Ads.AdWords.v201306.MutateJobService.mutate(Operation[] 
 operations, BulkMutateJobPolicy policy)
...


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: API developments for Trueview

2014-01-21 Thread Thomas Meindl
any updates on this?
we need to fetch stats through the adwords reporting api for 
youtube/trueview/video ads..

On Monday, June 24, 2013 1:57:31 PM UTC+2, Danial Klimkin wrote:

 Hello David,


 Not yet unfortunately.


 -Danial, AdWords API Team.


 On Thursday, June 20, 2013 4:25:34 PM UTC+4, David H wrote:

 Hi 

 Sorry I know this has been asked before, but I wondered if it was any 
 closer? When will we be able to pull trueview through the API? Or is there 
 an alternative script or automation that can get daily spends?

 Thanks

 David



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Can get Auth code, can't get refresh token (test environment)

2014-01-21 Thread Josh Radcliff (AdWords API Team)
Hi,

Please see the following post for a breakdown of which account to use for 
each of the values in the auth.ini file.

https://groups.google.com/d/msg/adwords-api/-K7DuDOAVEM/9Um-qE4Di3AJ

Looking at your list, I see a few issues/questions:

   1. The developer token should be your pending developer token from your 
   non-test MCC
   2. The clientCustomerId should be a child AdWords account of your test 
   MCC account

Let me know if the thread + these suggestions doesn't clear things up for 
you.

Cheers,
Josh, AdWords API Team

On Wednesday, January 15, 2014 10:26:42 PM UTC-5, visible@gmail.com 
wrote:

 I can't get a refresh token with getRefreshToken.php in the example, but I 
 did get the auth code.

 Here's more information;
 * I created a test MCC and two accounts in the  MCC.
 * I got my developer token from my test MCC and put it in auth.ini
 * I got my clientCustomerId from an account in my MCC and put it in 
 auth.ini
 * I got my client_id and client_secret which I made in the Google console 
 and put it in auth.ini (it's an installed program)
 * I am running getRefreshToken.php from the console. I copied the URL in 
 the browser, granted access and got my auth code.
 * I now put the auth code in the console and I get:
 Your OAuth2 Credentials are incorrect. 
 Please see the GetRefreshToken.php example. 
 { 
 error : invalid_grant, 
 error_description : Invalid code. 
 }  


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'']

2014-01-21 Thread prm . programista
Hi!

I think that i have similar problem. I have two accounts: productional and 
test account. In test account I created new project and i got client_id and 
secret_id. From
productional account i got developerToken (this token waiting for 
approval). I filled auth.ini path:

developerToken = xxx (from productional account)
userAgent = xxx

[OAUTH2]

client_id = xxx.apps.googleusercontent.com (from test account)
client_secret = xxx  (from test 
account)

If I try run GetRefreshToken.php file i got:

Log in to your AdWords account and open the following URL: 
https://accounts.google.com/o/oauth2/auth?response_type=codeclient_id=170284481302.apps.googleusercontent.comredirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline
 
After approving the token enter the authorization code here: 
*Warning*: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when 
an open_basedir is set in 
*/www/prhosting_www/www/api-adwords.prhosting.iq.pl/src/Google/Api/Ads/Common/Util/CurlUtils.php*on
 line 
*107*
Your OAuth2 Credentials are incorrect. Please see the GetRefreshToken.php 
example. { error : invalid_request } 

What am I doing wrong? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Cannot upload offline conversions.

2014-01-21 Thread traffic
Hello Daniel,

Thanks for the response.

The I tried several sources, none of them from the report you mentioned:
- from our data warehouse
- directly from on of our ads (clicked on an ad and extracted the gclid 
from the url query string)

Could it be some charset encoding issue?
What should I try to do?


Thanks.

On Monday, January 20, 2014 2:19:42 PM UTC+2, Danial Klimkin wrote:

 Hello,


 This error means the GLCID string provided is not a valid Google Click ID. 
 Did you get the ID from the CLICK_PERFORMANCE_REPORT?


 -Danial, AdWords API Team.


 On Thursday, January 16, 2014 1:05:42 PM UTC+4, 
 moshe@888holdings.comwrote:


 Hi,

 We're using the latest Php Api source code example (
 */examples/AdWords/v201309/AdvancedOperations/UploadOfflineConversions.php*) 
 to test upload offline conversions, but we keep getting the same error:
 [OfflineConversionError.UNPARSEABLE_GCLID @ operations[0].operand]

 The source was downloaded from here: 
 https://github.com/googleads/googleads-php-lib.

 Why is this happening?

 lease assist..


 Thanks!



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdGroupCriterionService Bug? - EntityNotFound.INVALID_ID for CriterionId that exists

2014-01-21 Thread Modix Germany
Hi AdWords team,

I'm running into the same problem: EntityNotFound.INVALID_ID.

  KeywordId/CriterionId: 62589520809
  ClientCustomerId: 270-433-8426
  AdGroupId: 10044796569

When using the reportdownload service, the keyword id is present in the 
download (UserStatus enabled).

Regards
- Daniel

Am Freitag, 2. August 2013 09:54:01 UTC+2 schrieb Rob:

 Looks like you're trying to change the bid on a deleted criterion 
 (userStatusDELETED/userStatus). That could explain why it doesn't work.

 On Monday, 22 July 2013 12:13:01 UTC+1, Akil Burgess wrote:

 Hi All,

 We're seeing a reproducable issue where we receive an 
 EntityNotFound.INVALID_ID (trigger - CriterionId) error for a mutate 
 operation on AdGroupCriterion using a valid AdGroupId and CriterionId 
 (Id). The AdGroupCriterionService get call returns the AdGroupCriterion 
 object with the same Ids that are being said to be invalid. 

 I have attached the soap logs for the mutate operation and the get 
 operation below. Is this a bug in the AdGroupCriterionService or is there 
 something wrong with our AdGroupCriterionOperation?

 Thanks!
 Akil Burgess


 -BEGIN API CALL-

 Request (Mutate)
 ---


 ?xml version=1.0 encoding=utf-8?soap:Envelope xmlns:soap=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema;!--POST 
 /api/adwords/cm/v201306/AdGroupCriterionService
 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client 
 Protocol 4.0.30319.18051)
 VsDebuggerCausalityData: 
 uIDPowA6lARsOPdGukKutxnlLlgANiaXQS2+v0qF1bOWBKYRAyjTf3Fc57dJitdesMIpq6IACQAA
 Content-Type: text/xml; charset=utf-8
 SOAPAction: 
 Host: adwords.google.com
 Content-Length: 1540
 Accept-Encoding: gzip
 Connection: Keep-Alive
 TimeStamp: Mon, 22 Jul 2013 12:02:27 GMT
 --soap:HeaderRequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;authToken xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;**/authTokendeveloperToken
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201306;**/developerTokenclientCustomerId
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201306;9765518125/clientCustomerIduserAgent
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201306; 
 (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/4.0.30319.18051, 
 gzip)/userAgent/RequestHeader/soap:Headersoap:Bodymutate xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;operationsoperatorSET/operatoroperand
  
 xsi:type=BiddableAdGroupCriterionadGroupId3790202104/adGroupIdcriterion
  
 xsi:type=Keywordid37523985304/id/criterionbiddingStrategyConfigurationbids
  
 xsi:type=CpcBidbidmicroAmount80/microAmount/bid/bids/biddingStrategyConfiguration/operand/operations/mutate/soap:Body/soap:Envelope

 Response (Mutate)
 


 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/
 !--Content-Encoding: 
 X-Content-Type-Options: nosniff
 X-Frame-Options: SAMEORIGIN
 X-XSS-Protection: 1; mode=block
 Content-Length: 535
 Cache-Control: private, max-age=0
 Content-Type: text/xml; charset=UTF-8
 Date: Mon, 22 Jul 2013 11:01:16 GMT
 Expires: Mon, 22 Jul 2013 11:01:16 GMT
 Server: GSE
 TimeStamp: Mon, 22 Jul 2013 12:02:27 GMT
 --soap:HeaderResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;requestId0004e2179870ad280ae50e884419/requestIdserviceNameAdGroupCriterionService/serviceNamemethodNamemutate/methodNameoperations0/operationsresponseTime478/responseTime/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[EntityNotFound.INVALID_ID
  
 @ operations[0].operand.criterion.id; 
 trigger:'CriterionId{id=37523985304}']/faultstringdetailApiExceptionFault
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201306;message[EntityNotFound.INVALID_ID
  
 @ operations[0].operand.criterion.id; 
 trigger:'CriterionId{id=37523985304}']/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=EntityNotFoundfieldPathoperations[0].operand.criterion.id
 /fieldPathtriggerCriterionId{id=37523985304}/triggererrorStringEntityNotFound.INVALID_ID/errorStringApiError.TypeEntityNotFound/ApiError.TypereasonINVALID_ID/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope
 -END API CALL---

 -BEGIN API CALL-

 Request (Get)
 ---


 ?xml version=1.0 encoding=utf-8?soap:Envelope xmlns:soap=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema;!--POST 
 /api/adwords/cm/v201306/AdGroupCriterionService
 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client 
 Protocol 4.0.30319.18051)
 VsDebuggerCausalityData: 
 uIDPo3bOCEf8qJROof0bhcA1TDcAT2HD25jDzUGnU2As9HdxCUHJYPMJGZBCiWlffLMJkWEACQAA

Re: Cant get any result from GetRefreshToken.php

2014-01-21 Thread Evgeniy Bogdanov
Hi.

You link shows 404 error.
Did you checked PHP error logs before posting this message?


2014/1/20 Mahfooz Khan mahfoozmcc.ecommne...@gmail.com

 Hi,

 I have been trying to use the client library for Auth2.0 , after creating
 the client ID and secret and then updating it with auth.ini , i am not able
 to run the getrefreshtoken.php as it doesnt display any google app utility
 , require your assistance. You can check from here.
 http://bit.ly/1dMU19a

 Thanks!

 --
 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion group:
 http://googleadsdeveloper.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
 ---
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: oAuth2.0 error: Credential could not be refreshed........ client.auth.oauth2.TokenResponseException: 400 Bad Request , error : invalid_grant

2014-01-21 Thread Josh Radcliff (AdWords API Team)
Hi Echo,

If the prior post doesn't solve the issue, please see the following 
discussion, which covers many of the common issues and questions around 
configuring your app for OAuth 2.

https://groups.google.com/d/msg/adwords-api/-K7DuDOAVEM/9Um-qE4Di3AJ

Cheers,
Josh, AdWords API Team

On Thursday, January 16, 2014 10:41:22 AM UTC-5, test...@idilia.com wrote:

 I had the exact same error message and solved the problem. What I was 
 doing wrong is the following:

 When using GetRefreshToken and copying the url in the browser I was 
 copying the code (starting by 4/) obtained by this page as the refreshToken 
 in ads.properties, instead of copying this code back into the 
 (GetRefreshToken) console and using as a refreshToken the one generated by 
 GetRefreshToken (starting by 1/).

 I should have paid more attention to the instructions !

 On Friday, August 2, 2013 2:33:21 AM UTC-4, Takeshi Hagikura (AdWords API 
 Team) wrote:

 Hi,

 I guesss, it's because the account you granted access to AdWords and the 
 account you were trying to make a request against are different (or not 
 under the MCC you granted access).

 Please make sure you grant access to an MCC account or a client account. 
 And the account you are trying to make a request is under the MCC or the 
 client account you granted access.

 Best,
 - Takeshi, AdWords API Team

 On Thursday, August 1, 2013 2:37:19 AM UTC+9, Echo Li wrote:

 Hi Gurus,

 I was trying to upgrade to oAuth2 authentication from ClientLogin 
 method, when I run the sample code I got below errors, have no clue what 
 caused it, is it possible that the way I create the clientID and 
 ClientSecret caused it?  any reply is appreciated.

 Exception in thread main 
 com.google.api.ads.common.lib.exception.OAuthException: Credential could 
 not be refreshed.
 at 
 com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:149)
 at 
 DownloadCriteriaReportWithAwql.main(DownloadCriteriaReportWithAwql.java:42)
 Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 
 Bad Request
 {
   error : invalid_grant
 }
 at 
 com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105)
 at 
 com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:332)
 at 
 com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:352)
 at 
 com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:535)
 at 
 com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:248)
 at 
 com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:454)
 at 
 com.google.api.ads.common.lib.auth.OAuth2Helper.callRefreshToken(OAuth2Helper.java:70)
 at 
 com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:144)


 Echo



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Data feed disapproved in Google merchant center.

2014-01-21 Thread Josh Radcliff (AdWords API Team)
Hi,

This looks to be a *Merchant Center* issue/question.  I would suggest 
taking a look at the following similar posts on the Merchant Center 
forumhttp://productforums.google.com/forum/#!forum/merchant-centerto see if 
they help resolve the issue.

   - 
   
http://productforums.google.com/d/msg/merchant-center/ax9hm0Me9qo/Y7-HfP6bZscJ
   - 
   
http://productforums.google.com/d/msg/merchant-center/AZaCkZoCKyk/eOg6x4x4r-8J

Those posts also include suggestions on how to follow up with our shopping 
team if you need further assistance.

Thanks,
Josh, AdWords API Team

On Friday, January 17, 2014 1:26:15 AM UTC-5, Amanda Clark wrote:


 When we upload Product Data Feed in Google merchant center, then they 
 disapproved instantly. Show a critical errors as below-

 Images cannot be crawled because of robots.txt restriction 
 Please help me.

 My robots.txt file is as below--

 # http://www.sxw.org.uk/computing/robots/check.html

 User-agent: Googlebot-image
 Disallow:

 # Directories
 User-agent: *
 Disallow: /giinadmin/

 # Files
 Disallow: /cron.php
 Disallow: /cron.sh
 Disallow: /error_log
 Disallow: /install.php
 Disallow: /LICENSE.html
 Disallow: /LICENSE.txt
 Disallow: /LICENSE_AFL.txt
 Disallow: /STATUS.txt

 Sitemap: http://www.greatideas.net.au/sitemap.xml


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Duplicate entries when getting keywords in adgroup with MatchType field

2014-01-21 Thread Josh Radcliff (AdWords API Team)
Hi Stefan,

This question arose again today so I thought I'd post an update here.

There's a subtle difference between *MatchType* and 
KeywordMatchTypehttps://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.Keyword#matchType.
 
 The former is based on how your ads were triggered, as described in the 
Understanding the 'Match type' column section of this help document.

https://support.google.com/adwords/answer/2472708?hl=en

If you are interested in retrieving the match type that you specified when 
creating your keywords, then use 
KeywordMatchTypehttps://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.Keyword#matchTypeinstead.
  This will give you one row per keyword, as expected.  I'll look 
into updating the GetKeywords 
examplehttps://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201309/basicoperations/GetKeywords.java#L83to
 use 
*KeywordMatchType* as well to avoid any confusion going forward.

Cheers,
Josh, AdWords API Team

On Tuesday, August 28, 2012 3:09:22 PM UTC-4, David Torres wrote:

 Hi Stefan,

 Do you mind giving me the campaign id or ad group id against which your 
 are running your code? I'll be glad to investigate.

 Best,

 -David Torres - AdWords API Team

 On Monday, August 27, 2012 10:40:19 AM UTC-4, Stefan Reichel wrote:

 Hi Eugene,

 same problem here, with the JAVA based API, Matchtype is always equal, in 
 my case PHRASE. Did you manage to circumnavigate that problem? As far as 
 i can see the statistics data e.g. impression are different. Nevertheless i 
 could not yet find a deeper sense or pattern behind it. 

 Regards 
 Stefan



 Am Donnerstag, 2. August 2012 16:57:41 UTC+2 schrieb Eugene:

 Hi.
 I encountered strange behavior of API.
 I get duplicate entries when fetching keywords in adgroup with 
 'MatchType' field (3 copies of each row to be exact).
 Everything works as expected when I remove 'MatchType' from the query.
 I'm using PHP library v201109_1 with sandbox account.
 Easy to reproduce: just add 'MatchType' field to 
 BasicOperations\GetKeywords.php example.

 So is it a bug or a feature? 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdId mismatch in Ad Performance Report

2014-01-21 Thread Bikram Bhuyan
Hi Danial,

Thanks a lot for your response. When I run my program to fetch the Ads for 
this group id, I am getting 49 rows returned by query. I am using AWQL and 
below if the query I am firing.

SELECT Id, Url, DisplayUrl, Type, Status WHERE AdGroupId = 1301383813 ORDER 
BY Id

In the output of this result I dont see the following AdIds which are 
returned by my report service based on my previous email. Could you please 
suggest what am I doing wrong.

These are the ad ids which are returned by the report service where as it 
is not returned in the above call  (3107387353, 3107388613, 3107389063, 
18108856933, 18108885133, 1810493)

Thanks,
Bikram.

On Tuesday, January 21, 2014 3:03:03 AM UTC-8, Danial Klimkin wrote:

 Hello Bikram,


 What are you comparing these IDs to? I've checked AdGroup 1301383813 and I 
 see ads with the IDs listed under it.


 -Danial, AdWords API Team.


 On Saturday, January 18, 2014 5:35:22 AM UTC+4, Bikram Bhuyan wrote:

 Hello,

 We are fetching the Stats from the Ad Performance Report based on a 
 particular date range. What we found out is that the output which I got 
 from the report (in XML format) contains AdId which does not exists in the 
 system where as the campaign id and ad group id matches good.

 I can provide more details if you need by not sure how to validate it.

 Attached is the sample XML response we got for the Ad Performance 
 Report. 

 Let me know if you need any specific input on our account and I can send 
 you in email.

 Thanks,
 Bikram.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords Ad Details like % Served, Clicks etc... Which API call will return these information.

2014-01-21 Thread Bikram Bhuyan
Hi Danial,

Thanks a lot for your response. I think I did not mention my requirement 
clearly. I am calling the Ad Performance Report and getting all the Stats 
information like Clicks, Impressions etc which are all fine. There are some 
more information I need to gather for this ad which I am unable to figure 
out.

Say for an ad AD1 I set the value track URL as 
http://www.example.com/?matchtype={matchtype}*keyword={keyword}*;. So when 
any particular user clicks on this URL, the final url will be generated as 
http://www.example.com/?matchtype=XXXkeyword=YYY; and the user will be 
redirected to this page.

I wanted to know for a particular date range, how many users click this URL 
(the final destination URL) and on what exact time they clicked. I need 
this for individual ad id. Could you please suggest what exactly I need to 
do get this information. All other information are I am getting from diff 
report, but this information I am unable to find out.

Thanks,
Bikram.

On Tuesday, January 21, 2014 2:01:24 AM UTC-8, Danial Klimkin wrote:

 Hello Bikram,


 Please check out the reporting reference available here:

   https://developers.google.com/adwords/api/docs/appendix/reports

 Note you may need to join several reporting.

 For example, Ad IDs are available with Id field of Ad Performance 
 Report, matched keywords as KeywordText of Keywords Performance Report. 
 Date can be added with Date field available for the most of the reports.


 -Danial, AdWords API Team.


 On Tuesday, January 21, 2014 5:48:37 AM UTC+4, Bikram Bhuyan wrote:

 Hi Danial,

 I am working on this report now. But I don't get the below information 
 from this report.

 1. Ad Id (It return only Campaign Id and Group Id, But not Ad Id).
 2. Final Destination URL (the url generated with all the ValueTrack 
 parameters added). Not sure which column will return this.
 3. Keywords which triggered the ad to show up.
 4. Date on which the URL was clicked by the user.

 Could you please let me know if any other report might give these 
 information? I need to group the result at ad level. So I need the AdId and 
 the Date on which the link was clicked for our report.

 Thanks,
 Bikram.

 On Tuesday, November 26, 2013 1:54:50 AM UTC-8, Danial Klimkin wrote:

 Hello Bikram,


 1. Free search links will not be logged in AdWords, so all impressions / 
 clicks returned is the AdWords Ads data. You can use ValueTrack parameters 
 to obtain more information about the click:

   https://support.google.com/adwords/answer/2375447

 2. See the destination URL report:

   
 https://developers.google.com/adwords/api/docs/appendix/reports#destination-url

 It has AdGroupId / CampaignId columns that can be used to join data with 
 other reports.


 -Danial, AdWords API Team.


 On Tuesday, November 26, 2013 3:48:56 AM UTC+4, Bikram Bhuyan wrote:

 Hi Danial,

 Thanks a lot the information. Based on your details I went through all 
 the available reports and found out the data that is returned by the 
 reporting APIs. However there are some data requirements for out project I 
 am yet to find the information. I might be missing these details, but if 
 you could point me to the specific report which might return the 
 information.

 1. When the person click on the link from the Ad-words ad link, how do 
 I know if that page is referred from the AdWords ad link, Not from the 
 free 
 search link. Here I am interested to know
  - The URL of the page associated with the ad link click.
  - How do I distinguish from my page that this page is called 
 from the AdWords link click. Not from the free search either from Google 
 search (not adwords link click) or any other search engine click.
  - What are the information being passed in the URL to our 
 landing page, to know that it is coming from the AdWords search click.
  
 2. Which report can return the associated landing page URL for each 
 search criteria for a particular ad.

 Thanks,
 Bikram.

 On Monday, November 11, 2013 7:29:24 AM UTC-8, Danial Klimkin wrote:

 Hello Bikram,


 You need to use AdWords API Reporting to access this data. See:

   https://developers.google.com/adwords/api/docs/guides/reporting
   
 https://developers.google.com/adwords/api/docs/guides/reporting-concepts


 -Danial, AdWords API Team.

 On Friday, November 8, 2013 11:34:44 PM UTC+4, Bikram Bhuyan wrote:

 Hello,

 Could you please let me know which API call I should make to get the 
 following information for a particular AD?

 1. % Served.
 2. Clicks.
 3. Impression Indicator.
 4. Click Through Rate.
 5. Average Cost Per Click.
 6. Cost.
 7. Average Position.

 Just to give more details, all these information are shown in the 
 AdWords Ad Page in a grid format in the UI. I just wanted to fetch these 
 information by making API Calls.

 I will really appreciate if anyone know the details, if you could 
 provide some help.

 Thanks,
 Bikram.



-- 
-- 

Re: Report which returns Ad Id, Final Destination URL (Destination URL Report).

2014-01-21 Thread Bikram Bhuyan
Hi Neils,

Thanks a lot for your response. I think I did not mention my requirement 
clearly. I am calling the Ad Performance Report and getting all the Stats 
information like Clicks, Impressions etc which are all fine. There is some 
more information I need to gather for this ad which I am unable to figure 
out.

Say for an ad AD1 I set the value track URL as 
http://www.example.com/?matchtype={matchtype}*keyword={keyword}*;. So when 
any particular user clicks on this URL, the url will be generated as 
http://www.example.com/?matchtype=XXXkeyword=YYY; and the user will be 
redirected to this page.

I wanted to know for a particular date range, how many users click this URL 
and on what exact time they clicked. I need this for individual ad id. 
Could you please suggest what exactly I need to do get this information. 
All other information are I am getting from diff report, but this 
information I am unable to find out.

Thanks,
Bikram.

On Tuesday, January 21, 2014 1:40:49 AM UTC-8, Niels Kikkert wrote:

 Hi Bikram,

 I think you're looking for is the AD_PERFORMANCE_REPORT (
 https://developers.google.com/adwords/api/docs/appendix/reports?hl=nl#ad). 
 This will not return all the fields you're requesting, and I don't know if 
 all of those information is available through the API, but at least it 
 gives you information based on the Ad ID and gives you the ID of the 
 keyword that was triggered.

 Niels

 On Tuesday, January 21, 2014 2:13:42 AM UTC+1, Bikram Bhuyan wrote:

 Hello,

 In our project we have the requirement to show the effectiveness of the 
 ad URL. I am not sure which report to use, but the most appropriate report 
 looks to me is DESTINATION_URL_REPORT. But that report does not have 
 the following information - 

 1. Ad Id (It return only Campaign Id and Group Id, But not Ad Id).
 2. Final Destination URL (the url generated with all the ValueTrack 
 parameters added). Not sure which column will return this.
 3. Keywords which triggered the ad to show up.
 4. Date on which the URL was clicked by the user.

 If you could point how to get these information (these might be returned 
 by any other report) that will be great.

 Thanks a lot,
 Bikram.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Ad Performance Information from API

2014-01-21 Thread Ray Tsang (AdWords API Team)
Bikram,

You are correct.  The format of the data needs to be specified so that your 
application can expect the format.  
You can expect the returned data in the 
ReportDownloadResponse.getInputStream().
You'll need to parse that data and consume it the way your application 
needs to.

I hope this helps.

--
Ray Tsang (AdWords API Advisor)


On Friday, January 17, 2014 4:32:04 PM UTC-5, Bikram Bhuyan wrote:

 Hi Ray,

 Not sure if I understood your comment properly. I dont see any method 
 ReportDownloader which does not take the report download format. Below is 
 the code which I see in the sample example.

 ReportDownloadResponse response = new 
 ReportDownloader(session).downloadReport(query, DownloadFormat.CSV);
 FileOutputStream fos = new FileOutputStream(new File(reportFile));

 You have to define the download format as the 2nd parameter. Not sure how 
 I can get the data without download parameters.

 Thanks,
 Bikram.

 On Friday, January 17, 2014 11:47:29 AM UTC-8, Ray Tsang (AdWords API 
 Team) wrote:

 Bikram,

 In the example, ReportDownloadResponse.getInputStream() will return you 
 an InputStream that you can process.  Whether you want to store that 
 InputStream to another file or processing it directly is completely up to 
 you.

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Thursday, January 16, 2014 3:57:48 PM UTC-5, Bikram Bhuyan wrote:

 Hi Ray,

 I am using Java Client library. The file I am looking at is 
 v201309\reporting\DownloadCriteriaReport  
 DownloadCriteriaReportWithAwql.

 Thanks,
 Bikram.

 On Thursday, January 16, 2014 12:54:19 PM UTC-8, Ray Tsang (AdWords API 
 Team) wrote:

 Bikram,

 Could I trouble you to let me know which client library (which 
 language) you are using?

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Thursday, January 16, 2014 1:17:19 PM UTC-5, Bikram Bhuyan wrote:

 Thanks a lot for the information. Its really helpful. I checked the 
 client library and found the sample example. The example have the code 
 which export the report data to file. Is there any way I can get the data 
 without exporting it to the file (like we get the data from API calls). I 
 wanted to store the stats in one of the table. If it exported to file 
 when 
 I need to reprocess it to read it and insert into the table.

 If you could send me a sample code how to fetch the data without 
 exporting to file that will be really helpful.

 Thanks,
 Bikram.

 On Wednesday, January 15, 2014 4:28:10 PM UTC-8, Ray Tsang (AdWords 
 API Team) wrote:

 Bikram,

 Please check our reporting 
 guidehttps://developers.google.com/adwords/api/docs/guides/reporting
 .
 You will be able to find specific report types and its data in the 
 Reference 
 Datahttps://developers.google.com/adwords/api/docs/appendix/reports
 .

 If you use a client library, there should also be an example of 
 retrieving reports using AWQL.

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Tuesday, January 14, 2014 8:27:06 PM UTC-5, Bikram Bhuyan wrote:

 Hello Guys,

 I need to fetch the following information for each ad. Could you 
 please let me know which API call can be used to get these information.

 1. Clicks
 2. Impressions
 3. CTR
 4. Avg. CPC
 5. Cost
 6. Budget

 Also I wanted to how how much granular data we can get. Our design 
 requires to store the data for each day. So does daily data is being 
 provided by the API or only Weekly data is returned.

 I would appreciate if you could provide some details on this.

 Thanks,
 Bikram.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Vertical ID ADD returned as EntityNotFound.INVALID_ID

2014-01-21 Thread Josh Radcliff (AdWords API Team)
Hi,

Could you confirm that you are passing 
Vertical.VerticalIdhttps://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.Vertical#verticalId,
 
and *not 
*Vertical.Idhttps://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.Vertical#id?
 
 The former should be set to the vertical ID from the list of available 
verticals.  The latter is automatically generated by AdWords when you 
create a new Vertical and should not be set in your mutate + ADD request.

If that's not the issue, please pass along the vertical ID you are trying 
to use and I will attempt the same request on my side.

Cheers,
Josh, AdWords API Team

On Friday, January 17, 2014 2:17:06 AM UTC-5, Andrew Ambrosio wrote:

 I am trying to add a Vertical on an Ad Group using 
 AdGroupCriterionService.Mutate. As I give the Vertical.Id based on the 
 CSV provided 
 https://developers.google.com/adwords/api/docs/appendix/verticalsby 
 AdWords. I got EntityNotFound.INVALID_ID on Partial Error.

 Can you guys assist me on using Vertical on Ad Groups?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Ad Performance Information from API

2014-01-21 Thread Bikram Bhuyan
Thanks a lot for the response. Is there any support for JSON currently or 
if not is there are plan to add it in the future. I think JSON is one of 
the popular data parsing format now and days and think the API should 
support that. Currently if JSON is not there then I think XML format will 
be the best for now.

On Tuesday, January 21, 2014 10:44:46 AM UTC-8, Ray Tsang (AdWords API 
Team) wrote:

 Bikram,

 You are correct.  The format of the data needs to be specified so that 
 your application can expect the format.  
 You can expect the returned data in the 
 ReportDownloadResponse.getInputStream().
 You'll need to parse that data and consume it the way your application 
 needs to.

 I hope this helps.

 --
 Ray Tsang (AdWords API Advisor)


 On Friday, January 17, 2014 4:32:04 PM UTC-5, Bikram Bhuyan wrote:

 Hi Ray,

 Not sure if I understood your comment properly. I dont see any method 
 ReportDownloader which does not take the report download format. Below is 
 the code which I see in the sample example.

 ReportDownloadResponse response = new 
 ReportDownloader(session).downloadReport(query, DownloadFormat.CSV);
 FileOutputStream fos = new FileOutputStream(new File(reportFile));

 You have to define the download format as the 2nd parameter. Not sure how 
 I can get the data without download parameters.

 Thanks,
 Bikram.

 On Friday, January 17, 2014 11:47:29 AM UTC-8, Ray Tsang (AdWords API 
 Team) wrote:

 Bikram,

 In the example, ReportDownloadResponse.getInputStream() will return you 
 an InputStream that you can process.  Whether you want to store that 
 InputStream to another file or processing it directly is completely up to 
 you.

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Thursday, January 16, 2014 3:57:48 PM UTC-5, Bikram Bhuyan wrote:

 Hi Ray,

 I am using Java Client library. The file I am looking at is 
 v201309\reporting\DownloadCriteriaReport  
 DownloadCriteriaReportWithAwql.

 Thanks,
 Bikram.

 On Thursday, January 16, 2014 12:54:19 PM UTC-8, Ray Tsang (AdWords API 
 Team) wrote:

 Bikram,

 Could I trouble you to let me know which client library (which 
 language) you are using?

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Thursday, January 16, 2014 1:17:19 PM UTC-5, Bikram Bhuyan wrote:

 Thanks a lot for the information. Its really helpful. I checked the 
 client library and found the sample example. The example have the code 
 which export the report data to file. Is there any way I can get the 
 data 
 without exporting it to the file (like we get the data from API calls). 
 I 
 wanted to store the stats in one of the table. If it exported to file 
 when 
 I need to reprocess it to read it and insert into the table.

 If you could send me a sample code how to fetch the data without 
 exporting to file that will be really helpful.

 Thanks,
 Bikram.

 On Wednesday, January 15, 2014 4:28:10 PM UTC-8, Ray Tsang (AdWords 
 API Team) wrote:

 Bikram,

 Please check our reporting 
 guidehttps://developers.google.com/adwords/api/docs/guides/reporting
 .
 You will be able to find specific report types and its data in the 
 Reference 
 Datahttps://developers.google.com/adwords/api/docs/appendix/reports
 .

 If you use a client library, there should also be an example of 
 retrieving reports using AWQL.

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Tuesday, January 14, 2014 8:27:06 PM UTC-5, Bikram Bhuyan wrote:

 Hello Guys,

 I need to fetch the following information for each ad. Could you 
 please let me know which API call can be used to get these information.

 1. Clicks
 2. Impressions
 3. CTR
 4. Avg. CPC
 5. Cost
 6. Budget

 Also I wanted to how how much granular data we can get. Our design 
 requires to store the data for each day. So does daily data is being 
 provided by the API or only Weekly data is returned.

 I would appreciate if you could provide some details on this.

 Thanks,
 Bikram.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Adding CampaignCriterion Webpage results in CriterionError.CANNOT_ADD_CRITERIA_TYPE

2014-01-21 Thread Stephen Yeargin

Here's a transcript of the error I'm getting.

https://gist.github.com/anonymous/8545993

- Stephen

On Friday, January 17, 2014 1:57:23 PM UTC-6, Ray Tsang (AdWords API Team) 
wrote:

 Bastian,

 Could I trouble you to send the full SOAP request/response (with sensitive 
 information stripped out) to me using the Reply to Author feature?

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Wednesday, January 15, 2014 2:54:36 AM UTC-5, b.ka...@mso-digital.dewrote:

 Hi there,
  
 i am receiving an error while trying to add a Webpage Criterion to my 
 Campaign with CampaignCriterionService.
  
 The error i am receiving is: An error has occurred: 
 [CriterionError.CANNOT_ADD_CRITERIA_TYPE @ operations[0].operand.criterion]
  
 The following source code shows that functionality. Is there an error in 
 the code, or is it simply not possible to add a Webpage Criterion with 
 Adwords API yet?
 Please note that i removed my real customer and campaign id in this 
 example.
  

   $id = MY_CUSTOMER_ID;

   $campaignId = MY_CAMPAIGN_ID;

   try {

 

$user = new AdWordsUser();

$user-LogAll();

$user-SetClientCustomerId($id);

$campaignCriterionService = 
 $user-GetService('CampaignCriterionService', ADWORDS_VERSION);

$param = new WebpageParameter();
$param-criterionName = param1;

$wp = new Webpage();

$wp-parameter = $param;

$campaignCriteria = new CampaignCriterion();
$campaignCriteria-campaignId = $campaignId;
$campaignCriteria-criterion = $wp;   
 
$operation = new CampaignCriterionOperation();
$operation-operand = $campaignCriteria;
$operation-operator = 'ADD';
  

$operations = array();
$operations[] = $operation;
  
$result = $campaignCriterionService-mutate($operations);
  
foreach ($result-value as $campaignCriterion) {
 $this-Session-setFlash(Campaign targeting criterion with ID 
 .$campaignCriterion-criterion-id. and type 
 .$campaignCriterion-criterion-CriterionType. was 
   . added.);
}

   } catch (Exception $e) {
$this-Session-setFlash(An error has occurred: . $e-getMessage());
   }

  
  
 Thank you
  
 Best Regards
 Bastian 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Campaign performance report beta feature feild not returned with V201209

2014-01-21 Thread Chester Tester
This may be silly but how do I know who my Google account manager is? 

On Friday, May 24, 2013 11:05:02 AM UTC-4, Anash P. Oommen (AdWords API 
Team) wrote:

 Hi Niladri,

 See Kevin's reply above. Our team cannot invite users for beta access, 
 that should be done by your Google account manager.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, May 14, 2013 9:43:58 AM UTC+5:30, Niladri Sirkar wrote:

 Kevin,

 How can I get on to the beta program? I am building an application for my 
 client who already is running Adwords since 2012. My job is to pull the 
 data from server via API and lay it in a specific format to generate the 
 report.

 Now the problem is he has Phone cost data which I am not able to pull up. 
 I am using client login for the purpose, and no doubt I am using Adwords 
 credential provided by him only.

 In a situation like this, I have no idea how to proceed further. even if 
 I am on a beta program, I presume I have to use my credential in that case. 
 So does this mean my client has to be on it in order to gain access to all 
 (or some) of he beta features?

 Also to access beta features is a test account is compulsory?!

 Please suggest asap. I have got stuck fully and update to client is due 
 for last one week.

 Subrata


 On Fri, May 10, 2013 at 9:45 PM, Kevin Winter (AdWords API Team) 
 adwordsapia...@google.com wrote:

 Hi,
   The API does not support all the features of the UI, so matching 100% 
 will always be a moving target as the UI adds more features that the API 
 doesn't support.

 That said, it's not possible to obtain these metrics unless you are in 
 the beta program.  You can work with your account manager to get access.

 - Kevin Winter
 AdWords API Team

 On Friday, May 10, 2013 7:25:19 AM UTC-4, Subrata Sarkar wrote:

 Hi,
 I am able to fetch reports from API server fine, but my client says the 
 costs are a little off compared to MCC console data. This is because I 
 could not consider *OfflineInteractionCost* as such fields (marked as 
 beta) can only be accessed by a registered *beta tester*.

 When I added the above field in CAMPAIGN_PERFORMANCE_REPORT I got the 
 following error.
 ?xml version=1.0 encoding=UTF-8 standalone=yes?
 reportDownloadErrorApiErrortypeBetaError.BETA_FEATURE/
 typetriggerOfflineInteractionCost/triggerfieldPathselector/
 fieldPath/ApiError/reportDownloadError

 I can understand the feature is yet to be opened to public and can be 
 accessible by Beta testers.

 But, in such a case what is the option to catch that value so that Cost 
 + OfflineInteractionCost matches that can be seen on MCC console? Right 
 now 
 I am only getting the Cost field value while I need *Cost + 
 OfflineInteractionCost*.

 Is there any way that I can access the value? If I register as a Beta 
 tester will I be provided with a Token or alike so that I can put the same 
 in application's config file so that anybody using the application is 
 allowed to access the data I can?

 On Monday, 4 March 2013 21:55:19 UTC+5:30, Kevin Winter (AdWords API 
 Team) wrote:

 Hi Chirag,
   Please contact 
 http://support.google.com/adwords/answer/8206?hl=enyour CSR or Account 
 Manager.

 - Kevin Winter
 AdWords API Team

 On Thursday, February 28, 2013 1:02:31 AM UTC-5, Chirag wrote:

 Hello John,

 Thanks for reply.

 Where i can register as beta tester?

 Thanks,
 chirag

 On Wednesday, February 27, 2013 7:23:22 PM UTC+5:30, John Lister 
 wrote:

 You need to be registered as a beta tester in order to access any 
 beta fields, etc

 John

  -- 
 -- 
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 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 adwor...@googlegroups.com
 To unsubscribe from this group, send email to
 adwords-api...@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 Forum group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/adwords-api/gP5PjJ1A91k/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to 
 adwords-api...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




 -- 


 Thanks and Regards,

 Niladri Sarkar
 Skype: NiladriSirkar72
 US: +1 (202) 556-3514 , +1 (202) 506-9125
 India (Fixed) : +91 33 2663 6462 | India (Mobile) : +91 94327 50266, +91 
 94326 45822 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You 

Re: EntityCountLimitExceeded.CAMPAING_LIMIT on negative keywords

2014-01-21 Thread Ray Tsang (AdWords API Team)
Troels,

I'm wondering if there are other ways for you to achieve similar results by 
using less number of negative keywords. Even with a Shared Set - I'm 
uncertain if it'll fit your use case that well.

For example, campaigns can have different keywords if you don't want them 
match on those keywords - what are the reasons for them to have the same 
keywords, but also the negative keywords to prevent duplication?

It would be great if you can provide some concrete examples (and the 
associated problems) you are trying to solve.  That being said - these 
issues may not be API related but more AdWords related.

Thanks!

--
Ray Tsang (AdWords API Advisor)

On Monday, January 20, 2014 3:31:26 AM UTC-5, t...@quantads.net wrote:

 Hi Ray

 Sorry for the late reply.

 We have several campaigns with ~10,000 regular keywords. Some of these 
 campaigns needs to have a big negative keyword set.
 The size of this negative keyword set grows with the account, to the 
 amount of all regular keywords on the account, minus the regular keywords 
 on that given campaign. 
 This is usually between 170,000 and 300,000 negative keywords, which needs 
 to be added to several campaigns. 

 We want to do this, in order to control the flow of traffic on the 
 campaigns, and prevent matching the same keywords on different campaigns.

 Kind regards.
 Troels.

 Den torsdag den 16. januar 2014 18.45.41 UTC+1 skrev Ray Tsang (AdWords 
 API Team):

 Troels,

 Could I trouble you to elaborate on the 300,000+ keywords?  Is this 
 300,000 negative keywords per Campaign?

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Friday, January 10, 2014 3:24:50 AM UTC-5, t...@quantads.net wrote:

 Hi

 I am getting EntityCountLimitExceeded.CAMPAIGN_LIMIT @ operations 
 (enclosingId=..., limit=1, accountLimitType=null, existingCount=null) 
 when trying to add a lot of negative keywords.
 I have not been able to find specific limits on how many negative 
 keywords may be added to a campaign, but is the gist of this error that I 
 can only add 1?

 The reason I need this, is that we do not have access to the beta API, 
 an thus cannot create shared sets with negative keywords. 
 We would like to automatically create negative keywords based on 
 automatically created keywords. 
 These negative keywords needs to be synchronized across several 
 campaigns, in order to prevent matching on the entire account. 
 Thus we try to create the total amount of keywords (300.000+), as 
 negative keywords on each campaign, but then run into this error.

 Is what we are trying to do actually doable with current API, or do we 
 have to get beta access or worst case wait until the shared set API comes 
 into mainstream API? 
 We have made a request for beta access, but so far no decisive answer.


 Kind regards.
 Troels.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Ad Performance Information from API

2014-01-21 Thread Ray Tsang (AdWords API Team)
Bikram,

You are welcome!  There is no JSON support at the moment.  The supported 
formats are documented in the Reporting 
guidehttps://developers.google.com/adwords/api/docs/guides/reporting. 
 Please use the XML format as you prefer.

Thanks!

--
Ray Tsang (AdWords API Advisor)


On Tuesday, January 21, 2014 1:50:28 PM UTC-5, Bikram Bhuyan wrote:

 Thanks a lot for the response. Is there any support for JSON currently or 
 if not is there are plan to add it in the future. I think JSON is one of 
 the popular data parsing format now and days and think the API should 
 support that. Currently if JSON is not there then I think XML format will 
 be the best for now.

 On Tuesday, January 21, 2014 10:44:46 AM UTC-8, Ray Tsang (AdWords API 
 Team) wrote:

 Bikram,

 You are correct.  The format of the data needs to be specified so that 
 your application can expect the format.  
 You can expect the returned data in the 
 ReportDownloadResponse.getInputStream().
 You'll need to parse that data and consume it the way your application 
 needs to.

 I hope this helps.

 --
 Ray Tsang (AdWords API Advisor)


 On Friday, January 17, 2014 4:32:04 PM UTC-5, Bikram Bhuyan wrote:

 Hi Ray,

 Not sure if I understood your comment properly. I dont see any method 
 ReportDownloader which does not take the report download format. Below is 
 the code which I see in the sample example.

 ReportDownloadResponse response = new 
 ReportDownloader(session).downloadReport(query, DownloadFormat.CSV);
 FileOutputStream fos = new FileOutputStream(new File(reportFile));

 You have to define the download format as the 2nd parameter. Not sure 
 how I can get the data without download parameters.

 Thanks,
 Bikram.

 On Friday, January 17, 2014 11:47:29 AM UTC-8, Ray Tsang (AdWords API 
 Team) wrote:

 Bikram,

 In the example, ReportDownloadResponse.getInputStream() will return you 
 an InputStream that you can process.  Whether you want to store that 
 InputStream to another file or processing it directly is completely up to 
 you.

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Thursday, January 16, 2014 3:57:48 PM UTC-5, Bikram Bhuyan wrote:

 Hi Ray,

 I am using Java Client library. The file I am looking at is 
 v201309\reporting\DownloadCriteriaReport  
 DownloadCriteriaReportWithAwql.

 Thanks,
 Bikram.

 On Thursday, January 16, 2014 12:54:19 PM UTC-8, Ray Tsang (AdWords 
 API Team) wrote:

 Bikram,

 Could I trouble you to let me know which client library (which 
 language) you are using?

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Thursday, January 16, 2014 1:17:19 PM UTC-5, Bikram Bhuyan wrote:

 Thanks a lot for the information. Its really helpful. I checked the 
 client library and found the sample example. The example have the code 
 which export the report data to file. Is there any way I can get the 
 data 
 without exporting it to the file (like we get the data from API calls). 
 I 
 wanted to store the stats in one of the table. If it exported to file 
 when 
 I need to reprocess it to read it and insert into the table.

 If you could send me a sample code how to fetch the data without 
 exporting to file that will be really helpful.

 Thanks,
 Bikram.

 On Wednesday, January 15, 2014 4:28:10 PM UTC-8, Ray Tsang (AdWords 
 API Team) wrote:

 Bikram,

 Please check our reporting 
 guidehttps://developers.google.com/adwords/api/docs/guides/reporting
 .
 You will be able to find specific report types and its data in the 
 Reference 
 Datahttps://developers.google.com/adwords/api/docs/appendix/reports
 .

 If you use a client library, there should also be an example of 
 retrieving reports using AWQL.

 Thanks,

 --
 Ray Tsang (AdWords API Advisor)


 On Tuesday, January 14, 2014 8:27:06 PM UTC-5, Bikram Bhuyan wrote:

 Hello Guys,

 I need to fetch the following information for each ad. Could you 
 please let me know which API call can be used to get these 
 information.

 1. Clicks
 2. Impressions
 3. CTR
 4. Avg. CPC
 5. Cost
 6. Budget

 Also I wanted to how how much granular data we can get. Our design 
 requires to store the data for each day. So does daily data is being 
 provided by the API or only Weekly data is returned.

 I would appreciate if you could provide some details on this.

 Thanks,
 Bikram.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from 

Re: A few questions about the GeoPerformanceReport

2014-01-21 Thread Ray Tsang (AdWords API Team)
Margaret,

First of all, apologies for the delayed response!  I hope my follow up will 
be helpful as there are many parts to this question:

Is this returning to me only information about locations I have 
 specifically targeted, or is it returning to me geo data for all the 
 activity in the account? 


 The report is where the Ad is shown - not just what you've specifically 
targeted.  You can determine the latter by checking isTargetingLocation 
attribute.

I have included MostSpecificCriteriaId in my report, but I am having a 
 little difficulty resolving the criteriaId's that are returned. I expected 
 that I would be able to plug the id into the geoTargeting lookup table at 
 https://developers.google.com/adwords/api/docs/appendix/geotargeting to 
 find the description of the criteria, but none that I have tried to resolve 
 thus far are in the list.. so how do I use those criteria ids?


MostSpecificCriteriaId should be a valid ID.  Although it may not be in the 
lookup table - you should be able to find it via the 
LocationCriterionServicehttps://developers.google.com/adwords/api/docs/reference/v201309/LocationCriterionService
. 

Lastly, is it possible to request this report for a specific GeoTargetType 
 (ie just Postal Code)?


Postal code targeting is a beta feature.  Please refer to Targeting 
Typeshttps://developers.google.com/adwords/api/docs/appendix/targetingtypes#locations
 documentation.

Thanks, 

--
Ray Tsang (AdWords API Advisor)


On Friday, January 10, 2014 6:11:26 PM UTC-5, mm wrote:

 Hey guys -
 I have a couple of questions about the GeoPerformanceReport - first, is 
 this returning to me only information about locations I have specifically 
 targeted, or is it returning to me geo data for all the activity in the 
 account? Secondly, I have included MostSpecificCriteriaId in my report, 
 but I am having a little difficulty resolving the criteriaId's that are 
 returned. I expected that I would be able to plug the id into the 
 geoTargeting lookup table at 
 https://developers.google.com/adwords/api/docs/appendix/geotargeting to 
 find the description of the criteria, but none that I have tried to resolve 
 thus far are in the list.. so how do I use those criteria ids? Lastly, is 
 it possible to request this report for a specific GeoTargetType (ie just 
 Postal Code)?

 Thanks a bunch!
 Margaret


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Budgets by GEO

2014-01-21 Thread Josh Radcliff (AdWords API Team)
Hi,

You cannot set different *budgets* by region within a single campaign. 
 However, you can set *bid* adjustments by different locations within the 
same campaign by using 
CampaignCriterionServicehttps://developers.google.com/adwords/api/docs/reference/v201309/CampaignCriterionServicewith
 a 
Locationhttps://developers.google.com/adwords/api/docs/reference/v201309/CampaignCriterionService.Location.htmlcriterion
 and a 
bidModifierhttps://developers.google.com/adwords/api/docs/reference/v201309/CampaignCriterionService.CampaignCriterion#bidModifier
.

Cheers,
Josh, AdWords API Team

On Tuesday, January 14, 2014 4:32:00 PM UTC-5, Jill Chasser wrote:

 Is it possible through using the Google API to have 1 campaign, targeting 
 50 DMA Regions and to set unique budgets to each region? Currently, we have 
 50 separate campaigns each targeting a designated GEO, with a unique 
 budget. But, we are looking into solutions to have 1 campaign, yet still be 
 able to allocate budgets by DMA. 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


DESTINATION_URL_REPORT is not returning the actual clicked URL and the KeyWord.

2014-01-21 Thread Bikram Bhuyan
Hello,

For one of our Ad we have defined the destination URL as 
http://www.etrigue.com/landing/gaw/lead-generation/8-step-checklist-for-intelligent-demand-generation/?mt={matchtype}kw={keyword}cid={creative};
 
and from the adwords screen we see that for the date range of last 1 week, 
11 clicks are reported. When I run the report DESTINATION_URL_REPORT I 
get AdGroupId, CampaignId, EffectiveDestinationUrl  Date for that date 
range. I have couple of question on the report data. Could you please help 
me in getting some input on this.

1. I see only 7 entries in the report for this URL where as the online 
adwords report says 11 clicks.
2. The EffectiveDestinationUrl of the report returning the actual URL which 
was setup. That is 
http://www.etrigue.com/landing/gaw/lead-generation/8-step-checklist-for-intelligent-demand-generation/?mt={matchtype}kw={keyword}cid={creative}
.
3. I was expecting the actual generated URL like 
http://www.etrigue.com/landing/gaw/lead-generation/8-step-checklist-for-intelligent-demand-generation/?mt=bkw=lead%20generationcid=35078677933gclid=CO313Nuil7sCFUWTfgodu2AA-Q;
 
but it is not the generated URL. If this report does not return this URL 
then which other report will return this value. I need to know the final 
generated URL for the performance report of our AD. 
4. Also how can I get the KeyWord or Criteria which was responsible for 
this Ad To show up. There might be 10 diff keywords which is responsible 
for this Ad to show up, but I exactly want to know which keyword was 
responsible for this clicked AD.

I am having a lot of difficulties to find this information from the list of 
report. If you could help me in identifying the actual report which will 
return Point 3 and 4 that will be great.

I am attaching the sample report which I generated for last 1 week date 
range in the email for your reference.

Thanks,
Bikram.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


UrlReport-1301383813-20140120.xml
Description: XML document


DESTINATION_URL_REPORT is not returning the actual clicked URL and the KeyWord.

2014-01-21 Thread Bikram Bhuyan
 

Hello,

For one of our Ad we have defined the destination URL as 
*http://www.xxx.com/landing/gaw//?mt={matchtype}kw={keyword}cid={creative}*;
 
and from the adwords screen we see that for the date range of last 1 week, 
11 clicks are reported. When I run the report DESTINATION_URL_REPORT I 
get AdGroupId, CampaignId, EffectiveDestinationUrl  Date for that date 
range. I have couple of question on the report data. Could you please help 
me in getting some input on this.

1. I see only 7 entries in the report for this URL where as the online 
adwords report says 11 clicks.
2. The EffectiveDestinationUrl of the report returning the actual URL which 
was setup. That is 
*http://www.xxx.com/landing/gaw//?mt={matchtype}kw={keyword}cid={creative}*
.
3. I was expecting the actual generated URL like 
http://www.xxx.com/landing/gaw//?mt=bkw=lead%20generationcid=35078677933gclid=CO313Nuil7sCFUWTfgodu2AA-Q;
 
but it is not the generated URL. If this report does not return this URL 
then which other report will return this value. I need to know the final 
generated URL for the performance report of our AD. 
4. Also how can I get the Key Word or Criteria which was responsible for 
this Ad To show up. There might be 10 diff keywords which is responsible 
for this Ad to show up, but I exactly want to know which keyword was 
responsible for this clicked AD.

I am having a lot of difficulties to find this information from the list of 
report. If you could help me in identifying the actual report which will 
return Point 3 and 4 that will be great.

I am attaching the sample report which I generated for last 1 week date 
range in the email for your reference.

Thanks,
Bikram.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


UrlReport-1301383813-20140120.xml
Description: XML document


get all keywords (with status)

2014-01-21 Thread thang dinh

Hi Team,

I have used function get all keyword in file attach but I can't get status 
of keyword.Please let me know if I have gotten status of keyword in some 
ways.

I'm try using BiddableadGroupCriterion.userStatus but it only return status 
= Active

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.
public static void GetKeywords()
{
WriteLog(DateTime.Now.ToString() + :Start Keywords.);
AdWordsUser user = new AdWordsUser();
Config(user);

DataSet ds = adw_Get_adwAdGroupActive();
if (ds == null || ds.Tables[0] == null || ds.Tables[0].Rows.Count 
= 0)
return;

string xml = string.Empty;
int j = 0;
//int flag = 1;
adw_Delete_adwKeywordActiveImport();
foreach (DataRow dr in ds.Tables[0].Rows)
{
if (dr[AdGroupID] != null  
!string.IsNullOrEmpty(dr[AdGroupID].ToString()))
{
// Get the AdGroupCriterionService.
AdGroupCriterionService adGroupCriterionService =

(AdGroupCriterionService)user.GetService(AdWordsService.v201309.AdGroupCriterionService);

// Create a selector.
Selector selector = new Selector();
selector.fields = new string[] { Id, AdGroupId, 
KeywordText };

// Select only keywords.
Predicate predicate = new Predicate();
predicate.field = CriteriaType;
predicate.@operator = PredicateOperator.EQUALS;
predicate.values = new string[] { KEYWORD };

Predicate predicate2 = new Predicate();
predicate2.field = AdGroupId;
predicate2.@operator = PredicateOperator.EQUALS;
predicate2.values = new string[] { 
dr[AdGroupID].ToString() };

selector.predicates = new Predicate[] { predicate, 
predicate2 };

// Set the selector paging.
selector.paging = new Paging();

int offset = 0;
int pageSize = 500;

AdGroupCriterionPage page = new AdGroupCriterionPage();

try
{
do
{
selector.paging.startIndex = offset;
selector.paging.numberResults = pageSize;

// Get the keywords.
page = adGroupCriterionService.get(selector);

// Display the results.
if (page != null  page.entries != null)
{
//if (flag.Equals(1))
//{

//flag = 0;
//}
int i = offset;
string destinationURL = string.Empty;
foreach (AdGroupCriterion adGroupCriterion in 
page.entries)
{
bool isNegative = (adGroupCriterion is 
NegativeAdGroupCriterion);

// If you are retrieving multiple type of 
criteria, then you may
// need to check for
//
// if (adGroupCriterion is Keyword) { ... }
//
// to identify the criterion type.
Keyword keyword = 
(Keyword)adGroupCriterion.criterion;
BiddableAdGroupCriterion 
BiddableadGroupCriterion = null;
if (isNegative)
{

xml += 

How could i get access to unlinked adwords user account

2014-01-21 Thread Eldar Useinov
Hi.

I use Java Client library and face next problem

I try to run this code 


*new OfflineCredentials.Builder()
.forApi(OfflineCredentials.Api.ADWORDS).fromFile()
.build();*

with ads.properties file, which containes next settings












*api.adwords.refreshToken=1/w3eZ_***api.adwords.clientId=97*apps.googleusercontent.comapi.adwords.clientSecret=
 
j6Ci**api.adwords.userAgent=AdWords API JAVA Code 
Exampleapi.adwords.developerToken=d***api.adwords.isPartialFailure=falseapi.adwords.returnMoneyInMicros=trueapi.adwords.refreshOAuth2Token=true*

and have next error:

com.google.api.ads.common.lib.exception.OAuthException: Credential could 
not be refreshed.
 at 
com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:149)
 at adwords.GoogleAPIWrapper.init(GoogleAPIWrapper.java:81)
 at adwords.Loader.init(Loader.java:24)
 at 
tasks.CampaignSyncTaskExecutor.loadCampaign(CampaignSyncTaskExecutor.java:132)
 at tasks.CampaignSyncTaskExecutor.process(CampaignSyncTaskExecutor.java:42)
 at tasks.ATaskExecutor$1.run(ATaskExecutor.java:22)
 at java.lang.Thread.run(Thread.java:744)
Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 
Bad Request
{
  error : invalid_grant
}


What i did wrong? Thank you.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Creating a MCC test account.

2014-01-21 Thread Adwords Test
Hello, 

Sorry for the delay. So I attempted to create a new test account using the 
same link, it seems to redirect me to this new page 
(https://accounts.google.com/ServiceLogin?service=adwordshl=en-USltmpl=signuppassive=falseifr=falsealwf=truecontinue=https://adwords.google.com/um/MccSignupToken?testAccount%3Dtrueapp=MccSignupsacu=1sourceid=awosubid=ww-en-et-awhp_nelsontest_con)

and that has no indication of any test account being created. This was 
after I logged out from this current account. Should I go ahead with the 
account creation process? 

Thanks,
Toan

On Friday, January 17, 2014 1:54:12 PM UTC-6, Ray Tsang (AdWords API Team) 
wrote:

 Hi,

 Could I trouble you to create a new test account with the same link?  As 
 you create the account, please make sure you are logged out and you may 
 need to use a different email address than this one.

 Thanks!
 --
 Ray Tsang (AdWords API Advisor)

 On Thursday, January 16, 2014 1:07:13 PM UTC-5, Adwords Test wrote:

 Thank you for your response. 

 I don't see any red banner or any other indications that the account is a 
 test one. The account log in is my current email address. 


 On Wednesday, January 15, 2014 6:26:06 PM UTC-6, Ray Tsang (AdWords API 
 Team) wrote:

 Hi,

 The test account creation steps may look very similar to a live account 
 creation.  However, after you've created the test account and logged in - 
 you should notice a red banner on the top right hand corner indicating that 
 the MCC account is a test account.

 Please let me know if this isn't the case.

 Thanks!

 --
 Ray Tsang (AdWords API Advisor)


 On Tuesday, January 14, 2014 12:32:16 PM UTC-5, Adwords Test wrote:

 Hello, 

 I follow this page (
 https://developers.google.com/adwords/api/docs/test-accounts) to 
 create a MCC test account. But the given link (
 https://adwords.google.com/um/StartNewMccAccount?testAccount=true) 
 takes me to another page which creates a live account. Any ideas what I've 
 done wrong here? 

 Thanks!



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


The DESTINATION URL REPORT is not returning the actual clicked URL and the KeyWord.‏

2014-01-21 Thread Bikram Bhuyan
Hello,

For one of our Ad we have defined the destination URL as 
*http://www.xxx.com/landing/gaw//?mt={matchtype}kw={keyword}cid={creative}*;
 
and from the adwords screen we see that for the date range of last 1 week, 
11 clicks are reported. When I run the report DESTINATION_URL_REPORT I 
get AdGroupId, CampaignId, EffectiveDestinationUrl  Date for that date 
range. I have couple of question on the report data. Could you please help 
me in getting some input on this.

1. I see only 7 entries in the report for this URL where as the online 
adwords report says 11 clicks.
2. The EffectiveDestinationUrl of the report returning the actual URL which 
was setup. That is 
*http://www.xxx.com/landing/gaw//?mt={matchtype}kw={keyword}cid={creative}*
.
3. I was expecting the actual generated URL like 
http://www.xxx.com/landing/gaw//?mt=bkw=lead%20generationcid=35078677933gclid=CO313Nuil7sCFUWTfgodu2AA-Q;
 
but it is not the generated URL. If this report does not return this URL 
then which other report will return this value. I need to know the final 
generated URL for the performance report of our AD. 
4. Also how can I get the Key Word or Criteria which was responsible for 
this Ad To show up. There might be 10 diff keywords which is responsible 
for this Ad to show up, but I exactly want to know which keyword was 
responsible for this clicked AD.

I am having a lot of difficulties to find this information from the list of 
report. If you could help me in identifying the actual report which will 
return Point 3 and 4 that will be great.

I am attaching the sample report which I generated for last 1 week date 
range in the email for your reference.

Thanks,
Bikram.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


UrlReport-1301383813-20140120.xml
Description: XML document