Re: CustomerSerivce getCustomers no such method (migrating 201605 to 201607)

2018-01-02 Thread asaad.awesat via AdWords API Forum
Hi vishal , 

this error not always reprduce , we didn't cathe this excption by debugging 
, it happens for our clients .

Regards,
Asad.




On Thursday, January 5, 2017 at 9:54:22 PM UTC+2, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Raneen,
>
> I tried fetching the customer ID for an account using the following Java 
> code (v201607) and I did not face any issues. 
>
> *CustomerServiceInterface customerService = adWordsServices.get(session, 
> CustomerServiceInterface.class);*
> *Customer[] customers = customerService.getCustomers();*
>
> To be able to debug further, could you please provide me with the SOAP XML 
> request and response logs for the API call?
>
> More details on how CustomerService works in various versions of the API 
> are available in this guide 
> . 
> To fetch the entire account hierarchy in v201607, you can refer to this 
> example 
> 
>  in 
> Java. Same example is available in other client libraries 
>  as well.
>
> Regards,
> Vishal, 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/adc8da3b-b507-4daa-985d-851982615176%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot retrieve Adwords Express Campaign from the API

2018-01-02 Thread 'Peter Oliquino' via AdWords API Forum
Hi Simon,

If you wish to retrieve AdWords Express Campaigns via the AdWords API, 
then, I recommend that you refer to our blog post 

 on 
how to setup the proper filters in order to successfully retrieve the said 
campaigns. As for the "*Your AdWords Express ads can be managed only in 
your AdWords Express account.*" message, modifying or managing the said 
campaigns is currently not supported by the AdWords API and only the 
retrieval of the said entities is supported.

I hope this helps and feel free to write back if you have any further 
concerns.

Best regards,
Peter
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/68bb09bd-fe7c-4783-95a7-389c4b2a1681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: leaning

2018-01-02 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
Hi Sajjd,

Welcome to AdWords API Forum!

May I know exactly your concern in AdWords API so that I can help you? If 
you want to get started on learning the AdWords API, you may visit our 
official guide in this link 
 for reference.

Should you need further information regarding a specific topic related to 
the AdWords API, feel free to write back and I'll be happy to assist you.

Thanks and regards,
Luis
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/cf8ffd4a-2cb7-4a1d-86bf-a56015b1ffdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing data when downloading AdGroup Performance report

2018-01-02 Thread 'Peter Oliquino' via AdWords API Forum
Hi Angie,

In order to better identify if there are indeed discrepancies between the 
AdWords API and AdWords UI reports, could you provide your clientCustomerId 
and the AdWords UI screenshot of the Ad Group level report that you were 
viewing? You may reply to me using the *Reply privately to author* option 
for the details.

Thanks and regards,
Peter
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/d8ab3be6-701f-4e60-80c3-09c4e2e4c5ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Client Deleted error

2018-01-02 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Louis,

The error means that your client ID in the Google API Console Credentials 
page  was deleted 
or is not existing. However, since you confirmed that your OAuth2 client 
exists in the console, then can you provide to me your email address, 
client ID and your clientCustomerId via *Reply privately to author* so I 
can further check?

Thanks,
Vincent
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/ba7ffae5-045f-4c98-bea2-47d5ce34207e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cannot retrieve Adwords Express Campaign from the API

2018-01-02 Thread Simon
Hello, 

As explained in the title, I am currently trying to retrieve informations 
about an Adwords Express campaign from the API but it does not seem to work 
at all. This campaign comes from another Managed Account and I can see on 
the Adwords homepage that I am getting this message: 

"Your AdWords Express ads can be managed only in your AdWords Express 
account."

What does it mean? Does it mean that I cannot retrieve informations (such 
as CPM, CPC, Cost...) from the API with the Manager Account Client Customer 
ID being provided to the Adwords API?

Best regards,

Simon 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aabb559f-030c-4540-a387-f68a41a8c63a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


