Do Google have any tests emails we can use to check we are calling the API correctly

2017-10-11 Thread 'Mark Jones' via AdWords API Forum
I have successfully created functionality to call the AdWords API to create 
new CRM Based User Lists and add members.

However as I do not have a large amount of Google Connected legitimate emails, 
I am struggling to fully test the functionality.

Do Google have a large amount of test data/emails we can use to check that 
we are calling the API correctly and so that we can see better stats on the 
AdWords account instead of it always saying "less than 100 emails" so we 
can't see any useful data/stats.

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ab3a50be-4153-4011-9b5f-d3b7d5af5000%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONVERSION_PRECEDES_CLICK error while uploading offline conversions

2016-12-23 Thread Mark Jones
Hello,

I was reading your suggestion about associating the timezone of the 
conversion with the same timezone as the account, however, according to the 
docs you pointed out here

https://developers.google.com/adwords/api/docs/guides/conversion-tracking#validation_rules

   - 
   
   The conversionTime must have a timezone ID 
   . The 
   timezone ID can be for any valid timezone: *It does not have to match 
   the account's timezone.*
   
It states that timezones do not have to match?

Can you clarify?

Thanks
Mark


On Monday, September 19, 2016 at 8:42:30 AM UTC-7, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Kevin,
>
> Unfortunately, there is no way to fetch the time-stamp of a google click 
> via the API. However, I can see that the default timezone of the account 
> linked to your email ID is Dublin (GMT +1) whereas the timezone included 
> with the conversions in your SOAP request is GMT. Could you please 
> associate the same timezone with your conversions as that of your account 
> and let me know if you are still facing the same issue?   
> Regards,
> Vishal Vinayak, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/847c0919-0a83-4b80-938f-3129f10d0620%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Uploading Offline Conversions is Very Confusing, especially trying to do it Server Side only.

2015-03-11 Thread Mark Jones
Mike,

I am only trying to clarify when the click gets logged by your servers.  Is 
there any chance that you pass this information back to the client in the 
cookie or possibly as one of the url parameters?  

Thanks for the heads up on the time zone.  So if i am hearing you correctly 
that means i have to know in advance for every adwords account that i am 
tracking gclids clicks their particular time zone?  In other words, if I 
have a production server physically residing in Seattle, WA with time zone 
PST and a user in Dallas, TX performs a Google search and clicks on an 
advertisement where they are physically located in CT time zone, but the 
owner of the adwords account is located in ET timezone, I would need to 
ensure that when the production server located in PST receives the GCLID it 
would add 3 hours to the timestamp for the offline conversion?  Can you 
help me understand this flow better?

If i am hearing you correctly, for each GCLID you generate for a partuclar 
adwords account it doesn't matter which timezone the initial click 
originated from, because when your ad servers receive the request you give 
it a timestamp based on the timezone of where your ad servers physically 
reside, and then perhaps adjust that timestamp at a later point after 
performing lookups to see what timezone the adwords account physically is 
located?

am am making any sense?

Thanks,
Mark

