Re: clicks,cost,conversion etc before shopping campaign

2015-02-26 Thread AroxoDev team
Hi Josh,

Could you please help me out on these too ?

Currently we could able get product wise clicks for shopping campaign, Can 
we able to get product wise clicks for all campaigns?


Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1f1bf152-478b-4c18-b207-196255947d53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get reach data(unique impressions) for each campaign

2015-02-26 Thread Eitan Shay
Thanks Michael.
I've got the reach data with API version v201406.

But I still got "HTTP Response Code: 400, Type: QueryError.PARSING_FAILED" 
error with the following awql using JOIN.
According to the example awql in 
https://developers.google.com/adwords/api/docs/guides/structure-reports, we 
can use the JOIN clause.
Can you please help me find any error from the following awql.

Thanks very much!

===awql with JOIN
SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc, 
*UniqueUserCountAsLong, 
ReachFrequency* 
FROM *CAMPAIGN_PERFORMANCE_REPORT *
JOIN* CAMPAIGN_REACH_FREQUENCY_REPORT* ON CAMPAIGN_PERFORMANCE_REPORT.
Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId 
WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK


On Friday, February 27, 2015 at 3:10:31 AM UTC+8, Michael Cloonan (AdWords 
API Team) wrote:
>
> Hello,
>
> For now, I believe you can still use these reports with API version 
> v201406.
>
> Unfortunately, I cannot comment on release dates or timelines for future 
> features.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, February 26, 2015 at 9:30:16 AM UTC-5, Eitan Shay wrote:
>>
>> Thanks Michael.
>> So for now we cannot get the reach data from AdWords API, is there any 
>> other way to get it?
>> If not, Could you please tell us the approximate time that this feature 
>> will be released?
>>
>> Best regards,
>> Eitan
>>
>>
>> On Thursday, February 26, 2015 at 10:00:58 PM UTC+8, Michael Cloonan 
>> (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> We are aware of this gap and are working on adding a method for you to 
>>> reach this data via reporting. Please watch our blog 
>>>  for new feature announcements 
>>> to keep up do date.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Thursday, February 26, 2015 at 2:08:12 AM UTC-5, Eitan Shay wrote:


  Hi,

 I am trying to get reach data(unique impressions) for each campaign.
 From 
 https://developers.google.com/adwords/api/docs/guides/structure-reports, 
 I can see that I can use JOIN in awql on* CAMPAIGN_PERFORMANCE_REPORT* 
 and *CAMPAIGN_REACH_FREQUENCY_REPORT*

 But I got "HTTP Response Code: 400, Type: QueryError.PARSING_FAILED" 
 error with the following awql:

 SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc, 
 *UniqueUserCountAsLong, 
 ReachFrequency* 
 FROM *CAMPAIGN_PERFORMANCE_REPORT *
 JOIN* CAMPAIGN_REACH_FREQUENCY_REPORT* ON 
 CAMPAIGN_PERFORMANCE_REPORT.Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId 
 WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK

 Then I found CAMPAIGN_REACH_FREQUENCY_REPORT is not supported in the 
 latest version 
 since I got error
 “HTTP Response Code: 500, FieldPath: selector, Trigger: Enum 
 ReportDefinitionReportType does not have a constant corresponding to 
 CAMPAIGN_REACH_FREQUENCY_REPORT, Type: ReportInfoError.REPORT_INFO_ERROR
 ”
 when querying on only CAMPAIGN_REACH_FREQUENCY_REPORT in the following:

 SELECT UniqueUserCountAsLong, ReachFrequency 
 FROM *CAMPAIGN_REACH_FREQUENCY_REPORT* 
 WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK

 Can anyone please help me solve this?

 Thanks very much!
 Eitan

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f8a99a07-1c0b-4346-9d54-b52561e0da81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: clicks,cost,conversion etc before shopping campaign

2015-02-26 Thread AroxoDev team
Hi 

Sorry for my fair english,

1. how to get clicks and other metrics for products using  search and ' 
display network only ' type of Advertisement  ?

2. is there any other AD type other than ' Product AD' using product link ?


Thanks 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9f312440-05ee-4b7d-be49-da17087a2dca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.OAUTH_TOKEN_INVALID while accessing AdWord API

2015-02-26 Thread Stephen Burrows
For some reason my responses got posted in reverse order... as mentioned 
above, the issue ended up being that I was using the auth code instead of 
first getting an actual access token.

On Thursday, February 26, 2015 at 2:18:32 PM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> To simplify things, have you tried setting the values in your auth.ini 
> 
>  file, 
> and then using the no-args *AdWordsUser* constructor? If that works, then 
> we know that the issue is limited to the values you're passing to the 
> constructor and we can proceed from there.
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, February 26, 2015 at 2:29:11 PM UTC-5, Stephen Burrows wrote:
>>
>> If I hardcode a customer client ID, I get the same error when I finally 
>> try to download the report.
>>
>> On Thursday, January 8, 2015 at 7:18:45 AM UTC-8, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> Could you provide some more details? For example, are you using one of 
>>> the client libraries, or just constructing the OAuth and API requests 
>>> manually? You mentioned that it works after your second attempt -- are you 
>>> referring to your second attempt to get an access token using a refresh 
>>> token, or something else?
>>>
>>> If you have sample requests and responses (with any sensitive 
>>> information removed), please post those as well to help us diagnose the 
>>> problem.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, January 7, 2015 10:26:50 PM UTC-5, Van Sereyboth wrote:

 Hi I keep getting the above error while writing rspec in RoR.

 The first attempt to request is always causing me this mentioned error.
 the second attempt is working so fine without any glitches.

 here is how I get after testing my access_token:

 {

- scope: "https://adwords.google.com/api/adwords/";,
- expires_in: 1827,
- access_type: "offline"

 }

 On Thursday, April 17, 2014 9:48:00 PM UTC+7, Josh Radcliff (AdWords 
 API Team) wrote:
>
> Hi,
>
> The error code AuthenticationError.OAUTH_TOKEN_INVALID indicates that 
> there's an issue with the access token in the *Authorization* header. 
> It usually means the token has expired, which you can confirm via the URL 
> below after appending your *access* (not refresh) token to the end.
>
> https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= 
> 
>
> When you generated the refresh token did you use the 
> GetRefreshToken.java 
> 
>  example 
> and follow the instructions on our wiki 
> 
> ?
>
> Thanks,
> Josh, AdWords API Team
>
>
> On Wednesday, April 16, 2014 7:45:15 AM UTC-4, Sandeep Gupta wrote:
>>
>> HI This is Sandeep here, i am trying to integrate Google Adword API 
>> to utilize it better way, but i am getting below error.
>> faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
>> trigger:'']
>>
>>
>> i have generated CLient ID, Client secret and Refresh token and added 
>> these values in ads.properties.
>>
>> But i am getting error on below steps.
>>
>> Selector selector = builder
>> .fields("Id", "Name")
>> .orderAscBy("Name")
>> .offset(offset)
>> .limit(PAGE_SIZE)
>> .build();
>> CampaignPage page = campaignService.get(selector); // this step is 
>> giving error.
>>
>>
>> ERROR DETAILS ::
>>
>> pr 16, 2014 5:01:15 PM org.apache.axis.utils.JavaUtils 
>> isAttachmentSupported
>> WARNING: Unable to find required classes 
>> (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). 
>> Attachment support is disabled.
>> Exception in thread "main" AxisFault
>>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
>>  faultSubcode: 
>>  faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
>> trigger:'']
>>  faultActor: 
>>  faultNode: 
>>  faultDetail: 
>> {https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:[AuthenticationError.OAUTH_TOKEN_INVALID
>>  
>> @ ; 
>> trigger:'']ApiException>  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="AuthenticationError">AuthenticationError.OAUTH_TOKEN_INVALIDAuthenticationErrorOAUTH_TOKEN_INVALID
>>
>> [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
>> at sun.reflect.

Re: Geolocation for campaign problem

2015-02-26 Thread Josh Radcliff (AdWords API Team)
I just saw that you posted more details on your other post 
. 
Let's continue the discussion there to avoid duplication.

Thanks,
Josh, AdWords API Team

On Thursday, February 26, 2015 at 5:49:43 PM UTC-5, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Justin,
>
> Could you provide some more details on what exactly you are trying to 
> achieve? The previous posts cover a couple of different topics.
>
> In case it's helpful, the GeoLocationService 
> 
>  that 
> Anash mentioned will give you the latitudeInMicroDegrees 
> 
>  and longitudeInMicroDegrees 
> 
>  of 
> a *GeoLocation*, but let me know if you're looking for something else.
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, February 26, 2015 at 12:01:39 PM UTC-5, Justin Coon wrote:
>>
>> Hello,
>>
>> Has there been any updates on this? We are looking to integrate adwords 
>> API geo targeting and Google maps.
>>
>>
>> Thanks
>> Justin
>>
>> On Friday, January 3, 2014 at 10:42:39 AM UTC-6, Aleksander Dębski wrote:
>>>
>>> Hi Anash,
>>>
>>> This still remains a problem for me, since I cannot use criteria ID to 
>>> target a point. I can use geopoint from CampaignCriterionService as I am 
>>> trying to perform, yet I always get 
>>>  CampaignCriterion Object with empy geoPoint, no matter If I add one 
>>> manualy in MCC  panel to campaign or if I do it using API. 
>>>
>>> (
>>> [campaignId] => 161936352
>>> [isNegative] => 
>>> [criterion] => Proximity Object
>>> (
>>> [geoPoint] => 
>>> [radiusDistanceUnits] => 
>>> [radiusInUnits] => 0
>>> [address] => 
>>> [id] => 76230912792
>>> [type] => PROXIMITY
>>> [CriterionType] => Proximity
>>> [_parameterMap:Criterion:private] => Array
>>> (
>>> [Criterion.Type] => CriterionType
>>> )
>>>
>>> Could you know how is that possible? 
>>>
>>>
>>> Best Regards
>>>
>>> Alex
>>>
>>>
>>> W dniu czwartek, 19 grudnia 2013 15:22:01 UTC+1 użytkownik Anash P. 
>>> Oommen (AdWords API Team) napisał:

 Hi Aleksander,

 All the supported API locations are available from 
 https://developers.google.com/adwords/api/docs/appendix/geotargeting. 
 This data is also available from 
 https://developers.google.com/adwords/api/docs/reference/v201309/LocationCriterionService.
  
 However, we do not provide a way to get the enclosing geo points for the 
 target. We provide 
 https://developers.google.com/adwords/api/docs/reference/v201309/GeoLocationService,
  
 but that can only give you a geo point for an address, not the enclosing 
 points for a country or a state. You could ask on the Google Maps forum to 
 see if someone has a way to do this.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Wednesday, December 18, 2013 5:38:52 AM UTC-5, Aleksander Dębski 
 wrote:
>
>   Hello, I`m trying to get my campaign targeting location, yet only 
> thing I can get using GetCampaignTargetingCriteriaExample is Criteria ID 
> like here: 
> https://developers.Google.com/ad-exchange/rtb/geotargeting 
>  
> My goal is to get targeted location and put it on a map, as it is in 
> Google clients account. My question is - how can I get from API 
> geolocation 
> - actual coordinates - or maybe can I use Criteria ID to use in Google 
> maps?
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.

Re: Geolocation for campaign problem

2015-02-26 Thread Josh Radcliff (AdWords API Team)
Hi Justin,

Could you provide some more details on what exactly you are trying to 
achieve? The previous posts cover a couple of different topics.

In case it's helpful, the GeoLocationService 

 that 
Anash mentioned will give you the latitudeInMicroDegrees 

 and longitudeInMicroDegrees 

 of 
a *GeoLocation*, but let me know if you're looking for something else.

Thanks,
Josh, AdWords API Team

On Thursday, February 26, 2015 at 12:01:39 PM UTC-5, Justin Coon wrote:
>
> Hello,
>
> Has there been any updates on this? We are looking to integrate adwords 
> API geo targeting and Google maps.
>
>
> Thanks
> Justin
>
> On Friday, January 3, 2014 at 10:42:39 AM UTC-6, Aleksander Dębski wrote:
>>
>> Hi Anash,
>>
>> This still remains a problem for me, since I cannot use criteria ID to 
>> target a point. I can use geopoint from CampaignCriterionService as I am 
>> trying to perform, yet I always get 
>>  CampaignCriterion Object with empy geoPoint, no matter If I add one 
>> manualy in MCC  panel to campaign or if I do it using API. 
>>
>> (
>> [campaignId] => 161936352
>> [isNegative] => 
>> [criterion] => Proximity Object
>> (
>> [geoPoint] => 
>> [radiusDistanceUnits] => 
>> [radiusInUnits] => 0
>> [address] => 
>> [id] => 76230912792
>> [type] => PROXIMITY
>> [CriterionType] => Proximity
>> [_parameterMap:Criterion:private] => Array
>> (
>> [Criterion.Type] => CriterionType
>> )
>>
>> Could you know how is that possible? 
>>
>>
>> Best Regards
>>
>> Alex
>>
>>
>> W dniu czwartek, 19 grudnia 2013 15:22:01 UTC+1 użytkownik Anash P. 
>> Oommen (AdWords API Team) napisał:
>>>
>>> Hi Aleksander,
>>>
>>> All the supported API locations are available from 
>>> https://developers.google.com/adwords/api/docs/appendix/geotargeting. 
>>> This data is also available from 
>>> https://developers.google.com/adwords/api/docs/reference/v201309/LocationCriterionService.
>>>  
>>> However, we do not provide a way to get the enclosing geo points for the 
>>> target. We provide 
>>> https://developers.google.com/adwords/api/docs/reference/v201309/GeoLocationService,
>>>  
>>> but that can only give you a geo point for an address, not the enclosing 
>>> points for a country or a state. You could ask on the Google Maps forum to 
>>> see if someone has a way to do this.
>>>
>>> Cheers,
>>> Anash P. Oommen,
>>> AdWords API Advisor.
>>>
>>> On Wednesday, December 18, 2013 5:38:52 AM UTC-5, Aleksander Dębski 
>>> wrote:

   Hello, I`m trying to get my campaign targeting location, yet only 
 thing I can get using GetCampaignTargetingCriteriaExample is Criteria ID 
 like here: 
 https://developers.Google.com/ad-exchange/rtb/geotargeting 
  
 My goal is to get targeted location and put it on a map, as it is in 
 Google clients account. My question is - how can I get from API 
 geolocation 
 - actual coordinates - or maybe can I use Criteria ID to use in Google 
 maps?

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/98e723f9-4156-42d4-814f-e0ccd34c85a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to access some authorized clients

2015-02-26 Thread Josh Radcliff (AdWords API Team)
Hi Daniel,

I do not see any AdWords account with customer ID 542-288-9389. Please 
confirm through the AdWords UI (or with your customer) that you have the 
correct customer ID.

Thanks,
Josh, AdWords API Team

On Thursday, February 26, 2015 at 8:40:38 AM UTC-5, d...@adservice.com 
wrote:
>
> We are unable to access some of our clients who authorize us to manage 
> their account using the API, while others work perfectly well.
> We are mostly using the OfflineConversion API, but for testing a specific 
> client we are having troubles with I am executing get_account_hierarchy.pl 
> which returns "No serviced accounts were found.". We do have the required 
> tokens. What does this error mean, and how do we fix it?
> The customerId of the example client we are having challenges with getting 
> to work is 5422889389.
> Our API clientId is 185707205179
>
> Kind regards,
> Daniel
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/019624d0-5d2f-4539-b531-3d06722027d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting "Uncaught SoapFault exception: [soap:Server] [QuotaCheckError.TERMS_AND_CONDITIONS_NOT_SIGNED @ ; trigger:''] "

2015-02-26 Thread Josh Radcliff (AdWords API Team)
Hi,

Please use the contact form that's shown in the Common Errors guide link 

 
I sent in my previous email.

https://services.google.com/fb/forms/apicontact/

That link will get you in touch with the API Compliance Team who can help 
you resolve this issue.

Thanks,
Josh, AdWords API Team

On Wednesday, February 25, 2015 at 7:53:20 PM UTC-5, i+...@timothyklim.com 
wrote:
>
> Hi,
>
> Same error when I'm trying to test API within new *test mcc account*.
>
> >* MCC account* > *Click the Gear Icon* > *Go to Billing* > *Billing 
> preferences* > *Choose form of payment* > 
> *Agree to Terms*I've only "Billing summary" item with redirect to 
> "Account access".
>
> On Wednesday, February 25, 2015 at 4:47:43 PM UTC+3, Josh Radcliff 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> Please see the section on this error in the Common Errors Guide. 
>> 
>>  The 
>> guide includes a link you can use to contact AdWords API Compliance if you 
>> are unable to sign terms & conditions.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Wednesday, February 25, 2015 at 8:41:24 AM UTC-5, soumya...@gmail.com 
>> wrote:
>>>
>>>
>>> When I make request using my application then it gives error " *Uncaught 
>>> SoapFault exception: [soap:Server] 
>>> [QuotaCheckError.TERMS_AND_CONDITIONS_NOT_SIGNED @ ; trigger:''] "*
>>>
>>> Though I am done with billing and payment requirements both on test as 
>>> well as MCC account.
>>> Please help.
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3122b799-be9a-49c8-bf4c-92c331288f48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.OAUTH_TOKEN_INVALID while accessing AdWord API

2015-02-26 Thread Josh Radcliff (AdWords API Team)
Hi,

To simplify things, have you tried setting the values in your auth.ini 

 file, 
and then using the no-args *AdWordsUser* constructor? If that works, then 
we know that the issue is limited to the values you're passing to the 
constructor and we can proceed from there.

Thanks,
Josh, AdWords API Team

On Thursday, February 26, 2015 at 2:29:11 PM UTC-5, Stephen Burrows wrote:
>
> If I hardcode a customer client ID, I get the same error when I finally 
> try to download the report.
>
> On Thursday, January 8, 2015 at 7:18:45 AM UTC-8, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Could you provide some more details? For example, are you using one of 
>> the client libraries, or just constructing the OAuth and API requests 
>> manually? You mentioned that it works after your second attempt -- are you 
>> referring to your second attempt to get an access token using a refresh 
>> token, or something else?
>>
>> If you have sample requests and responses (with any sensitive information 
>> removed), please post those as well to help us diagnose the problem.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 7, 2015 10:26:50 PM UTC-5, Van Sereyboth wrote:
>>>
>>> Hi I keep getting the above error while writing rspec in RoR.
>>>
>>> The first attempt to request is always causing me this mentioned error.
>>> the second attempt is working so fine without any glitches.
>>>
>>> here is how I get after testing my access_token:
>>>
>>> {
>>>
>>>- scope: "https://adwords.google.com/api/adwords/";,
>>>- expires_in: 1827,
>>>- access_type: "offline"
>>>
>>> }
>>>
>>> On Thursday, April 17, 2014 9:48:00 PM UTC+7, Josh Radcliff (AdWords API 
>>> Team) wrote:

 Hi,

 The error code AuthenticationError.OAUTH_TOKEN_INVALID indicates that 
 there's an issue with the access token in the *Authorization* header. 
 It usually means the token has expired, which you can confirm via the URL 
 below after appending your *access* (not refresh) token to the end.

 https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= 
 

 When you generated the refresh token did you use the 
 GetRefreshToken.java 
 
  example 
 and follow the instructions on our wiki 
 
 ?

 Thanks,
 Josh, AdWords API Team


 On Wednesday, April 16, 2014 7:45:15 AM UTC-4, Sandeep Gupta wrote:
>
> HI This is Sandeep here, i am trying to integrate Google Adword API to 
> utilize it better way, but i am getting below error.
> faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
> trigger:'']
>
>
> i have generated CLient ID, Client secret and Refresh token and added 
> these values in ads.properties.
>
> But i am getting error on below steps.
>
> Selector selector = builder
> .fields("Id", "Name")
> .orderAscBy("Name")
> .offset(offset)
> .limit(PAGE_SIZE)
> .build();
> CampaignPage page = campaignService.get(selector); // this step is 
> giving error.
>
>
> ERROR DETAILS ::
>
> pr 16, 2014 5:01:15 PM org.apache.axis.utils.JavaUtils 
> isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler 
> and javax.mail.internet.MimeMultipart). Attachment support is disabled.
> Exception in thread "main" AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
>  faultSubcode: 
>  faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
> trigger:'']
>  faultActor: 
>  faultNode: 
>  faultDetail: 
> {https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:[AuthenticationError.OAUTH_TOKEN_INVALID
>  
> @ ; 
> trigger:'']ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="AuthenticationError">AuthenticationError.OAUTH_TOKEN_INVALIDAuthenticationErrorOAUTH_TOKEN_INVALID
>
> [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at ja

Re: clicks,cost,conversion etc before shopping campaign

2015-02-26 Thread Josh Radcliff (AdWords API Team)
Hi,

Sorry, I don't fully understand your questions. Regarding question #1, how 
could you have an ad for your products if they are not ProductAds? For 
questions #2 and #3, could you provide more details? Were those questions 
meant to be a continuation of question #1?

Thanks,
Josh, AdWords API Team

On Thursday, February 26, 2015 at 12:48:32 AM UTC-5, AroxoDev team wrote:
>
> Hi Josh,
>
> Thanks for your reply 
>
> But I am not asking about shopping campaigns ( because i am using it and i 
> can get reports using API - product base reports too)
>
> My Question is :
>
> 1. How can i get clicks and other fields for products ( products shown in 
> Google Advertisement only - Not all my feed products)  In PLA campaign ,if 
> its NOT a Product AD ?
>
>- because Before shopping campaign introduce by google, i can see 
> my products in other websites ( Adsense) -  
>
> 2. Google Partner site mean ( The website those having Adsense) ?
>
> 3. Google Adsense - only use Product AD ?
>
>
> Thanks 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b623780a-ca56-406b-a5c3-278717501759%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Criteria Performance Report as a 'catch all' report?

2015-02-26 Thread Chris Allan
Hi Guys,

I was wondering if the Criteria Performance Report can be used to pull all 
data from an account. I understand that it will not provide all details, 
such as not providing the keyword match type, but I want to know if it 
should cover *everything* in terms of data e.g. clicks, impressions etc.

Looking across all our accounts, it would appear this way, bar just one 
campaign, in which the data reported via the report is significantly less 
than that displayed in the AdWords UI. It is a Content campaign, with only 
a User List (remarketing list). I cannot see any way of segmenting this 
data that would reduce it to what appears in the Criteria performance 
report.

Any advice is much appreciated.

Cheers,

Chris

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f8e2d22b-7ad0-4c9e-af9d-fd3a166bad10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change CPC bid for Shopping Product Group

2015-02-26 Thread Josh Radcliff (AdWords API Team)
Hi Mahantesh,

Please read through my answer on this post 
 and 
let me know if you still have any questions.

Thanks,
Josh, AdWords API Team

On Tuesday, February 17, 2015 at 7:18:48 AM UTC-5, Mahantesh Patil wrote:
>
> Hello:
>
> I have a shopping campaigns with 2 product groups: Product Group 1, 
> Product Group 2
>
> *I want to change the CPC bid for product group 1, example from $0.50 to 
> $1.00*
>
> I am able to change the default CPC bid for the adgroup using the 
> following snippet.* Appreciate any pointers to adjust this snippet to 
> change CPC bid for product group 1*
>
> // Get the service, which loads the required classes.
>   $adGroupService = $user->GetService('AdGroupService', ADWORDS_VERSION);
>
>   // Create ad group using an existing ID.
>   $adGroup = new AdGroup();
>   $adGroup->id = $adGroupId;
>
>   // Update the bid.
>   $microBidNew = 0.55;
>   $bid = new CpcBid();
>   $bid->bid =  new Money($microBidNew);
>   $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
>   $biddingStrategyConfiguration->bids[] = $bid;
>   $adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration;
>
>   // Create operation.
>   $operation = new AdGroupOperation();
>   $operation->operand = $adGroup;
>   $operation->operator = 'SET';
>
>   $operations = array($operation);
>
> Mahantesh Patil
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/338ae7d0-861c-409e-b260-c2f1ea771d7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API Access to Billing Transaction History reports

2015-02-26 Thread Michael Cloonan (AdWords API Team)
Hello,

The reports page you linked to is the canonical list of all reports 
available in the AdWords API. Anything not listed there is not available 
via the API.

There is currently no way to fetch billing or transaction information from 
the AdWords API.

Regards,
Mike, AdWords API Team

On Thursday, February 26, 2015 at 2:29:05 PM UTC-5, ster...@ledet.com wrote:
>
> I am trying to create a program to download my Google Adwords Billing 
> Transaction History into a database and post that information into my 
> accounting software (Quickbooks).
>
> Does anyone know if it is possible to access the report entitled 
> Transaction History from the API?
>
> I'm talking about the report that you get by going to the gear, choosing 
> Adwords Billing, then choosing Transaction History.
>
> It doesn't seem to be one of the reports available at 
> https://developers.google.com/adwords/api/docs/appendix/reports and I 
> need the actual amounts billed because this is for an accounting 
> application, so close won't cut it. It's not really a performance tracking 
> app. It's an expense accounting app.
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d7e28531-2e48-48ac-bd51-086cbf16d763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Passing GCLID and getting Errors with Ruby Script

2015-02-26 Thread Michael Cloonan (AdWords API Team)
Hello Marlon,

Please note that the Ruby library no longer supports Ruby 1.8. There is a 
chance it may still function, but we won't fix any bugs specific to that 
version.

Could you please include the Ruby source code so I can look at what you're 
doing? If you don't feel comfortable sharing that publicly, you can reply 
to me privately by using the dropdown arrow at the top-right of my post.

Regards,
Mike, AdWords API Team

On Thursday, February 26, 2015 at 2:27:43 PM UTC-5, Marlon Haniff wrote:
>
> We are passing gclid values back to Google but we are getting this type of 
> error:
>
> /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
> `initialize': wrong argument (NilClass)! (Expected kind 
> of OpenSSL::SSL::SSLContext) (TypeError)
>
> from 
> /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
> `new'
>
> from 
> /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
> `original_tlsconnect'
>
> from 
> /home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/core_extensions/smtp.rb:14:in
>  
> `tlsconnect'
>
> from 
> /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:562:in 
> `do_start'
>
> from 
> /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:525:in 
> `start'
>
> from 
> /home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp.rb:112:in
>  
> `deliver!'
>
> from 
> /home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/message.rb:248:in
>  
> `deliver!'
>
> from ./lib/notifier.rb:20:in `error'
>
> from script.rb:33
>
> Starting...
>
> Importing commission from CJ.
>
> .
>
> 0 commissions imported.
>
> Exporting conversions to Adwords.
>
>
> Our database is reporting this:
>
> AdsCommon::Errors::HttpError - HTTP Error occurred: HTTP error (404): 
> No service was found.
>
> Our adwords_api.yml script which we use for passing of the gclid values:  
> https://www.dropbox.com/s/xhmjvka6shmzb5a/Screenshot%202015-02-25%20at%209.32.18%20AM.png?dl=0
>
> I'd appreciate your assistance.
>
> Marlon
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/82840752-0d10-4803-a503-5fc408b09122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.OAUTH_TOKEN_INVALID while accessing AdWord API

2015-02-26 Thread Stephen Burrows
Just tried again with a test account - got the same error.

On Thursday, January 8, 2015 at 7:18:45 AM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> Could you provide some more details? For example, are you using one of the 
> client libraries, or just constructing the OAuth and API requests manually? 
> You mentioned that it works after your second attempt -- are you referring 
> to your second attempt to get an access token using a refresh token, or 
> something else?
>
> If you have sample requests and responses (with any sensitive information 
> removed), please post those as well to help us diagnose the problem.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, January 7, 2015 10:26:50 PM UTC-5, Van Sereyboth wrote:
>>
>> Hi I keep getting the above error while writing rspec in RoR.
>>
>> The first attempt to request is always causing me this mentioned error.
>> the second attempt is working so fine without any glitches.
>>
>> here is how I get after testing my access_token:
>>
>> {
>>
>>- scope: "https://adwords.google.com/api/adwords/";,
>>- expires_in: 1827,
>>- access_type: "offline"
>>
>> }
>>
>> On Thursday, April 17, 2014 9:48:00 PM UTC+7, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi,
>>>
>>> The error code AuthenticationError.OAUTH_TOKEN_INVALID indicates that 
>>> there's an issue with the access token in the *Authorization* header. 
>>> It usually means the token has expired, which you can confirm via the URL 
>>> below after appending your *access* (not refresh) token to the end.
>>>
>>> https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= 
>>> 
>>>
>>> When you generated the refresh token did you use the 
>>> GetRefreshToken.java 
>>> 
>>>  example 
>>> and follow the instructions on our wiki 
>>> 
>>> ?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>>
>>> On Wednesday, April 16, 2014 7:45:15 AM UTC-4, Sandeep Gupta wrote:

 HI This is Sandeep here, i am trying to integrate Google Adword API to 
 utilize it better way, but i am getting below error.
 faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']


 i have generated CLient ID, Client secret and Refresh token and added 
 these values in ads.properties.

 But i am getting error on below steps.

 Selector selector = builder
 .fields("Id", "Name")
 .orderAscBy("Name")
 .offset(offset)
 .limit(PAGE_SIZE)
 .build();
 CampaignPage page = campaignService.get(selector); // this step is 
 giving error.


 ERROR DETAILS ::

 pr 16, 2014 5:01:15 PM org.apache.axis.utils.JavaUtils 
 isAttachmentSupported
 WARNING: Unable to find required classes (javax.activation.DataHandler 
 and javax.mail.internet.MimeMultipart). Attachment support is disabled.
 Exception in thread "main" AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
  faultSubcode: 
  faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']
  faultActor: 
  faultNode: 
  faultDetail: 
 {https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:[AuthenticationError.OAUTH_TOKEN_INVALID
  
 @ ; 
 trigger:'']ApiException>>>  
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
 xsi:type="AuthenticationError">AuthenticationError.OAUTH_TOKEN_INVALIDAuthenticationErrorOAUTH_TOKEN_INVALID

 [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:355)
 at java.lang.Class.newInstance(Class.java:308)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
 at 
 com.google.api.ads.adwords.axis.v201402.cm.ApiException.getDeserializer(ApiException.java:143)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at

Re: AuthenticationError.OAUTH_TOKEN_INVALID while accessing AdWord API

2015-02-26 Thread Stephen Burrows
My issue ended up being that I was using the authorization code as the 
access token. Ugh. For future reference, don't forget this step:

$OAuth2Handler = $user->GetOAuth2Handler();
$user->SetOAuth2Info($OAuth2Handler->GetAccessToken($user->GetOAuth2Info(), 
$_GET['code'], REDIRECT_URI));


On Thursday, January 8, 2015 at 7:18:45 AM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> Could you provide some more details? For example, are you using one of the 
> client libraries, or just constructing the OAuth and API requests manually? 
> You mentioned that it works after your second attempt -- are you referring 
> to your second attempt to get an access token using a refresh token, or 
> something else?
>
> If you have sample requests and responses (with any sensitive information 
> removed), please post those as well to help us diagnose the problem.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, January 7, 2015 10:26:50 PM UTC-5, Van Sereyboth wrote:
>>
>> Hi I keep getting the above error while writing rspec in RoR.
>>
>> The first attempt to request is always causing me this mentioned error.
>> the second attempt is working so fine without any glitches.
>>
>> here is how I get after testing my access_token:
>>
>> {
>>
>>- scope: "https://adwords.google.com/api/adwords/";,
>>- expires_in: 1827,
>>- access_type: "offline"
>>
>> }
>>
>> On Thursday, April 17, 2014 9:48:00 PM UTC+7, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi,
>>>
>>> The error code AuthenticationError.OAUTH_TOKEN_INVALID indicates that 
>>> there's an issue with the access token in the *Authorization* header. 
>>> It usually means the token has expired, which you can confirm via the URL 
>>> below after appending your *access* (not refresh) token to the end.
>>>
>>> https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= 
>>> 
>>>
>>> When you generated the refresh token did you use the 
>>> GetRefreshToken.java 
>>> 
>>>  example 
>>> and follow the instructions on our wiki 
>>> 
>>> ?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>>
>>> On Wednesday, April 16, 2014 7:45:15 AM UTC-4, Sandeep Gupta wrote:

 HI This is Sandeep here, i am trying to integrate Google Adword API to 
 utilize it better way, but i am getting below error.
 faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']


 i have generated CLient ID, Client secret and Refresh token and added 
 these values in ads.properties.

 But i am getting error on below steps.

 Selector selector = builder
 .fields("Id", "Name")
 .orderAscBy("Name")
 .offset(offset)
 .limit(PAGE_SIZE)
 .build();
 CampaignPage page = campaignService.get(selector); // this step is 
 giving error.


 ERROR DETAILS ::

 pr 16, 2014 5:01:15 PM org.apache.axis.utils.JavaUtils 
 isAttachmentSupported
 WARNING: Unable to find required classes (javax.activation.DataHandler 
 and javax.mail.internet.MimeMultipart). Attachment support is disabled.
 Exception in thread "main" AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
  faultSubcode: 
  faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']
  faultActor: 
  faultNode: 
  faultDetail: 
 {https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:[AuthenticationError.OAUTH_TOKEN_INVALID
  
 @ ; 
 trigger:'']ApiException>>>  
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
 xsi:type="AuthenticationError">AuthenticationError.OAUTH_TOKEN_INVALIDAuthenticationErrorOAUTH_TOKEN_INVALID

 [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:355)
 at java.lang.Class.newInstance(Class.java:308)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
 at 
 com.google.api.ads.adwords.axis.v201402.cm.ApiException.getDeserializer(ApiException.java:143)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflec

API Access to Billing Transaction History reports

2015-02-26 Thread sterling
I am trying to create a program to download my Google Adwords Billing 
Transaction History into a database and post that information into my 
accounting software (Quickbooks).

Does anyone know if it is possible to access the report entitled 
Transaction History from the API?

I'm talking about the report that you get by going to the gear, choosing 
Adwords Billing, then choosing Transaction History.

It doesn't seem to be one of the reports available 
at https://developers.google.com/adwords/api/docs/appendix/reports and I 
need the actual amounts billed because this is for an accounting 
application, so close won't cut it. It's not really a performance tracking 
app. It's an expense accounting app.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ff5ba3e9-7418-4349-ad41-05ae892a1898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.OAUTH_TOKEN_INVALID while accessing AdWord API

2015-02-26 Thread Stephen Burrows
If I hardcode a customer client ID, I get the same error when I finally try 
to download the report.

On Thursday, January 8, 2015 at 7:18:45 AM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> Could you provide some more details? For example, are you using one of the 
> client libraries, or just constructing the OAuth and API requests manually? 
> You mentioned that it works after your second attempt -- are you referring 
> to your second attempt to get an access token using a refresh token, or 
> something else?
>
> If you have sample requests and responses (with any sensitive information 
> removed), please post those as well to help us diagnose the problem.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, January 7, 2015 10:26:50 PM UTC-5, Van Sereyboth wrote:
>>
>> Hi I keep getting the above error while writing rspec in RoR.
>>
>> The first attempt to request is always causing me this mentioned error.
>> the second attempt is working so fine without any glitches.
>>
>> here is how I get after testing my access_token:
>>
>> {
>>
>>- scope: "https://adwords.google.com/api/adwords/";,
>>- expires_in: 1827,
>>- access_type: "offline"
>>
>> }
>>
>> On Thursday, April 17, 2014 9:48:00 PM UTC+7, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi,
>>>
>>> The error code AuthenticationError.OAUTH_TOKEN_INVALID indicates that 
>>> there's an issue with the access token in the *Authorization* header. 
>>> It usually means the token has expired, which you can confirm via the URL 
>>> below after appending your *access* (not refresh) token to the end.
>>>
>>> https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= 
>>> 
>>>
>>> When you generated the refresh token did you use the 
>>> GetRefreshToken.java 
>>> 
>>>  example 
>>> and follow the instructions on our wiki 
>>> 
>>> ?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>>
>>> On Wednesday, April 16, 2014 7:45:15 AM UTC-4, Sandeep Gupta wrote:

 HI This is Sandeep here, i am trying to integrate Google Adword API to 
 utilize it better way, but i am getting below error.
 faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']


 i have generated CLient ID, Client secret and Refresh token and added 
 these values in ads.properties.

 But i am getting error on below steps.

 Selector selector = builder
 .fields("Id", "Name")
 .orderAscBy("Name")
 .offset(offset)
 .limit(PAGE_SIZE)
 .build();
 CampaignPage page = campaignService.get(selector); // this step is 
 giving error.


 ERROR DETAILS ::

 pr 16, 2014 5:01:15 PM org.apache.axis.utils.JavaUtils 
 isAttachmentSupported
 WARNING: Unable to find required classes (javax.activation.DataHandler 
 and javax.mail.internet.MimeMultipart). Attachment support is disabled.
 Exception in thread "main" AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
  faultSubcode: 
  faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']
  faultActor: 
  faultNode: 
  faultDetail: 
 {https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:[AuthenticationError.OAUTH_TOKEN_INVALID
  
 @ ; 
 trigger:'']ApiException>>>  
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
 xsi:type="AuthenticationError">AuthenticationError.OAUTH_TOKEN_INVALIDAuthenticationErrorOAUTH_TOKEN_INVALID

 [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:355)
 at java.lang.Class.newInstance(Class.java:308)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
 at 
 com.google.api.ads.adwords.axis.v201402.cm.ApiException.getDeserializer(ApiException.java:143)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.refl

Re: Awql Campaign from AdgroupCriterionService

2015-02-26 Thread Danial Klimkin
Hello Eitan,


Yes, you can select from only one report at a time.


-Danial, AdWords API Team.


On Thursday, February 26, 2015 at 1:31:59 AM UTC-5, Eitan Shay wrote:
>
> Hi Danial,
>
> Does it mean cross-service joins if I join like below:
>
> SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc,  
> UniqueUserCountAsLong, ReachFrequency FROM CAMPAIGN_PERFORMANCE_REPORT 
> JOIN CAMPAIGN_REACH_FREQUENCY_REPORT ON 
> CAMPAIGN_PERFORMANCE_REPORT.Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId
>
> since I got a query error "Report was not downloaded. HTTP Response Code: 
> 400, Type: QueryError.PARSING_FAILED" from this query.
> Can you pls help me to fix it?
>
> Thanks a lot for your kindly help.
> Eitan
>
> On Thursday, June 19, 2014 at 6:10:55 PM UTC+8, Danial Klimkin wrote:
>>
>> Hello Kai,
>>
>>
>> No, cross-service joins are not supported. You need to query multiple 
>> services and join data by IDs. In some cases higher-level object properties 
>> are available, please check the selectors guide for each particular case:
>>
>>   https://developers.google.com/adwords/api/docs/appendix/selectorfields
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Thursday, June 19, 2014 1:33:58 PM UTC+4, Kai steudten wrote:
>>>
>>> Hello,
>>>
>>> im using awql for selecting several keywords over the 
>>> AdgroupCriterionService.
>>>
>>> Now i also want the campaignName in this result. Is it possible to 
>>> select campaignName, adgroupName and keywords over one awql-statement? Dont 
>>> think so or?
>>>
>>>
>>> Regards,
>>> Kai
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a15935b9-a478-4ec8-b207-c40f4cc006e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.OAUTH_TOKEN_INVALID while accessing AdWord API

2015-02-26 Thread Stephen Burrows
I just ran into this error as well. I tried to go to the URL you provided, 
Josh, and got the following error:

{
 "error": "invalid_token",
 "error_description": "Invalid Value"
}


Which is weird since I *just* used that token to generate a refresh token.

Here's my code (essentially):
$oauth2Info = array(
'client_id' => CLIENT_ID,
'client_secret' => CLIENT_SECRET,
'access_token' => $_GET['code'],
);
$user = new AdWordsUser(NULL, DEVELOPER_TOKEN, NULL, USER_AGENT, NULL, 
NULL, $oauth2Info);

$customerService = $user->GetService("CustomerService");
$customer = $customerService->get(); // this line errors
printf("You are logged in as customer: %s\n", $customer->customerId);

$user->LogAll();
$user->setCustomerId($customer->customerId);

$report = ReportUtils::DownloadReportWithAwql("
SELECT *
FROM KEYWORDS_PERFORMANCE_REPORT
DURING LAST_7_DAYS
", CSV_PATH, $user, 'CSV');

I'm currently using my MCC account to test the OAuth2 flow, since that's 
the only account I have access to. Could that be the problem by any chance?

On Thursday, January 8, 2015 at 7:18:45 AM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> Could you provide some more details? For example, are you using one of the 
> client libraries, or just constructing the OAuth and API requests manually? 
> You mentioned that it works after your second attempt -- are you referring 
> to your second attempt to get an access token using a refresh token, or 
> something else?
>
> If you have sample requests and responses (with any sensitive information 
> removed), please post those as well to help us diagnose the problem.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, January 7, 2015 10:26:50 PM UTC-5, Van Sereyboth wrote:
>>
>> Hi I keep getting the above error while writing rspec in RoR.
>>
>> The first attempt to request is always causing me this mentioned error.
>> the second attempt is working so fine without any glitches.
>>
>> here is how I get after testing my access_token:
>>
>> {
>>
>>- scope: "https://adwords.google.com/api/adwords/";,
>>- expires_in: 1827,
>>- access_type: "offline"
>>
>> }
>>
>> On Thursday, April 17, 2014 9:48:00 PM UTC+7, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi,
>>>
>>> The error code AuthenticationError.OAUTH_TOKEN_INVALID indicates that 
>>> there's an issue with the access token in the *Authorization* header. 
>>> It usually means the token has expired, which you can confirm via the URL 
>>> below after appending your *access* (not refresh) token to the end.
>>>
>>> https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= 
>>> 
>>>
>>> When you generated the refresh token did you use the 
>>> GetRefreshToken.java 
>>> 
>>>  example 
>>> and follow the instructions on our wiki 
>>> 
>>> ?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>>
>>> On Wednesday, April 16, 2014 7:45:15 AM UTC-4, Sandeep Gupta wrote:

 HI This is Sandeep here, i am trying to integrate Google Adword API to 
 utilize it better way, but i am getting below error.
 faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']


 i have generated CLient ID, Client secret and Refresh token and added 
 these values in ads.properties.

 But i am getting error on below steps.

 Selector selector = builder
 .fields("Id", "Name")
 .orderAscBy("Name")
 .offset(offset)
 .limit(PAGE_SIZE)
 .build();
 CampaignPage page = campaignService.get(selector); // this step is 
 giving error.


 ERROR DETAILS ::

 pr 16, 2014 5:01:15 PM org.apache.axis.utils.JavaUtils 
 isAttachmentSupported
 WARNING: Unable to find required classes (javax.activation.DataHandler 
 and javax.mail.internet.MimeMultipart). Attachment support is disabled.
 Exception in thread "main" AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
  faultSubcode: 
  faultString: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
 trigger:'']
  faultActor: 
  faultNode: 
  faultDetail: 
 {https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:[AuthenticationError.OAUTH_TOKEN_INVALID
  
 @ ; 
 trigger:'']ApiException>>>  
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
 xsi:type="AuthenticationError">AuthenticationError.OAUTH_TOKEN_INVALIDAuthenticationErrorOAUTH_TOKEN_INVALID

 [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at

Get the bid modifier value from adgroupcriterionservice

2015-02-26 Thread Jamil Beerahee
Hi,
I am trying to get the bidmodifier value from the BiddableAdGroupCriterion, 
I am using the AdGroupCriterionService.
Could you provide me with a short snippet of code to show me how I can view 
the bid modifier of a particular adgroup?

Thanks
Jamil

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b6083166-a156-41bc-8b2d-dc43a09d9b59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Passing GCLID and getting Errors with Ruby Script

2015-02-26 Thread Marlon Haniff
 

We are passing gclid values back to Google but we are getting this type of 
error:

/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
`initialize': wrong argument (NilClass)! (Expected kind 
of OpenSSL::SSL::SSLContext) (TypeError)

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
`new'

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
`original_tlsconnect'

from 
/home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/core_extensions/smtp.rb:14:in
 
`tlsconnect'

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:562:in 
`do_start'

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:525:in 
`start'

from 
/home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp.rb:112:in
 
`deliver!'

from 
/home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/message.rb:248:in
 
`deliver!'

from ./lib/notifier.rb:20:in `error'

from script.rb:33

Starting...

Importing commission from CJ.

.

0 commissions imported.

Exporting conversions to Adwords.


Our database is reporting this:

AdsCommon::Errors::HttpError - HTTP Error occurred: HTTP error (404): 
No service was found.

Our adwords_api.yml script which we use for passing of the gclid values: 
 
https://www.dropbox.com/s/xhmjvka6shmzb5a/Screenshot%202015-02-25%20at%209.32.18%20AM.png?dl=0

I'd appreciate your assistance.

Marlon

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7e62c92c-3743-4549-b632-870085c0e0e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting Conversions from API Campaign Performance Report

2015-02-26 Thread Giuliano Pietoso
Hello!

I've implemented a report that downloads some information from the 
campaigns of my MCC, including the number of conversions. The problem is 
that the number of conversions are never accurate with what is showing in 
the Adwords UI. All other values are ok, but the number of conversions and 
all other metrics that depend on it, are wrong. I've "debugged" my code and 
I've found out thaty the problem is inside the CSV that is directly 
downloaded from the API request. The CSV comes with the missing information 
indeed.

Anyone have this problem? 

# Path and file to download csv report (intermediary step)
path, filename = os.path.split('.')
file = os.path.join(path,'report.csv')

# Initialize appropriate service.
report_downloader = client.GetReportDownloader(version='v201406')

# Create report query. 
report_query = ('SELECT CampaignId, CampaignName, 
AdvertisingChannelType, Labels, '
'Impressions, Clicks, Ctr, Cost, Conversions, 
ConversionRate, Date '
'FROM CAMPAIGN_PERFORMANCE_REPORT '
' '
'DURING '+str(dates)+','+str(dates))

Any insights?

Thank you!


-- 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/10467f7b-ce65-4531-ae97-be21eea8f68a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get reach data(unique impressions) for each campaign

2015-02-26 Thread Michael Cloonan (AdWords API Team)
Hello,

For now, I believe you can still use these reports with API version v201406.

Unfortunately, I cannot comment on release dates or timelines for future 
features.

Regards,
Mike, AdWords API Team

On Thursday, February 26, 2015 at 9:30:16 AM UTC-5, Eitan Shay wrote:
>
> Thanks Michael.
> So for now we cannot get the reach data from AdWords API, is there any 
> other way to get it?
> If not, Could you please tell us the approximate time that this feature 
> will be released?
>
> Best regards,
> Eitan
>
>
> On Thursday, February 26, 2015 at 10:00:58 PM UTC+8, Michael Cloonan 
> (AdWords API Team) wrote:
>>
>> Hello,
>>
>> We are aware of this gap and are working on adding a method for you to 
>> reach this data via reporting. Please watch our blog 
>>  for new feature announcements 
>> to keep up do date.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Thursday, February 26, 2015 at 2:08:12 AM UTC-5, Eitan Shay wrote:
>>>
>>>
>>>  Hi,
>>>
>>> I am trying to get reach data(unique impressions) for each campaign.
>>> From 
>>> https://developers.google.com/adwords/api/docs/guides/structure-reports, 
>>> I can see that I can use JOIN in awql on* CAMPAIGN_PERFORMANCE_REPORT* 
>>> and *CAMPAIGN_REACH_FREQUENCY_REPORT*
>>>
>>> But I got "HTTP Response Code: 400, Type: QueryError.PARSING_FAILED" 
>>> error with the following awql:
>>>
>>> SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc, 
>>> *UniqueUserCountAsLong, 
>>> ReachFrequency* 
>>> FROM *CAMPAIGN_PERFORMANCE_REPORT *
>>> JOIN* CAMPAIGN_REACH_FREQUENCY_REPORT* ON 
>>> CAMPAIGN_PERFORMANCE_REPORT.Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId 
>>> WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK
>>>
>>> Then I found CAMPAIGN_REACH_FREQUENCY_REPORT is not supported in the 
>>> latest version 
>>> since I got error
>>> “HTTP Response Code: 500, FieldPath: selector, Trigger: Enum 
>>> ReportDefinitionReportType does not have a constant corresponding to 
>>> CAMPAIGN_REACH_FREQUENCY_REPORT, Type: ReportInfoError.REPORT_INFO_ERROR
>>> ”
>>> when querying on only CAMPAIGN_REACH_FREQUENCY_REPORT in the following:
>>>
>>> SELECT UniqueUserCountAsLong, ReachFrequency 
>>> FROM *CAMPAIGN_REACH_FREQUENCY_REPORT* 
>>> WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK
>>>
>>> Can anyone please help me solve this?
>>>
>>> Thanks very much!
>>> Eitan
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed9d669a-4b9a-44b4-b0f0-24670a5f805f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Geolocation for campaign problem

2015-02-26 Thread Justin Coon
Hello,

Has there been any updates on this? We are looking to integrate adwords API 
geo targeting and Google maps.


Thanks
Justin

On Friday, January 3, 2014 at 10:42:39 AM UTC-6, Aleksander Dębski wrote:
>
> Hi Anash,
>
> This still remains a problem for me, since I cannot use criteria ID to 
> target a point. I can use geopoint from CampaignCriterionService as I am 
> trying to perform, yet I always get 
>  CampaignCriterion Object with empy geoPoint, no matter If I add one 
> manualy in MCC  panel to campaign or if I do it using API. 
>
> (
> [campaignId] => 161936352
> [isNegative] => 
> [criterion] => Proximity Object
> (
> [geoPoint] => 
> [radiusDistanceUnits] => 
> [radiusInUnits] => 0
> [address] => 
> [id] => 76230912792
> [type] => PROXIMITY
> [CriterionType] => Proximity
> [_parameterMap:Criterion:private] => Array
> (
> [Criterion.Type] => CriterionType
> )
>
> Could you know how is that possible? 
>
>
> Best Regards
>
> Alex
>
>
> W dniu czwartek, 19 grudnia 2013 15:22:01 UTC+1 użytkownik Anash P. Oommen 
> (AdWords API Team) napisał:
>>
>> Hi Aleksander,
>>
>> All the supported API locations are available from 
>> https://developers.google.com/adwords/api/docs/appendix/geotargeting. 
>> This data is also available from 
>> https://developers.google.com/adwords/api/docs/reference/v201309/LocationCriterionService.
>>  
>> However, we do not provide a way to get the enclosing geo points for the 
>> target. We provide 
>> https://developers.google.com/adwords/api/docs/reference/v201309/GeoLocationService,
>>  
>> but that can only give you a geo point for an address, not the enclosing 
>> points for a country or a state. You could ask on the Google Maps forum to 
>> see if someone has a way to do this.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Wednesday, December 18, 2013 5:38:52 AM UTC-5, Aleksander Dębski wrote:
>>>
>>>   Hello, I`m trying to get my campaign targeting location, yet only 
>>> thing I can get using GetCampaignTargetingCriteriaExample is Criteria ID 
>>> like here: 
>>> https://developers.Google.com/ad-exchange/rtb/geotargeting 
>>>  
>>> My goal is to get targeted location and put it on a map, as it is in 
>>> Google clients account. My question is - how can I get from API geolocation 
>>> - actual coordinates - or maybe can I use Criteria ID to use in Google maps?
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c27e73d2-3d24-4e22-9617-4313e5fbbaa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


API Geo targeting, GEO_PERFORMANCE_REPORT, and Google Maps

2015-02-26 Thread Justin Coon
Hello all

We are looking to integrate adwords API geo targeting and reporting with 
Google maps. What we would like to do is

1) Show clients their geotargeting range on a google map
2) Show clients reporting statistics for campaigns, overlaid on a google 
map (something like a heatmap for impressions and clicks, etc)

Does anyone have any experience with this? I am looking at the 
GEO_PERFORMANCE_REPORT and looking for data that would be translatable to 
Google maps, or some data that I can port/convert to google maps...

Thanks!
Justin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6712fc48-3511-4047-bfbf-b71f2b7efe05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get reach data(unique impressions) for each campaign

2015-02-26 Thread Eitan Shay
Thanks Michael.
So for now we cannot get the reach data from AdWords API, is there any 
other way to get it?
If not, Could you please tell us the approximate time that this feature 
will be released?

Best regards,
Eitan


On Thursday, February 26, 2015 at 10:00:58 PM UTC+8, Michael Cloonan 
(AdWords API Team) wrote:
>
> Hello,
>
> We are aware of this gap and are working on adding a method for you to 
> reach this data via reporting. Please watch our blog 
>  for new feature announcements 
> to keep up do date.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, February 26, 2015 at 2:08:12 AM UTC-5, Eitan Shay wrote:
>>
>>
>>  Hi,
>>
>> I am trying to get reach data(unique impressions) for each campaign.
>> From 
>> https://developers.google.com/adwords/api/docs/guides/structure-reports, 
>> I can see that I can use JOIN in awql on* CAMPAIGN_PERFORMANCE_REPORT* 
>> and *CAMPAIGN_REACH_FREQUENCY_REPORT*
>>
>> But I got "HTTP Response Code: 400, Type: QueryError.PARSING_FAILED" 
>> error with the following awql:
>>
>> SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc, 
>> *UniqueUserCountAsLong, 
>> ReachFrequency* 
>> FROM *CAMPAIGN_PERFORMANCE_REPORT *
>> JOIN* CAMPAIGN_REACH_FREQUENCY_REPORT* ON 
>> CAMPAIGN_PERFORMANCE_REPORT.Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId 
>> WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK
>>
>> Then I found CAMPAIGN_REACH_FREQUENCY_REPORT is not supported in the 
>> latest version 
>> since I got error
>> “HTTP Response Code: 500, FieldPath: selector, Trigger: Enum 
>> ReportDefinitionReportType does not have a constant corresponding to 
>> CAMPAIGN_REACH_FREQUENCY_REPORT, Type: ReportInfoError.REPORT_INFO_ERROR”
>> when querying on only CAMPAIGN_REACH_FREQUENCY_REPORT in the following:
>>
>> SELECT UniqueUserCountAsLong, ReachFrequency 
>> FROM *CAMPAIGN_REACH_FREQUENCY_REPORT* 
>> WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK
>>
>> Can anyone please help me solve this?
>>
>> Thanks very much!
>> Eitan
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/38cddf7e-b65b-47ba-83bf-18707ac4d1b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get reach data(unique impressions) for each campaign

2015-02-26 Thread Michael Cloonan (AdWords API Team)
Hello,

We are aware of this gap and are working on adding a method for you to 
reach this data via reporting. Please watch our blog 
 for new feature announcements to 
keep up do date.

Regards,
Mike, AdWords API Team

On Thursday, February 26, 2015 at 2:08:12 AM UTC-5, Eitan Shay wrote:
>
>
>  Hi,
>
> I am trying to get reach data(unique impressions) for each campaign.
> From 
> https://developers.google.com/adwords/api/docs/guides/structure-reports, 
> I can see that I can use JOIN in awql on* CAMPAIGN_PERFORMANCE_REPORT* 
> and *CAMPAIGN_REACH_FREQUENCY_REPORT*
>
> But I got "HTTP Response Code: 400, Type: QueryError.PARSING_FAILED" 
> error with the following awql:
>
> SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc, 
> *UniqueUserCountAsLong, 
> ReachFrequency* 
> FROM *CAMPAIGN_PERFORMANCE_REPORT *
> JOIN* CAMPAIGN_REACH_FREQUENCY_REPORT* ON 
> CAMPAIGN_PERFORMANCE_REPORT.Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId 
> WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK
>
> Then I found CAMPAIGN_REACH_FREQUENCY_REPORT is not supported in the 
> latest version 
> since I got error
> “HTTP Response Code: 500, FieldPath: selector, Trigger: Enum 
> ReportDefinitionReportType does not have a constant corresponding to 
> CAMPAIGN_REACH_FREQUENCY_REPORT, Type: ReportInfoError.REPORT_INFO_ERROR”
> when querying on only CAMPAIGN_REACH_FREQUENCY_REPORT in the following:
>
> SELECT UniqueUserCountAsLong, ReachFrequency 
> FROM *CAMPAIGN_REACH_FREQUENCY_REPORT* 
> WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK
>
> Can anyone please help me solve this?
>
> Thanks very much!
> Eitan
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c635b5c4-e85c-4d86-85ff-0b99a20558de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to access some authorized clients

2015-02-26 Thread do
We are unable to access some of our clients who authorize us to manage 
their account using the API, while others work perfectly well.
We are mostly using the OfflineConversion API, but for testing a specific 
client we are having troubles with I am executing get_account_hierarchy.pl 
which returns "No serviced accounts were found.". We do have the required 
tokens. What does this error mean, and how do we fix it?
The customerId of the example client we are having challenges with getting 
to work is 5422889389.
Our API clientId is 185707205179

Kind regards,
Daniel

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5b23b29f-c737-4b52-8c1f-88aad84a9d8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.