adwords api problem for help ('cURL error 35: Server aborted the SSL handshake)

2018-01-02 Thread yuqilintest
hi,~ seek for help
I attempt to use adwords api , and configue adsapi_php.ini in home dir, but 
when I execute $ php 
examples/AdWords/v201710/BasicOperations/GetCampaigns.php
error occur:
 Fatal error: Uncaught exception 'GuzzleHttp\Exception\ConnectException' 
with message 'cURL error 35: Server aborted the SSL handshake (see 
http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in 
/Users/yuqilin/Work/google/googleads-php-lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186

I search solutions in google but I still can not solve this problem, who 
can tell me what error happened?

thanks very much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3f6d324f-6b3e-4da1-aa81-a0d6e46e4259%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


leaning

2018-01-02 Thread Sajjd Sain
Hey Guys   am new here and will like to follow  up quickly to know more 
about Adword 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1c7b90eb-7b51-4cbb-937f-0f8be5435afe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: IncomeRange

2018-01-02 Thread Shreya Dama
*My code :*

from googleads import adwords

ADGROUP_ID = 'x'

def main(client, adgroup_id):
  adgroup_criterion_service = client.GetService(
  'AdGroupCriterionService', version='v201710') 

  income = {
  'xsi_type': 'NegativeAdGroupCriterion',
  'adGroupId': adgroup_id,
  'criterion': {
  'xsi_type': 'IncomeRange',
  'incomeRangeType':'INCOME_RANGE_70_80'
  #'id':i
  }}
  
  # Construct operations and add ad group criteria.
  operations = [
  {
  'operator': 'ADD',
  'operand': income
  }
  ]
  ad_group_criteria = adgroup_criterion_service.mutate(
  operations)['value']

  for response in ad_group_criteria['value']:
  print ('campaign criterion with campaign ID %s and ID "%s" '
 'type "%s" was added.' %
 (response['campaignId'],
  response['criterion']['id'],
  response['criterion']['incomeRangeType']))

if __name__ == '__main__':
  adwords_client = adwords.AdWordsClient.LoadFromStorage()

  main(adwords_client, ADGROUP_ID)

*The response i Get is:*

Response summary - {'operations': 1, 'serviceName': 
AdGroupCriterionService, 'faultMessage': '[RequiredError.REQUIRED @ 
operations[0].operand.criterion.id]', 'responseTime': 236, 'requestId': 
000561d7e03503f80a622745910dd0b1, 'methodName': mutate, 'isFault': True}

Traceback (most recent call last):


File "", line 1, in 

runfile('/xxx/income range.py', wdir='/xxx')


File 
"/xxx/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", 
line 866, in runfile

execfile(filename, namespace)


File 
"/xxx/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", 
line 102, in execfile

exec(compile(f.read(), filename, 'exec'), namespace)


File "/xxx/income range.py", line 45, in 

main(adwords_client, ADGROUP_ID)


File "/xxx/income range.py", line 33, in main

operations)['value']


File "/xxx/.local/lib/python3.5/site-packages/googleads/common.py", 
line 767, in MakeSoapRequest

self._packer) for arg in args])


File "/xxx/.local/lib/python3.5/site-packages/suds/client.py", line 
521, in __call__

return client.invoke(args, kwargs)


File "/xxx/.local/lib/python3.5/site-packages/suds/client.py", line 
581, in invoke

result = self.send(soapenv)


File "/xxx/.local/lib/python3.5/site-packages/suds/client.py", line 
619, in send

description=tostr(e), original_soapenv=original_soapenv)


File "/xxx/.local/lib/python3.5/site-packages/suds/client.py", line 
670, in process_reply

raise WebFault(fault, replyroot)


WebFault: Server raised fault: '[RequiredError.REQUIRED @ 
operations[0].operand.criterion.id]'




On Thursday, December 28, 2017 at 1:53:00 PM UTC+5:30, Shreya Dama wrote:
>
> When I use Google Adwords to target IncomeRange, I got an error saying 
> "*criterion 
> ID required*", but there are no constant codes for IncomeRange. Could you 
> please help me with it.
>
> Thanks in advance.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/826fe4b0-c178-4617-9f09-5bd92d361d71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Confirmation to get full day of data

2018-01-02 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
Hi Daniel,

Some statistics that go into your reports may be calculated continuously, 
while others may be calculated once a day. This is one aspect of how data 
freshness works in AdWords. In most cases, your account statistics are 
delayed by less than 3 hours. Also, there are instances that an adjustment 
may occur based on the "Adjustments" section of the data freshness guide. To 
use reporting effectively, see the data freshness 
 documentation for your 
reference.

Thanks and regards,
Luis
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/36cd6f29-c362-494c-9337-602426db36ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: throwing DetailedReportDownloadResponseException with 400 Response code.

2018-01-02 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

In order to better investigate your concern, could you provide your 
*clientCustomerId*, the values of your *startDate* and *endDate*, and 
respond to me privately via the *Reply privately to author* option?

Thanks and regards,
Peter
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/33f9d680-09a8-4b6e-906d-515762748cfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get customer extra info use adwords api in php.

2018-01-02 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

For the information you have mentioned, there is currently no direct way to 
retrieve each item at once. For the account budget, you may use the 
BudgetOrderService.get() 

 and 
select the BudgetOrder.ServingLimit 

 field. 
For the total cost, you may generate the Account Performance Report 

 and 
