Authorization Error - NO_CUSTOMER_FOUND

2020-03-02 Thread Manu Puthia
Hi,

I am trying to run the below code to extract campaign information, however, 
I am getting the exception -->   zeep.exceptions.Fault: 
[AuthorizationError.NO_CUSTOMER_FOUND @ ]

I have created the client_id, secret and refresh token multiple times but 
with no luck. 



Note - I have copied the below script from googleads examples for testing.

from googleads import adwords


PAGE_SIZE = 100


def main(client):
  # 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)
# Display results.
if 'entries' in page:
  for campaign in page['entries']:
print('Campaign with id "%s", name "%s", and status "%s" was '
  'found.' % (campaign['id'], campaign['name'],
  campaign['status']))
else:
  print('No campaigns were found.')
offset += PAGE_SIZE
selector['paging']['startIndex'] = str(offset)
more_pages = offset < int(page['totalNumEntries'])


if __name__ == '__main__':
  adwords_client = adwords.AdWordsClient.LoadFromStorage(path='*.yaml')
  main(adwords_client)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/456698a4-ef7f-4257-aa4c-92b492f91f3a%40googlegroups.com.


Geo Performance report taking forever to download.

2018-11-26 Thread &#x27;Manu Reddy' via AdWords API and Google Ads API Forum
Hi ,

The geo performance report is taking forever to download and the adword ui 
says theres an error and please reload in a loop. Can you guys look into it 
?

thanks,
Manu

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads 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/cc8c9b33-2d7e-42e7-bb3d-90f4e0d86603%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Seeing zero impression entities in performance reports when i set include zero impressions to False.

2018-11-21 Thread &#x27;Manu Reddy' via AdWords API and Google Ads API Forum
while downloading performance reports downloads,  i see that some entities 
with zero impressions are downloaded. Is this expected? I checked the api 
and report headers and saw that the headers are being set correctly. Im 
using the python google ads api to download reports.

thanks,
Manu 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads 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/975e4b45-b0a4-42f4-8aa0-6721f191ef43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to connect to the remote server

2018-07-18 Thread Manu Neelakandhan
Hi Jeremy,
Could you please share the findings so that It will be helpful for many. 
I'm also facing the same issue while using google recaptcha API.

Regards,
Manu A N

On Wednesday, 19 February 2014 22:43:50 UTC+5:30, Jeremy K wrote:
>
> This is resolved now by addressing the transparent proxy issues. Thanks 
> for your help Danial
>
> On Friday, February 14, 2014 9:06:42 AM UTC, Jeremy K wrote:
>
>> Hi Danial,
>>  
>> I've now made some progress - it seems that it works when connected to 
>> Wifi, but not when connected through the network.
>>  
>> So the network administrator is looking into this. However, he asked is 
>> there a specific URL that we need to unblock? e.g. something.google.com?
>>  
>> Thank you
>> Jeremy
>>
>> On Thursday, February 13, 2014 9:53:30 AM UTC, Danial Klimkin wrote:
>>
>>> Hi Jeremy,
>>>
>>>
>>> It's not much we can help here with unfortunately, as the issue is your 
>>> local configuration. It is possible ruby picks up some local proxy 
>>> settings, or dot net picks up some "wrong" settings.
>>>
>>> I suggest checking with your network administrator.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Wednesday, February 12, 2014 7:02:57 PM UTC+4, Jeremy K wrote:
>>>>
>>>> Hi Danial,
>>>>
>>>> Thanks for your reply.
>>>>
>>>> I've been told that yes we do use a transparent proxy. I'm not sure 
>>>> what implication that has. Is there a way around it?
>>>>
>>>> I should add that the guy who got your ruby sample working had no 
>>>> problem. And I've checked that his config settings (e.g. Developer 
>>>> Token/Customer Id) are identical to mine. I just find is strange that it 
>>>> works fine in ruby but not .net.
>>>>
>>>> Do you have any other ideas as to what I can do next / what could be 
>>>> causing the problem?
>>>>
>>>> Thanks
>>>> Jeremy
>>>>
>>>> On Tuesday, February 11, 2014 2:50:23 PM UTC, Danial Klimkin wrote:
>>>>
>>>>> Hello Jeremy,
>>>>>
>>>>>
>>>>> Unfortunately we can not advise on the client side setup or network 
>>>>> issues. The error message sounds like a networking issue to me. Do you 
>>>>> happen to use a proxy / transparent proxy?
>>>>>
>>>>>
>>>>> -Danial, AdWords API Team.
>>>>>
>>>>>
>>>>> On Monday, February 10, 2014 6:55:14 PM UTC+4, Jeremy K wrote:
>>>>>>
>>>>>> Hi Danial,
>>>>>>  
>>>>>> As far as I'm aware I can access port 443 for *.google.com
>>>>>>  
>>>>>> I've opened up the windows firewall by adding inbound and outbound 
>>>>>> rules to be completely sure.
>>>>>>  
>>>>>> Is there anything else that I need to do in order to access 443? Or 
>>>>>> do you have any other suggestions as to why its not working?
>>>>>>  
>>>>>> Thanks
>>>>>> Jeremy
>>>>>>
>>>>>> On Monday, February 10, 2014 10:23:13 AM UTC, Danial Klimkin wrote:
>>>>>>
>>>>>>> Hello Jeremy,
>>>>>>>
>>>>>>>
>>>>>>> Please make sure you can access google servers from the box you are 
>>>>>>> running the app on. You'll need https port (443) to be accessible for *.
>>>>>>> google.com.
>>>>>>>
>>>>>>>
>>>>>>> -Danial, AdWords API Team.
>>>>>>>
>>>>>>>
>>>>>>> On Friday, February 7, 2014 4:48:08 PM UTC+4, Jeremy K wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>  
>>>>>>>> Unfortunately I'm getting an error when I try to run GetCampaigns 
>>>>>>>> in the c# .net sample that I downloaded from:
>>>>>>>>  
>>>>>>>>
>>>>>>>> https://github.com/googleads/googleads-adwords-dotnet-lib/releases/tag/v16.6.0
>>>>>>>>  
>>>>>>>> What's frustrating is that a colleague has managed to get this 
>>>>>>>>

