Offline conversions upload - no changes

322 views
Skip to first unread message

Sam Fonoimoana

unread,
May 7, 2015, 9:50:16 AM5/7/15
to adwords...@googlegroups.com
I am trying to get the offline conversions upload working using the following script:

function main() {
 
// See https://developers.google.com/adwords/scripts/docs/features/bulk-upload
 
// for the list of supported bulk upload templates.
 
var dataUrl = 'https://www.dropbox.com/s/0om9o33kh5b2glz/conversion-import-template-test.csv?dl=1';

 
var blob = UrlFetchApp.fetch(dataUrl)
     
.getBlob()
     
.getAs(MimeType.CSV);
 
 
Logger.log(blob.getDataAsString())
 

 
var upload = AdWordsApp.bulkUploads().newFileUpload(blob,{timeZone: "-0700"});
  upload
.forOfflineConversions();

 
// Use upload.apply() to make changes without previewing.
  upload
.apply();
}

However no changes happen when I do this. I log the csv data and can successfully see it in the logs but no changes happen. I double checked my column names and they looked correct.

What am I missing?

Anthony Madrigal

unread,
May 7, 2015, 11:19:38 AM5/7/15
to adwords...@googlegroups.com
Hello,

Under Bulk Operations (where creating scripts is located), there is an option called Bulk edits. Take a look at that to see if your bulk tasks are appearing,

One other reason for this could be that it takes up to 3 hours for your conversion statistics to appear on your account. More information is located in the Tracking offline conversions guide. 

Please check that this helped and get back to me if you have further questions.

Thanks,
Anthony 
AdWords Scripts Team

Sam Fonoimoana

unread,
May 8, 2015, 8:56:08 AM5/8/15
to Anthony Madrigal via AdWords Scripts Forum, adwords...@googlegroups.com
Hi Anthony,

Thx for you quick reply - still no luck:

Bulk edits - I don't see any entries from my attempt
Waited 3 hours - But still did not see the offline conversion
Bulk uploads  - shows an attempt at around the same time I was testing the script yestereday:

Inline image 1
So I added the following header row:
Parameters:EntityType=OFFLINECONVERSION;TimeZone=-0700;
I still had the same behavior as before (successful but no changes) - I will wait for 3 hours again.

Thx,
Sam

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/ddec3717-cba6-4cf9-964c-66ceaa0383e3%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Anthony Madrigal

unread,
May 8, 2015, 2:00:47 PM5/8/15
to adwords...@googlegroups.com
Hey Sam,

I took a look at your CSV file and noticed the cell E3 does not have a value. Check to see if filling that cell with a value solves your issue.

Regards,
Anthony
AdWords Scripts Team

Sam Fonoimoana

unread,
May 9, 2015, 7:43:30 AM5/9/15
to Anthony Madrigal via AdWords Scripts Forum, adwords...@googlegroups.com
Hi Anthony,

I deleted that column (it says optional in the docs) and ran the script. The problem is still the same though - no changes.

Thx,
Sam

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.

Anash Oommen

unread,
May 11, 2015, 10:16:18 PM5/11/15
to adwords...@googlegroups.com
Hi Sam,

The script and the data looks fine to me, so I'll dig more into this case and try to figure out whether it is an issue at our end. I'll update the thread once I hear from the team.

Cheers,
Anash P. Oommen,
AdWords Scripts Team.


On Saturday, May 9, 2015 at 7:43:30 AM UTC-4, Sam Fonoimoana wrote:
Hi Anthony,

I deleted that column (it says optional in the docs) and ran the script. The problem is still the same though - no changes.

Thx,
Sam
On Fri, May 8, 2015 at 12:00 PM, Anthony Madrigal via AdWords Scripts Forum <adwords-scripts+APn2wQdtTxVvWMRsVzMlxnD3swNWRL2VqveXYzL5LfDTEVD7@googlegroups.com> wrote:
Hey Sam,

I took a look at your CSV file and noticed the cell E3 does not have a value. Check to see if filling that cell with a value solves your issue.

Regards,
Anthony
AdWords Scripts Team

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scripts+unsubscribe@googlegroups.com.

Sam Fonoimoana

unread,
May 12, 2015, 7:47:52 AM5/12/15
to Anash Oommen via AdWords Scripts Forum
Thanks Anash

On Mon, May 11, 2015 at 8:16 PM, Anash Oommen via AdWords Scripts Forum <adwords-scripts+APn2wQc6wTA2UZfR...@googlegroups.com> wrote:
Hi Sam,