include the Cost 

 field 
in your SELECT query.

As for the balance and remaining account balance information, I'm afraid 
that these are currently not supported in the AdWords API. I hope this has 
been helpful.

Thanks and regards,
Peter
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/9704ea74-1072-4cfe-9cfc-beca72217d73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API Worked for months now get this error { "error": "invalid_grant", "error_description": "Bad Request" } Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error": "invalid_

2018-01-02 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
Hi Shenderson,

Thanks for your suggestion, I'll try and create a feature request regarding 
this, but we can't guarantee when and whether the feature will be 
implemented soon. For now, you may keep an eye on our blog 

 for 
updates.

Thanks and regards,
Xander
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/58eefcae-695f-4001-8f6e-cb30b422e178%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


throwing DetailedReportDownloadResponseException with 400 Response code.

2018-01-02 Thread raneen.bsais via AdWords API Forum
Hi ,

*we are using the Adwords Api v201702 and we are facing problem  :*
*We are  trying to run this requset by using adwords api.*

List fields = new ArrayList<>();


 fields.add("AdGroupId");
 fields.add("CriteriaType");
 fields.add("Criteria");


 DateRange dateRange = new DateRange();
 dateRange.setMin(startDate);
 dateRange.setMax(endDate);
 
 
 
 Selector selector = new Selector();
 selector.getFields().addAll(fields);
 selector.setDateRange(dateRange);
 
 
 
 ReportDefinition reportDefinition = new ReportDefinition();
 reportDefinition.setReportName("Datorama Report");
 reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.CUSTOM_DATE
);
 reportDefinition.setReportType(ReportDefinitionReportType.
CRITERIA_PERFORMANCE_REPORT);
 reportDefinition.setDownloadFormat(DownloadFormat.GZIPPED_CSV);
 reportDefinition.setSelector(selector);


 // download the report
 ReportDownloader reportDownloader = new ReportDownloader(adWordsSession);
 reportDownloader.setReportDownloadTimeout(HTTP_READ_TIMEOUT);
 ReportDownloadResponse response = reportDownloader.downloadReport(
reportDefinition);




* When we this Requset, sometimes responding with 400 response and 
sometimes running normally **.*
*   This is the response:*
*Stack Trace :*

Caused by: HTTP Response Code: 400
at com.google.api.ads.adwords.lib.utils.v201702.
DetailedReportDownloadResponseException$Builder.build(
DetailedReportDownloadResponseException.java:35)
at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.
handleResponse(AdHocReportDownloadHelperImpl.java:117)
at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.
downloadReport(AdHocReportDownloadHelperImpl.java:60)
at sun.reflect.GeneratedMethodAccessor859.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.api.ads.common.lib.utils.AdsUtilityInvocationHandler.
handleInvocation(AdsUtilityInvocationHandler.java:46)
at com.google.common.reflect.AbstractInvocationHandler.invoke(
AbstractInvocationHandler.java:84)
at com.sun.proxy.$Proxy174.downloadReport(Unknown Source)
at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.
downloadReport(AdHocReportDownloadHelper.java:46)
at com.google.api.ads.adwords.lib.utils.v201702.ReportDownloader.
downloadReport(ReportDownloader.java:65)\


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/115f060e-c7c4-4045-8e38-f71124c2d760%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Some keywords get no results from TargetingIdeaService

2018-01-02 Thread 'Aviv Oron' via AdWords API Forum
Replied privately :) Thanks!

On Thursday, December 28, 2017 at 9:41:40 PM UTC+2, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Aviv, 
>
> I was able to retrieve keyword ideas for these keywords both through the 
> API and the UI. Could you enable logging and provide us the SOAP request 
> and response logs for the discrepancy, so I can take a closer look? Please 
> use *Reply privately to author* option to share the details. 
>
> Regards,
> Bharani, AdWords API Team
>
> On Thursday, December 28, 2017 at 12:32:19 PM UTC-5, Aviv Oron wrote:
>>
>> Hey, 
>>
>> Im trying to get keyword stats data using TargetingIdeaService.
>> For some keywords, the response is empty! (totalNumEntries=0)
>> For example, for the keyword "bullfight" ill get an empty page, and for 
>> keyword "catfight" ill get proper results.
>> Those keywords I'm failing to get results for, DO have data when I'm 
>> querying the web client!
>>
>> This is how i build the selector:
>>
>> selector = {
>> 'searchParameters': [
>> {
>> 'xsi_type': 'RelatedToQuerySearchParameter',
>> 'queries': ['bullfight']
>> },
>> {
>> 'xsi_type': 'NetworkSearchParameter',
>> 'networkSetting': {
>> 'targetGoogleSearch': True,
>> 'targetSearchNetwork': False,
>> 'targetContentNetwork': False,
>> 'targetPartnerSearchNetwork': False
>> }
>> }
>> ],
>> 'ideaType': 'KEYWORD',
>> 'requestType': 'STATS',
>> 'requestedAttributeTypes': [
>> 'COMPETITION', 'AVERAGE_CPC', 'KEYWORD_TEXT', 'SEARCH_VOLUME'
>> ],
>> 'paging': {
>> 'startIndex': '0',
>> 'numberResults': '100'
>> }
>> }
>>
>>
>>
>> Hope someone can help with this issue :)
>> Thanks!
>> Aviv
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/529ab408-26f0-4cc6-930d-40af51080a25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Missing data when downloading AdGroup Performance report