On Wednesday, March 11, 2015 at 6:10:33 AM UTC-7, Michael Cloonan (AdWords 
API Team) wrote:

 Hello Mark,

 The Click Timestamp is the time that the user clicked on the ad. Is there 
 some reason the different timings between the two points you mention would 
 be meaningful? They would each happen one immediately after the other, and 
 both before the conversion would be able to occur.

 Please also note that this time is saved in the time zone of the account 
 it's associated with, so when uploading the conversion, make sure you 
 convert the time to the same time zone as the account's time zone if 
 necessary. This is generally a frequent cause of issues when using offline 
 conversions.

 Regards,
 Mike, AdWords API Team

 On Tuesday, March 10, 2015 at 9:15:37 PM UTC-4, Mark Jones wrote:

 Hello Mike,

 Thanks for the reply.  Shortly after posting my question I did figure out 
 that I needed to create an installed application.

 For my Use Case I am going to be tracking GCLID clicks and uploading 
 offline conversions for a client.  They have a My Client Center Account 
 that contains many Adwords Accounts, approximately 100 Adwords accounts.  
 When users perform google searches and click on the advertisements, the 
 initial click makes a request to the google ad servers which returns 
 javascript in the response that programmatically creates a link and clicks 
 using auto executing functions.  I am sure you know what I'm am talking 
 about.  The GCLID is eventually appended to the end of the url of the 
 destination landing page.  Once the landing page renders, I will be 
 scraping that CGLID and storing it server side until I receive a 
 notification from external processes that the particular CGLID does indeed 
 qualify for an offline conversion.  I will then kick off some server side 
 code that will create the Offline Conversion Feed service and try to upload 
 the offline conversion.

 One of the confusing questions for me is that of the Click Timestamp.  At 
 what point in the request/response life cycle of clicking an advertisement 
 from a google search does the click get tagged with a timestamp?

 Does it happen at www.googleadservices.com server during the point in 
 time when the second response returns the javascript payload that 
 programmatically creates a link and clicks it or does it happened at the 
 final stage when the googleadservices.com server responds with a 
 location header to redirect to the target landing page that has the gclid 
 appended at the end of the url?

 Thanks for your help
 Mark




 On Monday, March 9, 2015 at 6:50:31 AM UTC-7, Michael Cloonan (AdWords 
 API Team) wrote:

 Hello,

 You should use an Installed application rather than a Service account. 
 This will require a one-time user interaction to get a refresh token, and 
 from then on your server application can act autonomously reusing that 
 refresh token. This is the most frequent use case, and the one that most of 
 our examples use.

 Please see our AdWords-specific OAuth guide 
 https://developers.google.com/adwords/api/docs/guides/authentication for 
 instructions on how to set this up.

 Regards,
 Mike, AdWords API Team

 On Friday, March 6, 2015 at 3:57:43 PM UTC-5, Mark Jones wrote:

 Hello https://developers.google.com/adwords/api/community/,

 I am developing a server side application that needs to upload offline 
 conversions.  I am trying to figure out if this is possible using 
 Service account where our production server can make calls to the 
 Google APIs on behalf of my server side application instead

Re: Uploading Offline Conversions is Very Confusing, especially trying to do it Server Side only.

2015-03-11 Thread Mark Jones
Michael,

Thanks for the details - very helpful and much appreciated.

Where can i find the source code and examples for the new release?
http://googleadsdeveloper.blogspot.com/2015/03/announcing-v201502-of-adwords-api.html
https://developers.google.com/adwords/api/docs/reference/v201502/CustomerService.Customer

I checked and only see the previous builds 
here 
https://github.com/googleads/googleads-java-lib/tree/master/examples/adwords_axis/src/main/java/adwords/axis

Also, I was not aware of the CustomerService 
https://developers.google.com/adwords/api/docs/reference/v201502/CustomerService
 service 
and will have to use that because i'm dealing with multiple timezones. 
 Thanks for that tip.  

The client's MCC manager account holds many adwords accounts in different 
timezones and I will be tracking GCLID clicks for each adwords account 
which means I need to know the timezone of each CustomerID.  In order to 
know which GCLID is assigned to a particular adwords account I would need 
to be able to match up the landing page domain with the customer id so when 
i make a call to the CustomerService service I would know which CustomerID 
to perform a lookup against.  Do you happen to have a service that might 
list out the domain names assigned to each adwords account or CustomerID? 
 Does that make sense?

Thanks,
Mark