The script and the data looks fine to me, so I'll dig more into this case and try to figure out whether it is an issue at our end. I'll update the thread once I hear from the team.

Cheers,
Anash P. Oommen,
AdWords Scripts Team.


On Saturday, May 9, 2015 at 7:43:30 AM UTC-4, Sam Fonoimoana wrote:
Hi Anthony,

I deleted that column (it says optional in the docs) and ran the script. The problem is still the same though - no changes.

Thx,
Sam
On Fri, May 8, 2015 at 12:00 PM, Anthony Madrigal via AdWords Scripts Forum <adwords-scripts+APn2wQdtTxVvWMRs...@googlegroups.com> wrote:
Hey Sam,

I took a look at your CSV file and noticed the cell E3 does not have a value. Check to see if filling that cell with a value solves your issue.

Regards,
Anthony
AdWords Scripts Team

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/b5c6b8b6-deb1-4ce4-99b5-07bcb45f7a6d%40googlegroups.com.

Anash Oommen

unread,
May 14, 2015, 3:12:36 PM5/14/15
to adwords...@googlegroups.com
Hi Sam,

If you use "Parameters:EntityType=OFFLINECONVERSION;TimeZone=HHMM;" in your csv headers, it should work. The code snippet you provided didn't work because we didn't support optional params in newFileUpload method even though our docs said otherwise. We will fix this at our end.

Let me know if you can't get the upload to work with the Parameters header.

Cheers,
Anash


On Tuesday, May 12, 2015 at 7:47:52 AM UTC-4, Sam Fonoimoana wrote:
Thanks Anash

On Mon, May 11, 2015 at 8:16 PM, Anash Oommen via AdWords Scripts Forum <adwords-scripts+APn2wQc6wTA2UZfRTz-I253NcBVTMjPWVKakIuTLJhH3ygDb@googlegroups.com> wrote:
Hi Sam,

The script and the data looks fine to me, so I'll dig more into this case and try to figure out whether it is an issue at our end. I'll update the thread once I hear from the team.

Cheers,
Anash P. Oommen,
AdWords Scripts Team.


On Saturday, May 9, 2015 at 7:43:30 AM UTC-4, Sam Fonoimoana wrote:
Hi Anthony,

I deleted that column (it says optional in the docs) and ran the script. The problem is still the same though - no changes.

Thx,
Sam
On Fri, May 8, 2015 at 12:00 PM, Anthony Madrigal via AdWords Scripts Forum <adwords-scripts+APn2wQdtTxVvWMRsVzMlxnD3swNWRL2VqveXYzL5LfDTEVD7@googlegroups.com> wrote:
Hey Sam,

I took a look at your CSV file and noticed the cell E3 does not have a value. Check to see if filling that cell with a value solves your issue.

Regards,
Anthony
AdWords Scripts Team

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scripts+unsubscribe@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scripts+unsubscribe@googlegroups.com.

Sam Fonoimoana

unread,
May 19, 2015, 8:29:16 AM5/19/15
to Anash Oommen via AdWords Scripts Forum
Hi Anash - I adjusted the csv headers and I still did not see any changes. I also tried a larger set of gclids but still no success.


On Thu, May 14, 2015 at 1:12 PM, Anash Oommen via AdWords Scripts Forum <adwords-scripts+APn2wQc6wTA2UZfR...@googlegroups.com> wrote:
Hi Sam,

If you use "Parameters:EntityType=OFFLINECONVERSION;TimeZone=HHMM;" in your csv headers, it should work. The code snippet you provided didn't work because we didn't support optional params in newFileUpload method even though our docs said otherwise. We will fix this at our end.

Let me know if you can't get the upload to work with the Parameters header.

Cheers,
Anash


On Tuesday, May 12, 2015 at 7:47:52 AM UTC-4, Sam Fonoimoana wrote:
Thanks Anash

On Mon, May 11, 2015 at 8:16 PM, Anash Oommen via AdWords Scripts Forum <adwords-scripts+APn2wQc6wTA2UZfR...@googlegroups.com> wrote:
Hi Sam,

The script and the data looks fine to me, so I'll dig more into this case and try to figure out whether it is an issue at our end. I'll update the thread once I hear from the team.

Cheers,
Anash P. Oommen,
AdWords Scripts Team.


On Saturday, May 9, 2015 at 7:43:30 AM UTC-4, Sam Fonoimoana wrote:
Hi Anthony,

I deleted that column (it says optional in the docs) and ran the script. The problem is still the same though - no changes.