2018-01-02 Thread angie . dinh
So when I download the adgroup performance report from the API, I got fewer 
ad groups than when I download from the interface. Did I do something 
wrong? The code is as follow:

def downloadAdGroupReport(start_date, end_date):

  output = io.StringIO()

  # Initialize appropriate service.

  adwords_client = adwords.AdWordsClient.LoadFromStorage()

  report_downloader = adwords_client.GetReportDownloader(version='v201705')

  # Create report query.

  report_query = ('SELECT AdGroupId, AdGroupName, CampaignName, CpcBid, 
Week, Device, Clicks, AllConversions '

'FROM ADGROUP_PERFORMANCE_REPORT '

#'WHERE AdGroupStatus IN [ENABLED] '

'DURING '+start_date+','+end_date)

  # Write query result to output file

  report_downloader.DownloadReportWithAwql(

  report_query,

  'CSV',

  output,

  client_customer_id='XXX-XXX-’', # denotes which adw account to 
pull from

  skip_report_header=True,

  skip_column_header=False,

  skip_report_summary=True,

  include_zero_impressions=False)


  output.seek(0)

  df = pd.read_csv(output)

  return df

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5d7aa290-191b-4568-a28a-be1b65202607%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ad Group Performance report download missing data

2018-01-02 Thread angie . dinh
So I found that when I download the adgroup performance report in the API, 
it includes fewer ad groups than when I download from the interface. Did I 
do something wrong? 

The code is as follow; I downloaded the report and put it into a pandas 
dataframe:

def downloadAdGroupReport(start_date, end_date):
output = io.StringIO()

# Initialize appropriate service.
adwords_client = adwords.AdWordsClient.LoadFromStorage()

report_downloader = adwords_client.GetReportDownloader(version='v201705')

# Create report query.
report_query = ('SELECT AdGroupId, AdGroupName, CampaignName, CpcBid, Week, 
Device, Clicks, AllConversions '
  'FROM ADGROUP_PERFORMANCE_REPORT '
  #'WHERE AdGroupStatus IN [ENABLED] '
  'DURING '+start_date+','+end_date)

# Write query result to output file
report_downloader.DownloadReportWithAwql(
report_query,
'CSV',
output,
client_customer_id='XXX-XXX-', # denotes which adw account to pull 
from
skip_report_header=True,
skip_column_header=False,
skip_report_summary=True,
include_zero_impressions=False)


output.seek(0)

df = pd.read_csv(output)

return df

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7e6b32cc-6c52-4f10-862e-fc362a0f02f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Confirmation to get full day of data

2018-01-02 Thread Daniel Bieńkowski
Hi,
Im using CAMPAIGN_PERFORMANCE_REPORT in AdWords API and I want to ask, when 
is the best time to get full day of data? Our schedule is set on 4:00AM. Is 
it enough time to prepare full data from the day before?
Is there any way to check if data is correct, so from the full day? What is 
the best practice for that? Download data in the next morning and update 
the previous day also later?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5bccec73-30d0-44fb-89e2-92b117ae59fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get customer extra info use adwords api in php.

2018-01-02 Thread trueniu . adsapi
etc.balance , total cast , account budget , remaining account budget , 

Because I did not find the corresponding method in the example

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/513399c0-d27f-46a9-9872-cc714269567d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Oath2 client was not found

2018-01-02 Thread lijy8023
I use PHP version sdk has meet this problem too
It's because a PHP system function ini_restore() has been disable
Hope can help you

