Hi
Can developer token work with any test account?
Developer token (created with a production manager account) and a test account were created using different google ids.
Is the only thing that makes my calls work with a test account is a test customer id?
Trying to understand the required level of authentication
Thanks a lot,
Tal
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/57a5372b-979c-4e0c-9b97-5c14c5f1a403%40googlegroups.com.
You need a developer token to make api calls.For using different accounts, either it should be under the same mcc or you need separate developer tokens
On Tue, May 12, 2020 at 8:05 PM Tal Lipits <tal...@gmail.com> wrote:
--Hi
Can developer token work with any test account?
Developer token (created with a production manager account) and a test account were created using different google ids.
Is the only thing that makes my calls work with a test account is a test customer id?
Trying to understand the required level of authentication
Thanks a lot,
Tal
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/57a5372b-979c-4e0c-9b97-5c14c5f1a403%40googlegroups.com.
--
client = adwords.AdWordsClient.LoadFromStorage(f'{os.getcwd()}/oauth/googleads.yaml')
# Initialize appropriate service.
campaign_service = client.GetService('CampaignService', version='v201809')
# Construct selector and get all campaigns.
offset = 0
selector = {
'fields': ['Id', 'Name', 'Status'],
'paging': {
'startIndex': str(offset),
'numberResults': str(PAGE_SIZE)
}
}
more_pages = True
while more_pages:
page = campaign_service.get(selector) # this line throws the exception
![]() |
Google Ads API Team |