Re: QuotaCheckError.INVALID_TOKEN_HEADER. How to check what the issue is?

2016-07-12 Thread Manu
Thank you so much Joyce! I'll do that and get back to you.

On Tuesday, 12 July 2016 16:44:37 UTC+5:30, Joyce Lava wrote:
>
> Hi Manu,
>
> Thanks for the information. INVALID_TOKEN_HEADER 
> <https://developers.google.com/adwords/api/docs/common-errors#QuotaCheckError.INVALID_TOKEN_HEADER>
>  
> error occurs when the developer token is not set on the request or it 
> contains a typo. The cause may also be an incorrect namespace of the 
> header. Looking into your SOAP logs, it seems that you copied the developer 
> token incorrectly. Please use the developer token which is found in the 
> *Account 
> Settings* ->* AdWords API Center *-> *Developer token* and modify the 
> configuration file accordingly.
>
> If the issue persists after double checking the developer token, please 
> *reply 
> privately to author* the SOAP request and response.
>
> Thanks and Regards,
> Joyce, 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/9b1bceab-55a4-483b-b429-8cf8c9c5d994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


QuotaCheckError.INVALID_TOKEN_HEADER. How to check what the issue is?

2016-07-12 Thread Manu


I'm trying to run the get_campaigns.py example code. I created the adwords 
client object using the correct, client_id, client_secret and refresh_token. 
When I run it however I get the traceback ending with

Server raised fault:
[QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:
'6Ji***developer-tokenYg']

When I scroll up the logs I see that HEADERS were logged and they don't 
mention any developerToken that should have been, as per this guide 



URL: https://adwords.google.com/api/adwords/cm/v201605/CampaignService
HEADERS: {'Soapaction': b'""', 'Content-Type': 'text/xml; charset=utf-8', 
'Content-type': 'text/xml; charset=utf-8', 'Authorization': 'Bearer 
ya2***access_token***194f3g', 'SOAPAction': b'""'}
MESSAGE: b'https://adwords.google.com/api/adwords/cm/v201605"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201605"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/";>659-360-13886Ji***developer-tokenYgMYM
 
(AwApi-Python, googleads/4.2.0, 
Python/3.5.1)falsefalseIdNameStatus0100'
 


Also, could you please confirm this: the developer token was granted for 
*i...@mydomain.com 
* while the client_id and client_secret were created 
with *reporting+testacco...@mydomain.com 
* which is a test manager account that 
I created for testing the API. Does this make a difference? Also, the 
developer_token is in *test_account* status now.

Can you please tell me what I am doing wrong? I can PM you my credentials 
and script to try it out at your end. I have been struggling to fix this 
issue for the last 5 days. If this Python lib is not well supported, please 
tell me what is the recommended platform so that I can I'll switch to it. 
Thanks a lot for you 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d58bc40c-948f-45cc-80be-e0220b8802d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CampaignCriterionService returns bidModifier as 0 for the newly created AdSchedules

2015-01-20 Thread Manu Ganji
This is a bug because the bidModifier is supposed to vary from 

0.1 - 10.0: AdSchedule 


And also for newly created schedules, the default bidModifier is 1 as they 
still run at their 100% bid. But if I manually set a bid adjustment of 0, 
it returns 1 for that schedule. From the user guide in 
https://support.google.com/adwords/answer/2404244?hl=en&authuser=2, the 
newly created ads keep running with the old bids till they are changed. The 
hours that are left out of these schedules are equivalent to paused.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6628e4d5-3057-4c0a-b581-3fee2cd9fe60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword search volume

2011-08-05 Thread manu
Hello,

I am new to the google adwords API, I am facing problem with the
search keyword volume. Example I search a keyword "PHP" the API does
not return the search volume for "PHP" keyword . API returns all the
related keywords with correct search volume.

I  have checked the API code "GetRelatedKeywords.php" file but I am
not able to find out the code there to search main keyword .The
complete code is for related keywords only. I am using version
v201008 .

I would be thank full for your kindness.


Thanks & Regards
Mohan Singh

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


google AdWords API integration ...............

2011-03-19 Thread manu
Hello Sir/Mam

I am new to Google Adwords API Plz guide me How can i integrate this
API for related Keywords .

Suppose I search a keyword "PHP"  i want to get all Keywords related
to this keywords with monthly volume and bid on keywords .
How can i do all these things with this API .

Can you please provide me all details on this .
Please main me on

singmoha...@gmail.com

Thanks

Mohan Singh

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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