On Wednesday, March 11, 2015 at 9:25:07 AM UTC-7, Michael Cloonan (AdWords 
API Team) wrote:

 Hello Mark,

 To be honest, I am not *exactly* sure when in the process you outlined 
 that the GCLID is recorded. The best practice for you would be to record 
 the time that your landing page, with the GCLID included, gets visited. 
 That is generally a close enough approximation of the time of the GCLID. 
 Since your conversion will logistically have to happen after that (the user 
 takes some action on the site or converts in some other manner), the 
 conversion time will still be safely after the GCLID's timestamp.

 You can look up the time zone of a customer using the CustomerService 
 https://developers.google.com/adwords/api/docs/reference/v201502/CustomerService.
  
 The Customer object has a dateTimeZone 
 https://developers.google.com/adwords/api/docs/reference/v201502/CustomerService.Customer#dateTimeZone
  
 field which includes this information. All time-based fields that you send 
 to the API will be assumed to be in this timezone unless you specify 
 otherwise. Let's say that your account is set up to use Eastern time. A 
 user clicks an ad at 6:00 Eastern time, and the time of the GCLID is 
 recorded as 6:00. Your servers, in Pacific time, record the page hit at 
 3:00 (due to the 3-hour difference). The user finishes converting by 4:00 
 Pacific time (7:00 Eastern time). When you upload the conversion, if you 
 just say 4:00, you will get a CONVERSION_PRECEDES_CLICK error. You can 
 compensate for this by either converting your times to Eastern (to match 
 the API), or by specifying your time zone when you upload the time.

 Times are uploaded in the format MMdd HHmmss tz, where the tz 
 (time zone) component is optional. If omitted, the account's default time 
 zone is used. You can see a full list of valid time zones on our Timezones 
 https://developers.google.com/adwords/api/docs/appendix/timezones page. 
 This is the format that the tz section of the date format expects.

 This has nothing to do with the location of the ad servers. The AdWords 
 account's physical location is also not a factor; the time zone of the 
 account can be changed to whatever is most convenient for its users. If you 
 reside in the Pacific time zone, then setting your account to Pacific time 
 would be beneficial. If you do business across multiple timezones, then you 
 would need to make sure to take these precautions.

 Regards,
 Mike, AdWords API Team

 On Wednesday, March 11, 2015 at 11:42:29 AM UTC-4, Mark Jones wrote:

 Mike,

 I am only trying to clarify when the click gets logged by your servers. 
  Is there any chance that you pass this information back to the client in 
 the cookie or possibly as one of the url parameters?  

 Thanks for the heads up on the time zone.  So if i am hearing you 
 correctly that means i have to know in advance for every adwords account 
 that i am tracking gclids clicks their particular time zone?  In other 
 words, if I have a production server physically residing in Seattle, WA 
 with time zone PST and a user in Dallas, TX performs a Google search and 
 clicks on an advertisement where they are physically located in CT time 
 zone, but the owner of the adwords account is located in ET timezone, I 
 would need to ensure that when the production server located in PST 
 receives the GCLID it would add 3 hours to the timestamp for the offline 
 conversion?  Can you help me understand this flow better?

 If i am hearing you correctly, for each GCLID you generate for a 
 partuclar adwords account it doesn't matter which timezone the initial 
 click

Re: Uploading Offline Conversions is Very Confusing, especially trying to do it Server Side only.

2015-03-10 Thread Mark Jones
Hello Mike,

Thanks for the reply.  Shortly after posting my question I did figure out 
that I needed to create an installed application.

For my Use Case I am going to be tracking GCLID clicks and uploading 
offline conversions for a client.  They have a My Client Center Account 
that contains many Adwords Accounts, approximately 100 Adwords accounts.  
When users perform google searches and click on the advertisements, the 
initial click makes a request to the google ad servers which returns 
javascript in the response that programmatically creates a link and clicks 
using auto executing functions.  I am sure you know what I'm am talking 
about.  The GCLID is eventually appended to the end of the url of the 
destination landing page.  Once the landing page renders, I will be 
scraping that CGLID and storing it server side until I receive a 
notification from external processes that the particular CGLID does indeed 
qualify for an offline conversion.  I will then kick off some server side 
code that will create the Offline Conversion Feed service and try to upload 
the offline conversion.

One of the confusing questions for me is that of the Click Timestamp.  At 
what point in the request/response life cycle of clicking an advertisement 
from a google search does the click get tagged with a timestamp?

Does it happen at www.googleadservices.com server during the point in time 
when the second response returns the javascript payload that 
programmatically creates a link and clicks it or does it happened at the 
final stage when the googleadservices.com server responds with a location 
header to redirect to the target landing page that has the gclid appended 
at the end of the url?

Thanks for your help
Mark