Thx,
Sam
On Fri, May 8, 2015 at 12:00 PM, Anthony Madrigal via AdWords Scripts Forum <adwords-scripts+APn2wQdtTxVvWMRs...@googlegroups.com> wrote:
Hey Sam,

I took a look at your CSV file and noticed the cell E3 does not have a value. Check to see if filling that cell with a value solves your issue.

Regards,
Anthony
AdWords Scripts Team

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/2908d0e9-4561-4557-af48-6fcac285c20f%40googlegroups.com.

Anash Oommen

unread,
May 19, 2015, 9:56:53 AM5/19/15
to adwords...@googlegroups.com
Hi Sam,

I'll take a look at your account. Could you respond privately using the "Reply to Author" option and share your Script name and customer ID?

Cheers,
Anash P. Oommen,
AdWords Scripts Team.

On Tuesday, May 19, 2015 at 8:29:16 AM UTC-4, Sam Fonoimoana wrote:
Hi Anash - I adjusted the csv headers and I still did not see any changes. I also tried a larger set of gclids but still no success.

On Thu, May 14, 2015 at 1:12 PM, Anash Oommen via AdWords Scripts Forum <adwords-scripts+APn2wQc6wTA2UZfRTz-I253NcBVTMjPWVKakIuTLJhH3ygDb@googlegroups.com> wrote:
Hi Sam,

If you use "Parameters:EntityType=OFFLINECONVERSION;TimeZone=HHMM;" in your csv headers, it should work. The code snippet you provided didn't work because we didn't support optional params in newFileUpload method even though our docs said otherwise. We will fix this at our end.

Let me know if you can't get the upload to work with the Parameters header.

Cheers,
Anash


On Tuesday, May 12, 2015 at 7:47:52 AM UTC-4, Sam Fonoimoana wrote:
Thanks Anash

On Mon, May 11, 2015 at 8:16 PM, Anash Oommen via AdWords Scripts Forum <adwords-scripts+APn2wQc6wTA2UZfRTz-I253NcBVTMjPWVKakIuTLJhH3ygDb@googlegroups.com> wrote:
Hi Sam,

The script and the data looks fine to me, so I'll dig more into this case and try to figure out whether it is an issue at our end. I'll update the thread once I hear from the team.

Cheers,
Anash P. Oommen,
AdWords Scripts Team.


On Saturday, May 9, 2015 at 7:43:30 AM UTC-4, Sam Fonoimoana wrote:
Hi Anthony,

I deleted that column (it says optional in the docs) and ran the script. The problem is still the same though - no changes.

Thx,
Sam
On Fri, May 8, 2015 at 12:00 PM, Anthony Madrigal via AdWords Scripts Forum <adwords-scripts+APn2wQdtTxVvWMRsVzMlxnD3swNWRL2VqveXYzL5LfDTEVD7@googlegroups.com> wrote:
Hey Sam,

I took a look at your CSV file and noticed the cell E3 does not have a value. Check to see if filling that cell with a value solves your issue.

Regards,
Anthony
AdWords Scripts Team

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scripts+unsubscribe@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scripts+unsubscribe@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scripts+unsubscribe@googlegroups.com.

Sam Fonoimoana

unread,
May 19, 2015, 4:10:31 PM5/19/15
to Anash Oommen via AdWords Scripts Forum
Anash! 

It seems like I finally got it to work. Here is what I did and how I verified it worked:

What I did:
1) CSV Headers. I used: Parameters:EntityType=OFFLINECONVERSION;TimeZone=-0700;
2) Column Headers. Google Click Id, Conversion Name, Conversion Value, Conversion Time
3) Date Format. MM/dd/yyyy HH:mm:ss
4) upload.apply() I used this instead of upload.preview()

How I verified:
This is strange - I saw nothing in the scripts window that let me know that it completed (still says no changes):

Inline image 1
 
Instead I had to go to Tools > Conversions > Uploads and it showed me this screen:

Inline image 2

Please change it to see this confirmation on the scripts page rather than just over here!

I am just waiting for the final confirmation to see that the offline conversions are there (~ 3 hr wait right?)

But looking good!

Thx,
Sam

Anash
Thanks Anash

To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/ov34zR_h38o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/a6699b60-bdde-4a8a-b55c-b57e62f0a9b0%40googlegroups.com.

Sam Fonoimoana

unread,
May 20, 2015, 7:12:04 AM5/20/15
to Anash Oommen via AdWords Scripts Forum
Ok Anash we are good here! The offline conversions came through yesterday.

Thanks for all of your help!!

Sam
Reply all
Reply to author
Forward
Message has been deleted
0 new messages