在 2017年12月29日星期五 UTC+8上午1:40:56,orensa...@gmail.com写道:
>
> WARNING:googleads.common:Your default encoding, cp1252, is not UTF-8. 
> Please run
>  this script with UTF-8 encoding to avoid errors.
> DEBUG:suds.transport.http:opening (
> https://adwords.google.com/api/adwords/cm/v20
> 1710/CampaignService?wsdl)
> INFO:oauth2client.client:Refreshing access_token
> INFO:oauth2client.client:Failed to retrieve access token: {
>   "error" : "invalid_client",
>   "error_description" : "The OAuth client was not found."
> }
> Traceback (most recent call last):
>   File "get_campaigns.py", line 74, in 
> main(adwords_client)
>   File "get_campaigns.py", line 56, in main
> page = campaign_service.get(selector)
>   File 
> "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
> googleads\common.py", line 762, in MakeSoapRequest
> self._header_handler.SetHeaders(self.suds_client)
>   File 
> "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
> googleads\adwords.py", line 561, in SetHeaders
> http_headers = self._adwords_client.oauth2_client.CreateHttpHeader()
>   File 
> "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
> googleads\oauth2.py", line 211, in CreateHttpHeader
> self.Refresh()
>   File 
> "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
> googleads\oauth2.py", line 226, in Refresh
> self.proxy_config.disable_certificate_validation)))
>   File 
> "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
> oauth2client\client.py", line 545, in refresh
> self._refresh(http)
>   File 
> "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
> oauth2client\client.py", line 749, in _refresh
> self._do_refresh_request(http)
>   File 
> "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
> oauth2client\client.py", line 819, in _do_refresh_request
> raise HttpAccessTokenRefreshError(error_msg, status=resp.status)
> oauth2client.client.HttpAccessTokenRefreshError: invalid_client: The OAuth 
> clien
> t was not found.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d5a0a5bc-c085-4468-a087-8eed53711f6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't find info in Documentation about Concurrent Request Limit, and Batch operations

2018-01-02 Thread bukaroo
Hello,

I'm afraid you didn't address the main topic of my question. BatchJob 
service is irrelevant for my cause. Therefore - what is the exact limit of 
Concurrent Requests I can make? a number is simply not listed in the docs.

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/21de9314-7f3b-4e2e-8b70-a8f5cdd18a01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DownloadCriteriaReportWithAwql got empty data

2018-01-02 Thread lijy8023
Thank you
Through your answer I can get data now
But I have a new question
now I got data is like below

 Campaign ID,Conversions,Impressions,Clicks,Cost
 990364463,118.00,924953,5185,1643015598
 936797417,1335.00,2679162,16878,12916141088
 953142174,2533.00,1263598,26275,1118543755
 934943696,1650.00,1123871,18876,690802399
 936575915,330.00,6982484,33202,6256734605
 939053186,354.00,407426,2301,1977611328 
 Total,6320.00,13381494,102717,24602848773

how can i get every Campaign ID in every country's cost
like below's data it's my expectation

 Campaign ID,Country Code,Conversions,Impressions,Clicks,Cost
 990364463,US,118.00,924953,5185,1643015598
 990364463,JP,118.00,924953,5185,1643015598
 990364463,KR,118.00,924953,5185,1643015598
 990364463,CN,118.00,924953,5185,1643015598
 936797417,US,1335.00,2679162,16878,12916141088
 936797417,DE,1335.00,2679162,16878,12916141088
 936797417,SG,1335.00,2679162,16878,12916141088
 936797417,CN,1335.00,2679162,16878,12916141088
 936797417,JP,1335.00,2679162,16878,12916141088




在 2017年12月29日星期五 UTC+8上午4:30:33,Milind Sankeshware (AdWords API Team)写道:
>
> Hi Lijy,
>
> As per your report output, it seems all the campaigns with impressions in 
> given date range are UAC 
> 
>  campaigns, 
> which is not supported in Criteria Performance Report. UAC campaigns are 
> supported by few reports only which are listed here 
> 
> .
>
> Let me know if you have further questions.
>
> Thanks,
> Milind, 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/a22287a9-4c6c-4b6f-bc58-9552dc43887a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Client Deleted error

2018-01-02 Thread Label Naturel
Hi, 

I get the same error :

