Campaign IDs in Google Ads should be treated as 64-bit integers

110 views
Skip to first unread message

Dafna Zusman

unread,
Aug 7, 2019, 8:59:21 AM8/7/19
to AdWords API and Google Ads API Forum
Hi,

When are you going to deploy this change?

am 23

unread,
Aug 7, 2019, 8:59:32 AM8/7/19
to AdWords API and Google Ads API Forum
Pls advise what is Campaign IDs in Google Ads should be treated as 64-bit integers?  any effect on the campaign performance? 

Google Ads API Forum Advisor Prod

unread,
Aug 7, 2019, 1:15:19 PM8/7/19
to dafna....@naturalint.com, adwor...@googlegroups.com
Hello Everyone,

I'll address all the questions in this thread in one go.

The ID changes have already been rolling out as mentioned in our blog post: https://ads-developers.googleblog.com/2019/07/campaign-ids-and-budget-ids-as-64-bit.html

This means that you should already be checking now if everything works for you for 64-bit for IDs such as the campaign IDs. It does not affect performance. Anywhere where you see a reference to campaign ID in the services and reporting would be affected. The good news is that these IDs are already labeled type xsd:long in the AdWords API and INT64 in the Google Ads API. However, we want to make sure that your applications are fully compliant.

Best,
Nadine Sundquist, Google Ads API Team

 

ref:_00D1U1174p._5001UEIDGQ:ref

Google Ads API Forum Advisor Prod

unread,
Aug 7, 2019, 2:44:01 PM8/7/19
to am...@digioo.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. In the AdWords API and Google Ads API, Campaign IDs are 64-bit signed integers and are of type xsd:long in the AdWords API and INT64 in the Google Ads API. This is product level change. Please refer to the blog post for more information related to this change. Also, this change will have no effect on campaign performance. Let us know if you need additional information.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UEIDGa:ref

MF

unread,
Aug 9, 2019, 3:05:51 AM8/9/19
to AdWords API and Google Ads API Forum
Hello,
Thanks in advance for your time.
Im not too familiar with API's., but when you talk about Google API and Google Ads API. Can you give me an example. Can be like I'm using Google Ads with Hubspot

Thanks!

Google Ads API Forum Advisor Prod

unread,
Aug 9, 2019, 9:21:31 AM8/9/19
to subm...@site-seo.net, adwor...@googlegroups.com
Greetings!

Our blog post (https://ads-developers.googleblog.com/2019/07/campaign-ids-and-budget-ids-as-64-bit.html) gives an overview of what is needed from the API side in that it gives you the IDs overall affected by this. Just to summarize from the blog post with what it means to you:

Background:
  • The Google Ads API and AdWords API expose campaign IDs as 64-bit in its types in both reporting and mutates.
  • However, on our back-end, we've historically stayed under 32-bit and now we're moving to the 64-bit range.
You Next Steps: 
  • Verify in your systems and in your applications that wherever you store, pass on, or display the campaign ID that it is the same type as what we show in AdWords API or Google Ads API with a size of 64-bits.
  • Verify anywhere were you may store, pass on, or display the ValueTrack parameter that contains the campaign ID can handle the 64-bit size.
This change has already been rolling out, so you should also check logs to make sure there you aren't seeing errors in your systems if you haven't covered the next steps above.

The key takeaway is that if you store, pass on, or display the campaign ID, budget ID, asset ID, or shared set ID from Google Ads anywhere, then you need to make sure that you are allowing for large numbers up to 64-bit. This change affects all interfaces from the Google Ads UI to our APIs to Google Ads Scripts to Google Ads Editor. This means if Hubspot is using Google Ads, then they need to make sure they can handle 64-bits in the ID. The good news is that we have had this in our documentation for a long time that it should be this size, so people have been coding to that documentation for a long time and remain unaffected by this change.

I hope that helps clear it up a bit.

Take care,
Nadine, Google Ads API Team

ref:_00D1U1174p._5001UEIDGQ:ref
Reply all
Reply to author
Forward
0 new messages