On Monday, March 9, 2015 at 6:50:31 AM UTC-7, Michael Cloonan (AdWords API 
Team) wrote:

 Hello,

 You should use an Installed application rather than a Service account. 
 This will require a one-time user interaction to get a refresh token, and 
 from then on your server application can act autonomously reusing that 
 refresh token. This is the most frequent use case, and the one that most of 
 our examples use.

 Please see our AdWords-specific OAuth guide 
 https://developers.google.com/adwords/api/docs/guides/authentication for 
 instructions on how to set this up.

 Regards,
 Mike, AdWords API Team

 On Friday, March 6, 2015 at 3:57:43 PM UTC-5, Mark Jones wrote:

 Hello https://developers.google.com/adwords/api/community/,

 I am developing a server side application that needs to upload offline 
 conversions.  I am trying to figure out if this is possible using 
 Service account where our production server can make calls to the Google 
 APIs on behalf of my server side application instead of an end-user.  

 After logging into the Google developers console and navigating to APIs  
 auth -- Credentials, clicking on the Create new Client ID button, we are 
 presented with three options:

 1. Web application - Accessed by web browsers over a network.
 2. Service account - Calls Google APIs on behalf of your application 
 instead of an end-user. 
 3. Installed application - Runs on a desktop computer or handheld device 
 (like Android or iPhone).

 Choosing Web application forces you to create a consent screen, but since 
 I need to do all the work server-side without any user intervention the 
 consent screen option does not seem to be the correct choice.  Seems like a 
 Service account would be the best choice, but those accounts to not create 
 a ClientID, ClientSecret, and RefreshToken.

 All of the code examples point toward Web application where you are 
 required to reference a Client ID, Client Secret, and RefreshToken.

 Can anyone shed some like on this topic?  My goal is to upload offline 
 conversions using Java and performing all the work server side.


 https://developers.google.com/adwords/api/docs/guides/importing-conversions#code_examples

 https://developers.google.com/adwords/api/docs/reference/v201409/OfflineConversionFeedService
 https://developers.google.com/accounts/docs/OAuth2?hl=en_US#serviceaccount
 https://developers.google.com/accounts/docs/OAuth2ServiceAccount



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

Uploading Offline Conversions is Very Confusing, especially trying to do it Server Side only.

2015-03-06 Thread Mark Jones
Hello https://developers.google.com/adwords/api/community/,

I am developing a server side application that needs to upload offline 
conversions.  I am trying to figure out if this is possible using 
Service account where our production server can make calls to the Google 
APIs on behalf of my server side application instead of an end-user.  

After logging into the Google developers console and navigating to APIs  
auth -- Credentials, clicking on the Create new Client ID button, we are 
presented with three options:

1. Web application - Accessed by web browsers over a network.
2. Service account - Calls Google APIs on behalf of your application 
instead of an end-user. 
3. Installed application - Runs on a desktop computer or handheld device 
(like Android or iPhone).

Choosing Web application forces you to create a consent screen, but since I 
need to do all the work server-side without any user intervention the 
consent screen option does not seem to be the correct choice.  Seems like a 
Service account would be the best choice, but those accounts to not create 
a ClientID, ClientSecret, and RefreshToken.

All of the code examples point toward Web application where you are 
required to reference a Client ID, Client Secret, and RefreshToken.

Can anyone shed some like on this topic?  My goal is to upload offline 
conversions using Java and performing all the work server side.

https://developers.google.com/adwords/api/docs/guides/importing-conversions#code_examples
https://developers.google.com/adwords/api/docs/reference/v201409/OfflineConversionFeedService
https://developers.google.com/accounts/docs/OAuth2?hl=en_US#serviceaccount
https://developers.google.com/accounts/docs/OAuth2ServiceAccount

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/57c01cc0-63fa-4818-a7d3-5fec16610841%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


What are the required dependenci​es to upload offline conversion​s with Java, Maven, and GCLID

2015-01-06 Thread Mark Jones


Hello,
For reference to the following links:

*https://github.com/googleads/googleads-java-lib* 
https://github.com/googleads/googleads-java-lib
https://developers.google.com/adwords/api/docs/guides/importing-conversions
 
I am working on a project where customers visit a web site and dial a phone 
number where the conversion is recorded.  After the call is complete, a 
follow-up sales call is made to the customer and if the sale is made I need 
to upload the offline conversion to the adwords account.

The original advertisement will have a GCLID.  

I am trying to figure out the minimal set of maven dependencies in order to 
perform the task. 

Thanks for your help. 

Maven artifacts

 AdWords
dependency
  groupIdcom.google.api-ads/groupId
  artifactIdads-lib/artifactId
  versionRELEASE/version
/dependency
dependency
  groupIdcom.google.api-ads/groupId
  artifactIdadwords-axis/artifactId
  versionRELEASE/version
/dependency

DFA
dependency
  groupIdcom.google.api-ads/groupId
  artifactIdads-lib/artifactId
  versionRELEASE/version
/dependency
dependency
  groupIdcom.google.api-ads/groupId
  artifactIddfa-axis/artifactId
  versionRELEASE/version
/dependency

DFP
dependency
  groupIdcom.google.api-ads/groupId
  artifactIdads-lib/artifactId
  versionRELEASE/version
/dependency
dependency
  groupIdcom.google.api-ads/groupId
  artifactIddfp-axis/artifactId
  versionRELEASE/version
/dependency

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c1e1dc79-efb3-4ce5-a3cc-c180a9bb7f0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.