PHP Fatal error:  Uncaught exception 'GuzzleHttp\Exception\ClientException' 
with message 'Client error: `POST 
https://www.googleapis.com/oauth2/v4/token` resulted in a `401 
Unauthorized` response:
{
 "error": "deleted_client",
 "error_description": "The OAuth client was deleted."
}

But when I go to the console the client exists.
How can I do ?

Louis

Le lundi 4 septembre 2017 11:27:50 UTC+2, Vincent Racaza (AdWords API Team) 
a écrit :
>
> Hi Victor,
>
> Could you provide the email address associated to the client ID or is the 
> email address still active? Also, can you confirm if there is no manual 
> deletion of your client ID in the Google API Console Credentials page 
> ? Kindly provide 
> these details via *Reply privately to author* option.
>
> Thanks,
> Vincent
> 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/6f58a908-5a3d-48aa-8219-64bc49d9d092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using temporary ids

2018-01-02 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Flavien, 

Once the operation is completed, the reference to the temporary ids will be 
lost. One option is to map with the campaign name instead of the temporary 
Id. Once you have the campaign created, you can look up the campaign using 
the name and update the actual campaign Id.

Thanks,
Sreelakshmi, 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/b5d5b477-49cf-4bde-bfce-147a570b62fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: From which report and variable we can find the display ad image url by adwords api

2018-01-02 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Ankur,

You can use imageadurl 

 in 
the Ad Performance Report 

 to 
get the url of the image Ad. You will need to prefix 
"https://tpc.googlesyndication.com/pageadimg/imgad?id=; to the value in the 
report in-order to get the complete URL. If this is not what you are 
looking for, could you elaborate?

Thanks,
Sreelakshmi, 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/adfb9123-4632-4ec8-a1ed-44b92578b5a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cant set value for conversion tracker

2018-01-02 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello, 

You will need to set the alwaysUseDefaultRevenueValue 

 to 
true and the defaultRevenueValue to 0.0 to select the 'Don't assign value' 
equivalent in the web interface. If your concern is different, could you 
please elaborate, so I can take a look?

Regards,
Bharani, AdWords API Team

On Thursday, December 28, 2017 at 3:35:08 AM UTC-5, Sergej Vukovic wrote:
>
> I'm having troubles finding a way to set my conversion tracker value to 
> don't assign value.
> Did anybody got this to work ? 
>
>
> 
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9b2b6be-8e9e-4983-86bf-5310894b6626%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Managing third party accounts

2018-01-02 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Anson,

If you are not a user on the other accounts you will not be able to access 
the accounts using your credentials. However, if the client is able to 
authorize you once while setting up their OAuth 
,
 
you can use that authorization code along with your client credentials 
(client id and client secret) to generate the refresh token. You will be 
able to access the client's account using this set of credentials. Please 
check out this 

 guide 
that lists the steps how to do so using Java. Please let me know if you 
have further questions.

Regards,
Dhanya, 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/55ae3050-7042-4cae-a94d-006d5d0a6fea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2018-01-02 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello, 

Thank you for sharing the details. I deleted your previous post because it 
contained sensitive information such as Developer token. You may refer to 
our forum posting guidelines 
 
for 
reference so as to avoid exposing private information in your future posts. 
Also, we strongly recommend that you reset your developer token 
. 

This said, I was able to take a look at the video and it looks fine. To 
investigate the issue further, could you please enable logging and provide 
us the SOAP request and response logs which generated this error? Please 
use *Reply privately to author* option to share the details.

Regards,
Bharani, AdWords API Team

On Friday, December 22, 2017 at 3:47:47 PM UTC-5, 
adwords.mana...@lioncita.com wrote:
>
> Hello there,
>
> I am getting the following error when querying Adwords API:
>
> 
> 
>   
> AuthenticationError.NOT_ADS_USER
> null
> 
>   
> 
>
> I read the troubleshooting part of the documentation, but I am clearly not 
> in the situation that is described in there.
>
> Here is what I did in terms of configuration:
>
>1. I created a Manager Account (adwords.mana...@lioncita.com) to get a 
>developer token.
>2. With that same account, I got from the Google API Console 
>Credentials page, a client id and a client secret.
>3. I created a Manager Test Account (
>adwords.my-test-accoun...@lioncita.com)
>4. From that account, I created a Client Test Account.
>5. I granted myself (leonid.ivanchuk@gmail.com) administrative 
>access to that Client Test Account.
>
> Then, here is how I am trying to query the API:
>
>1. Via OAuth2.0, I authorize my app (identified by the developer 
>token, client id and client secret coming from the Manager Account) to 
>query the Client Test Account on behalf on myself
>2. I do the following query:
>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] DURING 
>LAST_7_DAYS
>3. And I receive the error message described above
>
> For more details, see the sequence of HTTP requests and responses below:
>
>
> My app redirects the user (myself) to the following url:
>
>
>
> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>
>
> After the user grants authorization, my app get the code in the callback.
>
> With that code, my app requests an access token:
>
>
>
> Then, with that access token, my app tries to pull the data:
>
>
>
> I have spent a long time trying to figure out what is happening here.
> Thanks in advance for your help,
>
> Best,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/906bfaae-f8d4-464f-bfa9-0852b8e81003%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AWQL: Possible to use IN operator for matching strings that contains a phrase?

2018-01-02 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Jonas,

You will be able to use CONTAINS or CONTAINS_IGNORE_CASE to return broad 
matches for each value. The closest you may be able to get to, is to 
include all possible search terms in your IN StringSet. Let me know if you 
have further questions.

Regards,
Dhanya, API AdWords 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/2183eefc-b652-43f2-8bff-7e9f653ece5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2018-01-02 Thread adwords . manager
Anyone?

On Thursday, December 28, 2017 at 1:57:40 PM UTC-8, adwords...@lioncita.com 
wrote:
>
> The animated gif mentioned above, uploaded as a static image.
>
> Here is a link to it:
>
> https://drive.google.com/file/d/14g2sF0cccgb2Y2G27sNbhJZ-IP0F0pD4/view
>
> On Thursday, December 28, 2017 at 1:52:13 PM UTC-8, 
> adwords...@lioncita.com wrote:
>>
>> As requested, I generated another refresh/access token in the condition 
>> that you indicated, but got the same result.
>> I have attached a video of it in this post (cf video.gif)
>>
>> My app is:
>>
>>- Client id: 
>>100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com
>>- Developper Token: Y3dHO32GQ3sxjF3AytWWaQ
>>
>> The test client account that my app tries to query is: 779-751-4042
>>
>> The user who has administrative access to this account and authorizes my 
>> app to query Adwords API is: leonid.ivanchuk@gmail.com
>>
>> Thank you for taking the time to look at it.
>>
>> Best,
>>
>> On Thursday, December 28, 2017 at 6:40:49 AM UTC-8, Bharani Cherukuri 
>> (AdWords API Team) wrote:
>>>
>>> Hello, 
>>>
>>> Thank you for providing more details. The NOT_ADS_USER 
>>> 
>>>  error 
>>> is encountered when the OAuth2 credentials used are *not* associated 
>>> with an AdWords account. Can you please generate another refresh/access 
>>> token, and ensure that you retrieve the authorization code from the browser 
>>> link by logging in as a user who has access to the AdWords account? You 
>>> *must* be logged in as a user who has access to the AdWords account 
>>> against which you want to issue the request. 
>>>
>>> If you continue to have an issue with this, could you provide us the 
>>> email address used to generate the access token, so I can take a look?
>>>
>>> Regards,
>>> Bharani, AdWords API Team 
>>>
>>> On Friday, December 22, 2017 at 3:47:47 PM UTC-5, 
>>> adwords...@lioncita.com wrote:

 Hello there,

 I am getting the following error when querying Adwords API:

 
 
   
 AuthenticationError.NOT_ADS_USER
 null
 
   
 

 I read the troubleshooting part of the documentation, but I am clearly 
 not in the situation that is described in there.

 Here is what I did in terms of configuration:

1. I created a Manager Account (adwords...@lioncita.com) to get a 
developer token.
2. With that same account, I got from the Google API Console 
Credentials page, a client id and a client secret.
3. I created a Manager Test Account (adwords.my-t...@lioncita.com)
4. From that account, I created a Client Test Account.
5. I granted myself (leonid.iv...@gmail.com) administrative access 
to that Client Test Account.

 Then, here is how I am trying to query the API:

1. Via OAuth2.0, I authorize my app (identified by the developer 
token, client id and client secret coming from the Manager Account) 
to query the Client Test Account on behalf on myself
2. I do the following query:
SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] 
 DURING 
LAST_7_DAYS
3. And I receive the error message described above

 For more details, see the sequence of HTTP requests and responses below:


 My app redirects the user (myself) to the following url:



 https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent


 After the user grants authorization, my app get the code in the 
 callback.

 With that code, my app requests an access token:



 Then, with that access token, my app tries to pull the data:



 I have spent a long time trying to figure out what is happening here.
 Thanks in advance for your help,

 Best,

>>>

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

Re: CRITERIA_PERFORMANCE_REPORT does not return 'GclId' (error: Type: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT Trigger: GclId Field Path: None)

2018-01-02 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Donatas, 

You could use the CreativeId 

 in 
both the reports to get the GCLID and stats for the specific Ad in the Click 
Performance Report 

 and 
the stats for the Ad from Search Query Performance Report 
.
 
You could also try using CriteriaId 

 in 
the Click Performance Report and KeywordId 

 in 
the Search Query Performance Report to get the stats from two reports for 
the same keyword. 

Thanks,
Sreelakshmi, 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/91fe9a2f-dd2a-49b3-8df8-8cb3f9ccd09a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set date range in Bid Landscapes - Adwords API

2018-01-02 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Yang, 

Ideally, the API results for Bid Landscapes 
 should 
be comparable with the Bid Simulator. Could you also try the bid simulator 
for these criterion and see if the results are comparable? If not, could 
you give some samples in your account (criteria id, AdGroup, Campaign and 
the client customer Id) where you have different Date ranges (10 days ago 
to 3 days ago, shorter range)? Please use *reply privately to author* while 
sharing the details.

The results will always correspond to what you should expect for the given 
days with the modified bids. You could perhaps try the request in such a 
way that the date range will include a few weekdays and weekends which will 
help you compare between these two.

Thanks,
Sreelakshmi, 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/26169f0f-ba59-47ca-93a3-7c250d4906e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Household Income/Demographic Data to Google Sheet

2018-01-02 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Feras,

A correction to my reply above : You will need to run the Criteria 
Performance Report 

 with 
fields CriteriaType 

 and BidModifier 

 in 
order to get the demographic criteria like GENDER, AGE_RANGE or 
INCOME_RANGE and the bid adjustment for each.
Regarding your question about downloading to Google Sheets, you may not be 
able to via AdWords API, but AdWords Scripts may do the trick. Please post 
your query in AdWords Script Forum 
,
 
so that the advisors there may be able to assist you.

Regards,
Dhanya, AdWords API Team

On Thursday, December 28, 2017 at 5:07:31 PM UTC-5, Dhanya Sundararaju 
(AdWords API Team) wrote:
>
> Hi Feras,
>
> You could use the Criteria Performance Report to retrieve bids for 
> specific criteria. The CriteriaType 
> 
>  field 
> can be used to select the specific demographic criteria like GENDER, 
> AGE_RANGE or INCOME_RANGE. However, please note that, you will need to 
> download individual report types for each of these criteria and use the 
> CpcBid 
> 
>  to 
> retrieve the corresponding bids. To change the bids, you could apply bid 
> adjustments to the age/gender criterion types using the AdGroupBidModifier 
> 
>  and 
> set the bidModifier 
> 
>  attribute 
> to apply the adjustment as long as the criterion type is a biddable. This 
>  
> table 
> shows the targeting and bidding options available for different criterion 
> types both at AdGroup level and Campaign level.
>
> Let me know if you have any further questions.
>
> Regards,
> Dhanya, AdWords API Support
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/05ec09a3-2cfa-4ae0-b432-ac9192838052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API Worked for months now get this error { "error": "invalid_grant", "error_description": "Bad Request" } Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error": "invalid_

2018-01-02 Thread shenderson
Hello Luis, yes I figured out the same thing yesterday.

It would sure be nice if the API would be a bit more precise in it's error 
messaging.

A message stating "Your refreshToken has expired, please regenerate a new 
refreshToken and update your script"

That would have saved me hours



On Monday, January 1, 2018 at 10:12:17 PM UTC-6, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Shenderson,
>
> The invalid_grant error normally occurs due to expired refreshToken. To 
> resolve this issue, you may try to regenerate  
> the 
> refreshToken and the OAuth2 credentials 
>  using 
> an email address which currently has access to your AdWords account and 
> then retry the request again. 
>
> Should the issue persist, could you provide which email address you used 
> when you generate your credentials and your clientCustomerId so I can 
> investigate further (for security purposes, kindly *reply privately to 
> author* with your details)?
>
> Thanks and regards,
> Xander
> 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/71b913c2-759b-4db1-96b6-4ad0dcfbea8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using temporary ids

2018-01-02 Thread Flavien Delahaie
Hello,

I want to create campaigns with the API. When creating I want to use 
temporary ids 
(https://developers.google.com/adwords/api/docs/guides/batch-jobs#using_temporary_ids).

I have a question, when we send a temporary id (-1 for example), the 
campaign is created on adwords and an id is assigned to it. How to bind 
this ID to the temporary id that was sent to link in my system?

In my system the campaign is created with the id -1.
I send it to the API
The campaign is create with its definitive id.
I wish to replace the temporary id -1 in my system by the definitive id 
that has been generated by adwords.

Thanks for your 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/b8ffa75d-3d14-40b7-94a2-b669c9228910%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AWQL: Possible to use IN operator for matching strings that contains a phrase?

2018-01-02 Thread Jonas Bolin
Hello guys,

I would like to run a report where which returns all search terms and their 
corresponding cost where the query contains one of the following: 
['football', 'soccer','rugby']

var query = "select Query, Cost from SEARCH_QUERY_PERFORMANCE_REPORT where 
Query IN ['football', 'soccer','rugby'] during 20171201,20171231"

Now the above query returns exact matches, but I would like it to return 
broad matches, where the Query CONTAINS any of the words in the list.

Is this possible in AWQL somehow?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2c2ce783-a6dc-47fe-9bca-b806f28c5032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.