RE: sqlite3 module is required for the SqliteCache error when run in AWS Lambda

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for reaching out. Your concern appears to be a client library
issue. With this said, you can open your concern to the Python GitHub Issue
Tracker  as the
client library owners are better equipped in answering your concerns.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/25/19 04:59:43 y...@pangeare.com wrote:

A Python script used to download google adwords report. Which runs without
any issue locally.
The script is something like:

client = adwords.AdWordsClient.LoadFromStorage('googleads.yaml')
report_downloader = client.GetReportDownloader(version='v201809')

However, when I deploy this in AWS lambda, I got error message:

{
  "errorMessage": "sqlite3 module is required for the SqliteCache",
  "errorType": "RuntimeError",
  "stackTrace": [
[
  "/var/task/lambda_function.py",
  24,
  "lambda_handler",
  "report_downloader = client.GetReportDownloader(version='v201809')"
]


The aws lambda env is python 3.6. Any suggestion?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/81514f7e-8f05-452c-a6f2-614a927b624d%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/08p11g000400ojgilq001k76tkw74mj6dpm6ko30c1g68qjidpm%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: TargetingIdeaService RequestType STATS with Google Ads API

2019-04-24 Thread cv
Hello Sai,

Thanks for the Answer.

I may be not have asked properly.

Under UI there is 2 sections under Keyword Ideas.
One under heading *Keywords you provided *and second* Keyword ideas.*

Is there any method, so that I can get only Keywords you provided section 
using KeywordPlanIdeaService.GenerateKeywordIdeas?


Thanks,



On Thursday, 25 April 2019 00:53:26 UTC+5:30, googleadsapi-forumadvisor 
wrote:
>
> Hello Chirag,
>
> Regarding the KeywordPlanService.GenerateHistoricalMetrics, you have to 
> create a KeywordPla 
> n
>  
> and should have KeywordPlanKeyword 
> 
>  first. 
> You should be able to update the KeywordPlan using the KeywordPlanService
> .MutateKeywordPlans 
> 
> . 
>
> Regarding the KeywordPlanIdeaService.GenerateKeywordIdeas, you don't need 
> to have a keyword plan. Just update the keyword and location information as 
> you used to do with the AdWords API. This is the only service which does 
> not require a Keyword Plan to be created because it provides keyword 
> suggestions to assist with the plan creation. You could refer here 
> 
>  for 
> more information.
>
> Regards,
> Sai Teja, Google Ads API
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/24/19 05:41:32 chirag@gmail.com  wrote:
>
> Also In addition to above question.
>
> I only need to have Ideas that is same as UI like under UI Keywords you 
> provided and Keyword ideas(This I can get 
> using KeywordPlanIdeaService.GenerateKeywordIdeas)
> But Keywords you provided is something I need.
>
> I am using this service to generate some Ideas for keywords, so I need to 
> update the Location and keywords.
>
> For every new Idea/Location I need to have different Keyword Plan?
>
>
> Thanks,
>
>
> On Wednesday, 24 April 2019 13:03:38 UTC+5:30, cv wrote:
>
> Hi Sai,
>
> Thanks for the Answer.
>
> For this service to use I need to Add Keywords Plan first?
>
> This is not required earlier, and If I need to Add Keywords Plan Should I 
> change it to something else? How I can update same once added?
>
>
> Thanks,
>
>
> On Tuesday, 23 April 2019 00:19:49 UTC+5:30, googleadsapi-forumadvisor 
> wrote:
>
> Hello Chirag,
>
> You could refer here 
> 
>  
> to know more about the KeywordPlanService in the Google Ads API. To get the 
> historical metrics you have to use KeywordPlanService.GenerateHis
> toricalMetrics 
> 
>  
> which is equivalent to the RequestType=STATS in the TargetingIdeaService. 
> Please give it a try and let me know if you have any further questions.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 

RE: User list member emails

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Keren,

A single userlist Member can contain multiple email addresses and can
accommodate up to 500,000 addresses in one request. You may refer to this  
sample

code
  
(also

available in other languages) on how you can populate a userlist. I hope
this helps.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 22:53:04 mercadeoprueb...@gmail.com wrote:

Hi,Is there a way to define multiple emails for a single user list member
via API? I couldn't find a way to do it because the Member object contains
one email, but from Adwords UI it's allowed to add multiple email columns
(in the csv file)

El martes, 23 de abril de 2019, 22:37:47 (UTC-5), googleadsapi-forumadvisor
escribió:

Hi,

In the AdWords API, you can update your existing userlists using the
AdwordsUserListService.mutateMembers()
  
method

and pass the removeAll
  
field

first using the REMOVE operator. Afterwards, you can send another request
this time using the ADD operator to upload an updated list of emails
(original list plus the 3 new emails you wish to add). You may note that
one MutateMembersOperand request can contain at maximum, 500,000 emails as
seen in this documentation

.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey


Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 04/24/19 04:21:25 mercadeo...@gmail.com wrote:

One question, can you currently add 3 emails in a row, as in the interface?

El lunes, 5 de febrero de 2018, 17:40:57 (UTC-5), Keren escribió:

Hi,Is there a way to define multiple emails for a single user list member
via API? I couldn't find a way to do it because the Member object contains
one email, but from Adwords UI it's allowed to add multiple email columns
(in the csv file)

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2fb68f69-1c33-4102-86f2-cf3e6b0e5f7f%40googlegroups.com

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

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

RE: Gmail Ads "Preview" via API

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Unfortunately, it is currently not possible to preview Gmail ads via
AdWords API.

You may follow our blog
 for any
upcoming features and updates in AdWords API.

Regards,
Hiroyuki
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/25/19 01:30:43 cvie...@e-goi.com wrote:

Hello,

It's possible to integrate via API the Preview of and Ad from Gmail Ads
into my website? So customers can make the ads there e see it too.

Thanks

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/616616c2-6d88-4447-91d6-0232f9275fbc%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ijlio0up800183r9me002ufnbez70mjidhm6ko30c1g68r30dpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: SystemExit: 2 error

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for reaching out. Upon checking, the error that you are
encountering seems to be related more to the client library. You can reach
out to the python client library owners through this link
 in Github as they
are better equipped to assist you for this matter.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 22:38:54 hunter122...@gmail.com wrote:

Hi!
I'm trying to get keywords usind google ads API (code in the attach) and
get respond below. What can be a reason of error and how to fix it?

Respond:
"runfile('C:/Users/rp/Documents/python_scripts/adsAPI/change_action_content/example.py',
wdir='C:/Users/rp/Documents/python_scripts/adsAPI/change_action_content')
usage: example.py [-h] -c CUSTOMER_ID [-a AD_GROUP_ID]
example.py: error: the following arguments are required: -c/--customer_id
An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

C:\Users\rp\Downloads\WinPython\python-3.6.5.amd64\lib\site-packages\IPython\core\interactiveshell.py:2918:
UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
  warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)"

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/735cb0cb-0723-47e4-9dcb-0e1f2c1beed5%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/18vjq080onob1i002t1e4cw74mj4dho6oo30c1g68r34dpj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: google-ads.yaml file for google ads API

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Dmitry,

Thanks for reaching out.

You may refer to this guide

on how to create your google-ads.yaml file. Here

is a sample template of this. Let me know if you have further
clarifications.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 21:54:37 hunter122...@gmail.com wrote:

Hello!
I made a request to the Google Ads API and got responce "A required field
in the configuration data wasnot found. The required fields are:
('client_id', 'client_secret', 'refresh_token', 'developer_token')".

Could you send me a google-ads.yaml template?
I have googleads.yaml file for Adwords API but it has another structure.

Thanks!

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9de79437-d6a7-49a7-bc60-45226f9a2226%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/18i75380oqinh4001vknc6y64mjidpm6ko30c1g68r36chj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [PHP] Google Ads API - Create AdGroup Ads with : ExpandedTextAdInfo

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Ludovic,

My apologies as your concern will be better addressed by the product team.
With this said, you can open your concern to the Google Ads Community Forum
.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 15:49:08 why...@gmail.com wrote:

Hi, thanks for your response.

But, the documentation don't help me so much.
Because i need to know which characters are allowed or not !

Where can i found that information ?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ef754e2b-e6e6-4d2b-be12-2b45c0fba860%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/18i75380o85h88001vghpsx6kmjgd1o74o30c1g68qjedpo%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: wrong expected behaviour with validate only

2019-04-24 Thread benjamin
I’d say ok for the exception but then I would like to have meaningful errors 
and their index.
If its only related to partial_failure, lets wait for the api to be 
consolidated and less brittle.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5ae11c4c-9cd9-47b9-bfda-f995b3e58aa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: wrong expected behaviour with validate only

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Benjamin,

You mentioned that you expected *validate_only = true* to fail gracefully
if there's an exception. Were you thinking of *partial_failure* instead?
With validate only enabled, the API is expected to throw an exception if
any of the operations have an error. The behavior you described is more in
line with enabling partial failure, where the API applies successful
operations, but then reports errors for individual operations that failed
in the response. Please note, however, that ExtensionFeedItemService.mutate

does not currently support partial failure.

All that being said, the error ERROR_CODE_NOT_PUBLISHED message is
definitely something we need to look at. I've reported that to the feeds
team for follow-up and will let you know when I hear back from them.

Thanks,
Josh, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 03:57:22 benja...@effilab-local.com wrote:

In the company I am working, we sync millions of entities, and sometimes
errors happen, so it may happen we send twice a request to remove something
for instance.

Using validate_only I would expect the request to fail gracefully: tell me
which operations are valid, which are invalid and why. That way I can
filter them out and decide what to do with errored cases.

In the current setup:
- it fails with an exception
- there is no indication of which operation was wrong


On Wednesday, April 24, 2019 at 8:37:50 AM UTC+2, googleadsapi-forumadvisor
wrote:

Hi Benjamin,

Thank you for reaching out. Could you further elaborate what you wish to
achieve with the validateOnly header in your requests? You can test using
production data in a read-only fashion on your production accounts if you
use the validateOnlyheader in your requests, and you have an approved
developer token.

Upon checking your logs, the errors that you encountered were expected. For
your first concern, you have to indicate a valid resource name in your
ExtensionFeedItem. It appears that the feed item id provided does not
exist. You can use the ExtensionFeedItemService.GetExtensionFeedItem

to get the list of ExtensionFeedItems. As for your second concern, you
cannot operate on deleted items, hence the error you are encountering.
Kindly use an active sitelinkFeedItem instead.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey


Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 04/24/19 05:00:27 benj...@effilab-local.com wrote:

another example if I try to delete an already deleted feed item:

W, [2019-04-23T22:59:27.857363 #625]  WARN -- : CID: 1342647521, Host:
googleads.googleapis.com:443, Method: /google.ads.googleads.v1.services.
ExtensionFeedItemService/MutateExtensionFeedItems, IsFault: yes
I, [2019-04-23T22:59:27.859201 #625]  INFO -- : Outgoing request: Headers:
{"x-goog-api-client":"gl-ruby/2.5.1 gapic/1.1.1 gax/1.5.0
grpc/1.19.0","developer-token":"SANITIZED","login-customer-id":"SANITIZED"}
Payload: {"customerId":"SANITIZED","operations":[{"remove":"
customers/1342647521/extensionFeedItems/69260980063"},{"create":{"
sitelinkFeedItem":{"linkText":"Link text 3","line1":"desc_line1-3","
line2":"desc_line2-3","finalUrls":["http://www.effilab.com/link/path/3
"]}}}],"validateOnly":true}
I, [2019-04-23T22:59:27.860736 #625]  INFO -- : Incoming response (errors):
Error 1:  
{"errorCode":{"internalError":"ERROR_CODE_NOT_PUBLISHED"},"message":"The

appropriate error code isn't part of the API yet.","trigger":{"stringValue"
:""},"location":{"fieldPathElements":[{"fieldName":"operations","
index":},{"fieldName":"remove"}]},"details":{"unpublishedErrorCode":"
ExtensionFeedItemError.CANNOT_OPERATE_ON_DELETED_FEED_ITEM"}}


On Tuesday, April 23, 2019 at 10:57:01 PM UTC+2, benj...@effilab-local.com
wrote:

I am using google ads and I checked how the api is behaving with wrong
data: there can be sync issues and its super 

RE: DatabaseError.CONCURRENT_MODIFICATION

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Aishwarya,

I have sent the below response to you email privately, If you have any
further questions please let me know.

   - The sizeRange


   field must be related to the display, you could verify it by matching  
with

   the UI where the number of targetable users for the audience over the
   targeting networks is displayed.

   - If it not possible to repot the audience screen via API. But you can
   get most of the information by fetching the UserList



   via API with the AdWordsUserListService



   .

   - You could use the status



   field to either OPEN(can be targeting and accumulate audiences) or
   CLOSE(cannot be targeted and no new members being added) to the userlist.
   Also, can keep the membershipLifeSpan



   to zero.

   - Once the audience list is removed it is not possible to use it again
   and it cannot be removed from removed list as well. You have to upload  
them

   again.

Regards,
Sai Teja, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0l41800o23rm000gqqrmy6smj8chp6ko30c1g68qjic1i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Missing performance data in asset data types

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Gavin,

These fields are not yet supported through the API. I have raised a feature
request to the team. Please keep an eye on our blog
 for
more updates.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ijlio2o4ro00gksi94000e9srqz70mj6c1m6so30c1g68qjid9m%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


SystemExit: 2 error

2019-04-24 Thread Dmitry Shvetsov
Hi!
I'm trying to get keywords usind google ads API (code in the attach) and 
get respond below. What can be a reason of error and how to fix it?

Respond:
"runfile('C:/Users/rp/Documents/python_scripts/adsAPI/change_action_content/example.py',
 
wdir='C:/Users/rp/Documents/python_scripts/adsAPI/change_action_content')
usage: example.py [-h] -c CUSTOMER_ID [-a AD_GROUP_ID]
example.py: error: the following arguments are required: -c/--customer_id
An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

C:\Users\rp\Downloads\WinPython\python-3.6.5.amd64\lib\site-packages\IPython\core\interactiveshell.py:2918:
 
UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
  warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/735cb0cb-0723-47e4-9dcb-0e1f2c1beed5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
from __future__ import absolute_import

import argparse
import six
import sys

import google.ads.google_ads.client


_DEFAULT_PAGE_SIZE = 1000


def main(client, customer_id, page_size, ad_group_id=None):
ga_service = client.get_service('GoogleAdsService', version='v1')

query = ('SELECT ad_group.id, ad_group_criterion.type, '
 'ad_group_criterion.criterion_id, '
 'ad_group_criterion.keyword.text, '
 'ad_group_criterion.keyword.match_type FROM ad_group_criterion '
 'WHERE ad_group_criterion.type = KEYWORD')

if ad_group_id:
query = '%s AND ad_group.id = %s' % (query, ad_group_id)

results = ga_service.search(customer_id, query=query, page_size=page_size)

try:
for row in results:
ad_group = row.ad_group
ad_group_criterion = row.ad_group_criterion
keyword = row.ad_group_criterion.keyword

print('Keyword with text "%s", match type %s, criteria type %s, '
  'and ID %s was found in ad group with ID %s.'
  % (keyword.text.value, keyword.match_type,
 ad_group_criterion.type,
 ad_group_criterion.criterion_id.value, ad_group.id.value))
except google.ads.google_ads.errors.GoogleAdsException as ex:
print('Request with ID "%s" failed with status "%s" and includes the '
  'following errors:' % (ex.request_id, ex.error.code().name))
for error in ex.failure.errors:
print('\tError with message "%s".' % error.message)
if error.location:
for field_path_element in error.location.field_path_elements:
print('\t\tOn field: %s' % field_path_element.field_name)
sys.exit(1)


if __name__ == '__main__':
# GoogleAdsClient will read the google-ads.yaml configuration file in the
# home directory if none is specified.
google_ads_client = (google.ads.google_ads.client.GoogleAdsClient
 .load_from_storage())

parser = argparse.ArgumentParser(
description=('Retrieves keywords for the specified customer, or '
 'optionally for a specific ad group.'))
# The following argument(s) should be provided to run the example.
parser.add_argument('-c', '--customer_id', type=six.text_type,
required=True, help='The Google Ads customer ID.')
parser.add_argument('-a', '--ad_group_id', type=six.text_type,
required=False, help='The ad group ID.')
args = parser.parse_args()

main(google_ads_client, args.customer_id, _DEFAULT_PAGE_SIZE,
 ad_group_id=args.ad_group_id)

Retrieve percents fields as decimal from Google Ads report tables

2019-04-24 Thread Alejandro Valdes
Hi, I'm using a POST request to get the KeywordPerformanceReport info from 
Ads API. My problem is that some fields related to percents are in the 
format 'xx.xx%' an I need these fields as decimal. Also the null values are 
returned as the string '--'. I want to know if exist a way to config my 
request in order to retrieve the null as null and percents as decimal 
values. I think there is a way because when i use the default connector of 
Azure Data Factory to copy this data the fields have my desired format. I 
would appreciate any help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b3e09fc1-120a-472e-b96a-2f460f6279df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Gmail Ads "Preview" via API

2019-04-24 Thread cvieira via AdWords API and Google Ads API Forum
Hello,

It's possible to integrate via API the Preview of and Ad from Gmail Ads 
into my website? So customers can make the ads there e see it too.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/616616c2-6d88-4447-91d6-0232f9275fbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to retrive percents filed as decimals in Google Adword API

2019-04-24 Thread Alejandro Valdes
Hi, I'm using a POST request to get KeyWordPerformanceReport info from 
Adwords API and some decimal fields are returned with the format 'xx.xx%' 
and I need as decimal. Also nulls values are returned as '--'. I want to 
know if there is any way to config my POST request in a way that I will 
obtain decimal and null values. I think the way exist because when I use 
the default connector in Azure Data Factory the fields have my desired 
format. I would appreciate any help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/003a389d-aa9f-4d37-850d-bcfab986a965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting inactive and cancelled accounts via CustomerService.getCustomers().

2019-04-24 Thread chuckdusseau via AdWords API and Google Ads API Forum
Hi,

According to this blog post, 

 inactive 
and cancelled accounts will not be returned by get requests. Is that 
applicable to CustomerService.getCustomers()? I.e. will that service only 
return accounts that do not fall under the category of inactive or 
cancelled?

Thanks,
Chuck

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2b47b36b-2d85-41f1-b507-4e9d8ac7fe03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: AdGroupExtensionSettingOperation removes existing feed items when trying to add a new one

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Tim,

You can associate the same feed item with multiple entities. If you are
looking to use the same extension to all the AdGroups in a campaign, you
may set it at the campaign level. Similarly, if you're using a specific
extension at the campaign level, you may set them at the account level
instead of individually setting to each campaign. You will be able to reuse
the feeds
  
and

associate them at different levels. Please refer to the code sample in the
guide and let us know if you have any issues.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/186ti5018gbb1400083u9kz6cmjie1i6oo30c1g68r36d9p%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Select google ads account when using Oauth

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Fede,

If the Google Ads client account and MCC account are linked, you should be
able to access all the accounts under the MCC if you're generating the
OAuth credentials with an email address who has access to the MCC. It is
not possible through the API to select which account to select and give
access. If the client account and MCC account are two separate accounts,
you will need to make sure that you're using the correct set of OAuth
credentials and the CID to make the API call. If you specify the client
customer Id in the request header, you should be able to make the API call
against that account. If you're having an issue, could you please share the
error logs to troubleshoot this? You can reply back via Reply privately to
author option.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/08p11g000400obglum000csfj6x6kmjcc9m64o30c1g68r38cpi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


sqlite3 module is required for the SqliteCache error when run in AWS Lambda

2019-04-24 Thread yliu
A Python script used to download google adwords report. Which runs without 
any issue locally. 
The script is something like:

client = adwords.AdWordsClient.LoadFromStorage('googleads.yaml')
report_downloader = client.GetReportDownloader(version='v201809')

However, when I deploy this in AWS lambda, I got error message:

{
>   "errorMessage": "sqlite3 module is required for the SqliteCache",
>   "errorType": "RuntimeError",
>   "stackTrace": [
> [
>   "/var/task/lambda_function.py",
>   24,
>   "lambda_handler",
>   "report_downloader = client.GetReportDownloader(version='v201809')"
> ]

 
The aws lambda env is python 3.6. Any suggestion? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/81514f7e-8f05-452c-a6f2-614a927b624d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Mobile_Id Casing Format

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

There are no specific limitations on the Mobile Ids casing. You should be
able to upload both IDFA or Google Advertising IDs without any issues.
Please let me know if you're facing an issue.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/186ti50183bqli00081lsqx6kmj0d1k6so30c1g68r32cpj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to get data for "Where Ads showed" tab under Placement Section via Adwords API

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Ronak,

The Automatic Placements report will only return the display name from the
Google Ads UI which is youtube.com.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ijlio2o4ro00gpnv8c000e6i38y6cmj0d1m6go30c1g68qjgdhn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: searching Customers using google ads

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello vadim,

Thanks for the suggestion, I have shared it with the team. Meanwhile you
could keep an eye on our blog
 for
information related to the future releases.

Reards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0p34o1gsr0is000bh6emz60mjidhn60o30c1g68qjcc9o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [PHP] How to get latest update date for each campaign for each customers

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

You will be able to use the CustomerSyncService
  
to

pull the changes made in the account for the past 90days. The
lastchangetimestamp
  
will

give the last changed processed for the customer. The CampaignChangeData
  
will

return the changes made in the campaign. It is not possible to see who made
the changes to the account.

You will be able to use the API reports which will return the Cost for the
date range specified in the report query. The report types listed here
  
can

be used.

Let me know if you have any questions.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00d12jt8f8010h67vddotuy6smj0c1i6co30c1g68r32dho%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Could you please confirm whether the user(owning the OAuth credentials used
for the API call) has standard/Admin access to the account? Please share
the email address of that user using *reply privately to the author* option.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 06:50:09 analy...@kupislova.ru wrote:

Введите код...

Good day,

I use api v201809

tell me when sending a request to change the status of the ad, an error is
issued

[OperationAccessDenied.ACTION_NOT_PERMITTED @ class
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]

OAuth client IDs are created under the analy...@kupislova.ru account. It
has administrator access level.

In the WEB interface analy...@kupislova.ru, ad statuses vary greatly.

Help me.


[2019-04-22 09:36:09] AW_SOAP.NOTICE: POST
/api/adwords/cm/v201809/AdGroupAdService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.6.33
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 835
Authorization: REDACTED


xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/;

xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809;>9269831859REDACTEDunknown
(AwApi-PHP, googleads-php-lib/39.0.0,
PHP/5.6.33)falsefalseSET69565244158340399957422PAUSED

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Mon, 22 Apr 2019 06:36:09 GMT
Expires: Mon, 22 Apr 2019 06:36:09 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="46,44,43,39"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>
xmlns="https://adwords.google.com/api/adwords/cm/v201809;>00058718af1057930a3764cc0d043c08AdGroupAdServicemutate1227soap:Client[OperationAccessDenied.ACTION_NOT_PERMITTED
@ class
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]https://adwords.google.com/api/adwords/cm/v201809;>[OperationAccessDenied.ACTION_NOT_PERMITTED
@ class
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance;
xsi:type="OperationAccessDenied">OperationAccessDenied.ACTION_NOT_PERMITTEDOperationAccessDeniedACTION_NOT_PERMITTED

PHP Fatal error:  Uncaught exception
'Google\AdsApi\AdWords\v201809\cm\ApiException' with message
'[OperationAccessDenied.ACTION_NOT_PERMITTED @ class
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]'


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe4d9cbd-9883-459d-98a0-8687557836b7%40googlegroups.com

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

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

RE: TargetingIdeaService RequestType STATS with Google Ads API

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Chirag,

Regarding the KeywordPlanService.GenerateHistoricalMetrics, you have to
create a KeywordPla
n
and should have KeywordPlanKeyword
  
first.

You should be able to update the KeywordPlan using the KeywordPlanService
.MutateKeywordPlans

.

Regarding the KeywordPlanIdeaService.GenerateKeywordIdeas, you don't need
to have a keyword plan. Just update the keyword and location information as
you used to do with the AdWords API. This is the only service which does
not require a Keyword Plan to be created because it provides keyword
suggestions to assist with the plan creation. You could refer here
  
for

more information.

Regards,
Sai Teja, Google Ads API


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 05:41:32 chirag.erepo...@gmail.com wrote:

Also In addition to above question.

I only need to have Ideas that is same as UI like under UI Keywords you
provided and Keyword ideas(This I can get
using KeywordPlanIdeaService.GenerateKeywordIdeas)
But Keywords you provided is something I need.

I am using this service to generate some Ideas for keywords, so I need to
update the Location and keywords.

For every new Idea/Location I need to have different Keyword Plan?


Thanks,


On Wednesday, 24 April 2019 13:03:38 UTC+5:30, cv wrote:

Hi Sai,

Thanks for the Answer.

For this service to use I need to Add Keywords Plan first?

This is not required earlier, and If I need to Add Keywords Plan Should I
change it to something else? How I can update same once added?


Thanks,


On Tuesday, 23 April 2019 00:19:49 UTC+5:30, googleadsapi-forumadvisor
wrote:

Hello Chirag,

You could refer here

to know more about the KeywordPlanService in the Google Ads API. To get the
historical metrics you have to use KeywordPlanService.GenerateHis
toricalMetrics

which is equivalent to the RequestType=STATS in the TargetingIdeaService.
Please give it a try and let me know if you have any further questions.

Regards,
Sai Teja, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey


Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/028579b2-e224-4e79-b0e0-7d10f2b1621e%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/

RE: AdGroupCriterionService mutate InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Sam,

Regret the delay. The UNEXPECTED_INTERNAL_API_ERROR could be due to a
transient issue and retrying the request should work in most of the
scenarios. Please find the attached SOAP logs from my testing which worked
fine with a similar request. Also, I'm having trouble looking up the
specific AdGroup Id. Could you please recheck this? If you're still having
an issue, could you please share the API SOAP logs of your implementation
along with the CID without redacting any information? You can share the
details privately via *Reply privately to author* option.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00d12jt8f80109c1rd6sgsz74mjae1n6co30c1g68r30cph%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf400
{\fonttbl\f0\fnil\fcharset0 Monaco;}
{\colortbl;\red255\green255\blue255;\red255\green0\blue0;}
{\*\expandedcolortbl;;\csgenericrgb\c10\c0\c0;}
\margl1440\margr1440\vieww15300\viewh14980\viewkind0
\deftab720
\pard\pardeftab720\partightenfactor0

\f0\fs22 \cf2 [24 Apr 2019 14:07:11,397-requestInfoLogger:INFO:main] Request made: Service: AdGroupCriterionService Method: mutate clientCustomerId: 324-653-3697 URL: https://adwords.google.com/api/adwords/cm/v201809/AdGroupCriterionService Request ID: 0005874a92071a6802ab413a7f0fd408 ResponseTime(ms): 417 OperationsCount: 3 IsFault: false FaultMessage: null\cf0 \
\cf2 [24 Apr 2019 14:07:11,405-soapXmlLogger:DEBUG:main] SOAP request:\cf0 \
\cf2 \cf0 \
\cf2 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>\cf0 \
\cf2 \cf0 \
\cf2 https://adwords.google.com/api/adwords/cm/v201809; soapenv:mustUnderstand="0">\cf0 \
\cf2 324-653-3697\cf0 \
\cf2 REDACTED\cf0 \
\cf2 unknown (AwApi-Java, AdWords-Axis/4.2.0, Common-Java/4.2.0, Axis/1.4, Java/1.8.0_131, jars, ProductPartitionTree)\cf0 \
\cf2 false\cf0 \
\cf2 false\cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 https://adwords.google.com/api/adwords/cm/v201809;>\cf0 \
\cf2 \cf0 \
\cf2 ADD\cf0 \
\cf2 https://adwords.google.com/api/adwords/cm/v201809; xsi:type="ns2:BiddableAdGroupCriterion">\cf0 \
\cf2 69606209935\cf0 \
\cf2 \cf0 \
\cf2 -1\cf0 \
\cf2 SUBDIVISION\cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 ADD\cf0 \
\cf2 https://adwords.google.com/api/adwords/cm/v201809; xsi:type="ns3:BiddableAdGroupCriterion">\cf0 \
\cf2 69606209935\cf0 \
\cf2 \cf0 \
\cf2 -2\cf0 \
\cf2 UNIT\cf0 \
\cf2 -1\cf0 \
\cf2 \cf0 \
\cf2 ProductOfferId\cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 10\cf0 \
\cf2 \cf0 \
\cf2 CRITERION\cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 true\cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 \cf0 \
\cf2 ADD\cf0 \
\cf2 https://adwords.google.com/api/adwords/cm/v201809; xsi:type="ns4:NegativeAdGroupCriterion">\cf0 \
\cf2 69606209935\cf0 

AdGroupExtensionSettingOperation removes existing feed items when trying to add a new one

2019-04-24 Thread Tim
I've written code to add a sitelink to an ad group. When the ad group 
already has sitelinks in it will remove the existing sitelinks before 
adding the new one.

I require the code to leave existing sitelinks as they are and only add new 
ones, is this possible?

AdGroupExtensionSetting setting = new AdGroupExtensionSetting();
setting.setAdGroupId(sitelink.getAdGroupID());
setting.setExtensionType(FeedType.SITELINK);

ExtensionSetting extensionSetting = new ExtensionSetting();
extensionSetting.setExtensions(new ExtensionFeedItem[] { feedItem });
setting.setExtensionSetting(extensionSetting);

AdGroupExtensionSettingOperation operation = new 
AdGroupExtensionSettingOperation();
operation.setOperand(setting);
operation.setOperator(Operator.ADD);


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/524af89c-3d90-436e-879c-c6f1ebf0aa5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


google-ads.yaml file for google ads API

2019-04-24 Thread Dmitry Shvetsov
Hello!
I made a request to the Google Ads API and got responce "A required field 
in the configuration data wasnot found. The required fields are: 
('client_id', 'client_secret', 'refresh_token', 'developer_token')".

Could you send me a google-ads.yaml template?
I have googleads.yaml file for Adwords API but it has another structure.

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9de79437-d6a7-49a7-bc60-45226f9a2226%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Missing performance data in asset data types

2019-04-24 Thread Gavin
Hello,

I am working on migration from Adwords to GoogleAds API. This page 

 indicates 
that the MultiAssetResponsiveDisplayAd* in Adwords properties now are 
mapped to ad_group_ad.ad.responsive_display_ad.*. 

Take MultiAssetResponsiveDisplayAdHeadlines as an example:


   - In Adwords, MultiAssetResponsiveDisplayAdHeadlines 
   

 has 
   fields "assetText", "assetId", "assetPerformanceLabel" and 
   "assetApprovalStatus"
   - In GoogleAds, ad_group_ad.ad.responsive_display_ad.headlines 
   

 is 
   of type google.ads.googleads.v1.common.AdTextAsset 
   
,
 
   which only has fields "text" and "pinned_field"


There are no GoogleAds fields equivalent to "assetPerformanceLabel" in 
AdTextAsset. Other asset properties 
like ad_group_ad.ad.responsive_display_ad.square_logo_images has the same 
issue.

Will the performance data be eventually added to Asset types in the future? 
If not, what is the recommended way to get performance data for text or 
image assets?

Thanks,
Gavin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/83123934-d8bf-41eb-8c2d-d8d5b550e0fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Mobile_Id Casing Format

2019-04-24 Thread ci . wbdigital
Hi Team,

   I dont see a requirement mentioned in the Mobile_id upload 
template(attached) to convert the mobile_ids to lowercase in the file 
before uploading. Could you please confirm whether mobile_ids need to be 
converted to lower case(as apple ids and google ids are of different 
casing) before uploading via API call in java program?

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/608e2d9f-bda6-446b-af79-a32278193977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# Instructions for uploading Mobile Device IDs:
# Customer Match data files must follow specific formatting guidelines in order to be accepted. Incorrect formatting can lead to an upload error or a low number of matched records.
#
# Un-hashed (Plain Text) Formatting Guidelines:
# Files must be in the CSV format
# Must be unhashed data
# Must use a single column labeled "Mobile Device ID"
# Mobile Device IDs can't be combined with any other type of customer data (email addresses, phone numbers, zip, etc)
# 540 days is the maximum membership duration for this data type
#
# Field Specific Guidelines:
# Please reference this help center article for field specific requirements: https://support.google.com/adwords/answer/7475964
#
Mobile Device ID
a2c0b0c2-1169-1f47-737d-635fcf804b5c
7897c994-59a5-d19e-1ee8-ac3a9a396a37

Re: DatabaseError.CONCURRENT_MODIFICATION

2019-04-24 Thread ci . wbdigital
Hi Team,

   Could anyone update on the below items?

Thanks

On Saturday, April 13, 2019 at 11:36:06 PM UTC+5:30, ci.wb...@gmail.com 
wrote:
>
> Hi Sai Teja,
>
>   Thank you for the responses. One follow question regarding point 1. 
> I have attached the screenshot for your reference as well. 
> SizeRangeForSearch field is showing almost acceptable number of users I 
> uploaded from my end and almost equal to the matched  % of users displayed 
> in the UI. But SizeRange which as per the naming convention doesn't 
> segregate to any separate set of list like youtube/search/display is 
> showing a value less than the above search users count. Could you please 
> help me in understanding what does this count refer to?
>
>  Also I could not find not any API to get r*eporting information of 
> an user list* like what we see in UI as a table(with matched count for 
> each category like gmail/youtube/display/search and number of valid/invalid 
> uploads rejected in match) *and to remove the list(*there is an option to 
> set the membership duration to 0 to avoid targeting)*.* Could you please 
> point me to one if I overlooked it?
>
>  When I remove an audience from UI, it moves to removed audience 
> category. How to remove them from removed audience list as well? Is there 
> recycle mechanism ? If yes can you please let me know the cycle
>
> [image: Capture.PNG]
>
>
>
>
>
>
> Thanks,
> Aishwarya
>
> On Friday, April 12, 2019 at 1:08:21 AM UTC+5:30, 
> googleadsapi-forumadvisor wrote:
>>
>> Hello Aishwarya,
>>
>> Please find the response below inline:
>>
>>1. is there any way to identify how many userids have been uploaded 
>>altogether into the userlist before Google does Hashmapping with 
>>their list?
>>*You could use sizeRange 
>>
>> 
>>  field 
>>of the UserList to get the size range in terms of number of users of the 
>>UserList but not the exact number of userids in the list. *
>>
>>2. As of now, when the population of the list is completed, I could 
>>see only the Search/Gmail/Youtube *matched number of users in the 
>>Size column in Audience list* but not the original number of users 
>>uploaded.
>>*For example if you upload a list with 1000 users and only 600 of 
>>them is targettable by the Google networks then the 600 is dispersed 
>> across 
>>Search/Gmail/Youtube netwooks and the rest of the 400 is not shown as 
>> they 
>>are not targetable.*
>>
>>3. Also do confirm whether the mutatemembers list size is 50 
>>fixed or could be made variable as I saw in few posts that the limit was 
>>increased to 90. We are using 201809 API library.
>>
>> *50 is the limit on the number of members in each mutateMember 
>>
>> 
>>  request. 
>>*
>>4. Also is there a way to suppress the error as we are trying to 
>>update multiple times the same list due to the imposed size limitation 
>> and 
>>we could make sure that the list is mutually exclusive of each other? 
>>
>> *As specified earlier adding delays as and when the error occurs is 
>>sufficient. Basically, you have to make sure only one thread is working 
>> on 
>>a particular entity at a time to avoid concurrent modifications error. *
>>5. For an example: If we upload 100 emailids out of which 30 are 
>>duplicates and 70 are unique, will the Google maintain 70 in their 
>> backend 
>>or 100?
>>*The upload of the duplicate members via the API will not fail. The 
>>list will be automatically de-duplicating already existing users. So the 
>> 70 
>>will be added to the existing userlist.*
>>
>>6. Can you please let me know which DB is used in the backend to hold 
>>the account user/campaign lists?
>>*Since it is a product related question, I recommend you to post this 
>>question on the Advertisers community form 
>>. 
>> The 
>>product experts there would be able to assist with this.*
>>
>> Regards,
>> Sai Teja, Google Ads API Team
>>
>>
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> https://ads-developers.googleblog.com/search/label/google_ads_api
>> https://developers.google.com/adwords/api/community/
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>
>> Was your question answered? Please rate your experience with us by taking 
>> a short survey.
>> If not -- reply to this email and tell us what else we can do to help.
>>
>> Take Survey 
>> 
>>
>> Also find us on our blog and discussion group:
>> 

Re: searching Customers using google ads

2019-04-24 Thread vadim
Hi,
as I understand many of us have the same problems.
Could you please add to the CustomerClient  * Clients Name* and 
*canManageClients* property?
And same properties to CustomerClientLink...

Thanks


On Wednesday, April 24, 2019 at 9:16:32 AM UTC-5, googleadsapi-forumadvisor 
wrote:
>
> Hello Benjamin,
>
> I will let my team know regarding your concern to see if there is a 
> possibility to introduce the customer name field in the CustomerClient 
> 
>  
> itself in the future releases. Meanwhile you could keep an eye on our blog 
>  for 
> information related to the future releases.
>
> Regards,
> Sai Teja, Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d23901cf-afd5-4264-b715-a6899dff9711%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get data for "Where Ads showed" tab under Placement Section via Adwords API

2019-04-24 Thread Ronak Shah
Hello Bharani,

Thanks for your response, yes we have tried downloading the Automatic 
Placements Report and we do see data but we cannot get the Youtube Channel 
name.Infact we also cannot see the youtube placement URL instead Display 
Name column only shows "youtube.com" but we cannot fetch the Youtube 
Channel name. Can you tell me how do we get the YT Channel name?

Thanks,
Ronak

On Wednesday, April 24, 2019 at 8:21:14 PM UTC+5:30, 
googleadsapi-forumadvisor wrote:
>
> Hi Ronak, 
>
> The Where Ads showed data can be pulled using the Automatic Placements 
> Report. Please check the guide 
>  on 
> how the API reports are mapped to the Google Ads UI. If you're seeing any 
> discrepancy, could you please share the report query along with the CID, 
> using the *Reply privately to author* option to check this further?
>
> Thanks,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/64da9d9a-5a50-4a96-bbd3-b0bef74ffecb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User list member emails

2019-04-24 Thread mercadeoprueba19
Hi,Is there a way to define multiple emails for a single user list member 
via API? I couldn't find a way to do it because the Member object contains 
one email, but from Adwords UI it's allowed to add multiple email columns 
(in the csv file)  

El martes, 23 de abril de 2019, 22:37:47 (UTC-5), googleadsapi-forumadvisor 
escribió:
>
> Hi,
>
> In the AdWords API, you can update your existing userlists using the 
> AdwordsUserListService.mutateMembers() 
> 
>  method 
> and pass the removeAll 
> 
>  field 
> first using the REMOVE operator. Afterwards, you can send another request 
> this time using the ADD operator to upload an updated list of emails 
> (original list plus the 3 new emails you wish to add). You may note that 
> one MutateMembersOperand request can contain at maximum, 500,000 emails as 
> seen in this documentation 
> 
> .
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 04/24/19 04:21:25 mercadeo...@gmail.com  wrote:
>
> One question, can you currently add 3 emails in a row, as in the interface?
>
> El lunes, 5 de febrero de 2018, 17:40:57 (UTC-5), Keren escribió:
>
> Hi,Is there a way to define multiple emails for a single user list member 
> via API? I couldn't find a way to do it because the Member object contains 
> one email, but from Adwords UI it's allowed to add multiple email columns 
> (in the csv file)  
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/2fb68f69-1c33-4102-86f2-cf3e6b0e5f7f%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b2d8f222-04d2-427e-85dc-b60ecdddc969%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to get data for "Where Ads showed" tab under Placement Section via Adwords API

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Ronak,

The Where Ads showed data can be pulled using the Automatic Placements
Report. Please check the guide
  
on

how the API reports are mapped to the Google Ads UI. If you're seeing any
discrepancy, could you please share the report query along with the CID,
using the *Reply privately to author* option to check this further?

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/186ti501843cjc0007dhg8y6cmj0d1m6go30c1g68qjgdhn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: python Google Ads API: Troubleshoot Deadline exceeded error 504 for trying to pull geographic region costs for single country for a single day

2019-04-24 Thread Nicholas Lynch

How do you pull a list of segment.geo_target_region for USA physical 
location?  
*AND geographic_view.country_geo_target_constant = 
'geoTargetConstants/2840'*
* AND geographic_view.location_type = 'LOCATION_OF_PRESENCE'*

I am trying to pull all of the *geo_target_region * names for the physical 
locations within the USA, specifically just 9 states where I tried the 
following code, but still received a deadline error.

_DEFAULT_PAGE_SIZE = 1000

def geo_costs(client, customer_id):
ga_service = client.get_service('GoogleAdsService', version='v1')

query = ('''SELECT
 segments.geo_target_region
FROM
geographic_view
WHERE
customer.id = XX
AND geographic_view.country_geo_target_constant = 
'geoTargetConstants/2840'
AND geographic_view.location_type = 'LOCATION_OF_PRESENCE'
LIMIT
100''')


response = ga_service.search(customer_id, query)
for row in response:
print(row.segments.geo_target_region.resource_name)

geo_costs(client,customer_id)






On Tuesday, April 23, 2019 at 10:36:14 PM UTC-5, googleadsapi-forumadvisor 
wrote:
>
> Hi Nicholas,
>
> Yes, when using the week segment, the input should be the date of the 
> Monday of the week you wish to retrieve and runs the date range until 
> Sunday. Parsing the results does not influence the error you are 
> encountering, it is more likely due to the volume of data being retrieved. 
> As for using the geographic_view.country_geo_target_constant as predicate, 
> the value you input can be derived from this documentation 
> 
>  of 
> the resource.
>
> Also, you are getting the (*RequestId: TG0jUIGkLfxwFgMeCKdy2g, IsFault: 
> True, FaultMessage: The following pairs of fields may not be selected 
> together: 'segments.geo_target_region' and 'segments.date'*) error 
> because the 2 fields indicated in the error string are not selectable in 
> the same query.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 04/23/19 22:46:36 nlyn...@gmail.com  wrote:
>
> The segment.week just specifies the date period from that Monday to 
> Sunday, right?
> Is there any issue in how I am parsing that response or is that irrelevant 
> for 504 deadline error?
> I can try to predicate by segment.geo_target_region, but what is the best 
> way to pull those values? Because I do not think they are literal string 
> values like 'Florida, United States'. See attachment for desired data I am 
> trying to replicate for automated data pull. 
>  
> Let me know if you need any additional information
>
> If I try to run the following code that contains predicates, I receive the 
> following error: *RequestId: TG0jUIGkLfxwFgMeCKdy2g, IsFault: True, 
> FaultMessage: The following pairs of fields may not be selected together: 
> 'segments.geo_target_region' and 'segments.date*' .
>
> def geo_costs(client, customer_id):
> ga_service = client.get_service('GoogleAdsService', version='v1')
> 
> query = ('''SELECT
>  segments.geo_target_region,
> metrics.clicks,
> metrics.cost_micros
> FROM
> geographic_view
> WHERE
> customer.id = 
> AND geographic_view.country_geo_target_constant = 
> 'geoTargetConstants/2840'
> AND geographic_view.location_type = 'LOCATION_OF_PRESENCE'
> AND segments.date = '2019-04-15'
> ORDER BY metrics.clicks DESC
> LIMIT
> 100''')
> 
> response = ga_service.search(customer_id, query)
> for row in response:
> 
> print(row.geographic_view.resource_name,",",row.metrics.clicks.value,"," , 
> row.metrics.cost_micros.value)
>
> geo_costs(client,'client_id')
>
>
>
>
>
> On Tuesday, April 23, 2019 at 4:26:13 AM UTC-5, googleadsapi-forumadvisor 
> wrote:
>
> Hi Nicholas,
>
> I tried your GAQL queries using my test account and both are working 
> correctly. The Deadline Exceeded error 504 that you are encountering might 
> be due to the volume of data you are retrieving when using the *week* 
> segment. 
> I would recommend that you break down your report request by adding 
> predicates or by just using the *date* segment to avoid this error.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and 

[PHP] How to get latest update date for each campaign for each customers

2019-04-24 Thread ludovic cardinale
Hi all,

My question is simple.

It's possible to get the latest date of campaign update ?
Example, i create a campaign on 2019-01-01 and i do some update on 
2019-02-15.

Can i fetch these informations to know if my campaign was updated by 
someone ?

Something like : 

"Campaign #1234567890 - Latest update on 2019-02-15 by some...@gmail.com"

??

By the way, it's possible to fetch my money spend by day on my account ? Or 
of all my subaccounts if i have an MCC ?

Thank's !

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6194bbd5-32ce-4156-afd4-df4a42885800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Select google ads account when using Oauth

2019-04-24 Thread fede
Hi,

I'm working on an App where I need to ask other accounts to let me manage 
their campaigns using OAuth. There's something I don't understand.

I have an gmail address that has access to a Google ads account and also 
has access to an MCC. The Google ads acocunt and the MCC are not related.

When I try to get the account credentials with my app using Oauth, I can't 
select if I want to give access to the Google ads account or to the MCC. My 
app is automatically given access to the MCC and not to the Google ads 
account. 

Is there some way to select which google ads account I want to get 
credentials from? And, if there's not, what is the criteria used to choose 
the account?

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d8852f18-8409-4eac-af74-e1ad65df6bc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: searching Customers using google ads

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Benjamin,

I will let my team know regarding your concern to see if there is a
possibility to introduce the customer name field in the CustomerClient

itself in the future releases. Meanwhile you could keep an eye on our blog
 for
information related to the future releases.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/08p11g000400o1cvk6000c4neux60mjidhn60o30c1g68qjcc9o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [GOOGLE ADS API] Get Conversion Action List

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Bevis,

The team is looking into this. We will let you know when there is an update.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 02:24:02 bevis_c...@soft-world.com.tw wrote:

Hi,

I also have tried to get the conversion_action in python and got nothing.

*Here is my code snip:*

ga_service = client.get_service('GoogleAdsService', version='v1')
query = 'SELECT conversion_action.id, conversion_action.name FROM
conversion_action'
results = ga_service.search(customer_id, query=query, page_size=page_size)



*library log:*

[2019-04-24 14:01:51 - DEBUG] Request
---
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "my-login-customer-id",
  "x-goog-api-client": "gl-python/3.7.0 grpc/1.19.0 gax/1.9.0 gapic/1.3.1"
}
Request: {
  "customerId": "my-customerId",
  "query": "SELECT conversion_action.id, conversion_action.name FROM
conversion_action",
  "pageSize": 50
}

Response
---
Headers: {
  "content-disposition": "attachment",
  "request-id": ""
}
Response: {
  "fieldMask": "conversionAction.id,conversionAction.name"
}

[2019-04-24 14:01:51 - INFO] Request made: ClientCustomerId: 4006321756,
Host: googleads.googleapis.com:443, Method:
/google.ads.googleads.v1.services.GoogleAdsService/Search, RequestId:
r-gjPCpGhevLi48JrYIXLQ, IsFault: False, FaultMessage: None

googleadsapi-forumadvisor於 2019年4月22日星期一 UTC+8下午11時21分07秒寫道:

Hi all,

I've updated the team to take another look at this. I'll let you know when
the issue is resolved.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/22/19 11:08:59 rentca...@gmail.com wrote:

Below is all that is returned when using query SELECT conversion_action.id,
conversion_action.name, conversion_action.tag_snippets FROM
conversion_action LIMIT 50

{
"fieldMask": "conversionAction.id,conversionAction.name,
conversionAction.tagSnippets"
}

KDJ

On Monday, April 22, 2019 at 6:30:50 AM UTC-7, jrodr...@norte.digital wrote:

i too need use the new API :(

El sábado, 20 de abril de 2019, 11:02:59 (UTC-4), Miguel Graciá escribió:

Hi!,

Thank you very much for the suggestion :-), but I need to use the new
Google Ads API.

El viernes, 19 de abril de 2019, 22:03:34 (UTC+2), jrodr...@norte.digital
escribió:

Hi, i finally can get all trackers with api version v201809.
here link https://developers.google.com/adwords/api/docs/reference/v201809/
ConversionTrackerService

El miércoles, 17 de abril de 2019, 22:53:48 (UTC-4), Miguel Graciá escribió:

I'm trying to get a list of the conversion actions of a customer client,
but it always returns empty.

On the other hand, if I make the same query using the id of the manager
account, the query returns the list of conversion actions of that manager
account.

This is the query I'm using with the php library

$query = 'SELECT customer.id, customer.descriptive_name,
   conversion_action.app_id,
   conversion_action.attribution_model_settings.attribution_model,
   conversion_action.attribution_model_settings.data_driven_
model_status,
   conversion_action.category,
   conversion_action.click_through_lookback_window_days,
   conversion_action.counting_type,
   conversion_action.id,
   conversion_action.include_in_conversions_metric,
   conversion_action.name,
   conversion_action.owner_customer,
   conversion_action.phone_call_duration_seconds,
   conversion_action.resource_name,
   conversion_action.status,
   conversion_action.tag_snippets,
   conversion_action.type,
   conversion_action.value_settings.always_use_default_value,
   conversion_action.value_settings.default_currency_code,
   conversion_action.value_settings.default_value,
   conversion_action.view_through_lookback_window_days
   FROM conversion_action';

return $this->getGoogleAdsServiceClient()->search(
   *'customer_client_id'*,
   $query,
   ['pageSize' => null]
   );



Is there something that is not correct?

Thanks for your help.

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

RE: AdGroupAd service mutate

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Miguel,

With Google Ads API, you can use AdGroupAdService
  
to

update your ads.

Cheers,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 03:35:43 miguelgraciamar...@gmail.com wrote:


Hi Anthony.

Is there a service similar to AdService

to update an ad in using Google Ads API?

Thanks for your help.

El lunes, 8 de abril de 2019, 18:55:58 (UTC+2), googleadsapi-forumadvisor
escribió:

Hi TuyenVu,

When you remove and create a new ad using the AdGroupAdService, you will
not retain the historical data (including ID) of the ad. You can use the
AdService
  
to

update your ads.

Cheers,
Anthony
Google Ads API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b209e62d-5bed-4155-b1b3-2f9168d2971c%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0l418006dspa000fvhmow6cmj6d9o64o30c1g68r34e1n%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction

2019-04-24 Thread analytic
Введите код...

Good day,

I use api v201809

tell me when sending a request to change the status of the ad, an error is 
issued

[OperationAccessDenied.ACTION_NOT_PERMITTED @ class 
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]

OAuth client IDs are created under the analy...@kupislova.ru account. It 
has administrator access level.

In the WEB interface analy...@kupislova.ru, ad statuses vary greatly.

Help me.


[2019-04-22 09:36:09] AW_SOAP.NOTICE: POST 
/api/adwords/cm/v201809/AdGroupAdService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.6.33
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 835
Authorization: REDACTED


http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809;>9269831859REDACTEDunknown
 
(AwApi-PHP, googleads-php-lib/39.0.0, 
PHP/5.6.33)falsefalseSET69565244158340399957422PAUSED

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Mon, 22 Apr 2019 06:36:09 GMT
Expires: Mon, 22 Apr 2019 06:36:09 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="46,44,43,39"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close

http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201809;>00058718af1057930a3764cc0d043c08AdGroupAdServicemutate1227soap:Client[OperationAccessDenied.ACTION_NOT_PERMITTED
 
@ class 
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]https://adwords.google.com/api/adwords/cm/v201809;>[OperationAccessDenied.ACTION_NOT_PERMITTED
 
@ class 
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="OperationAccessDenied">OperationAccessDenied.ACTION_NOT_PERMITTEDOperationAccessDeniedACTION_NOT_PERMITTED

PHP Fatal error:  Uncaught exception 
'Google\AdsApi\AdWords\v201809\cm\ApiException' with message 
'[OperationAccessDenied.ACTION_NOT_PERMITTED @ class 
com.google.ads.api.serviceimpls.campaignmgmt.ad.adgroupad.MutateAction]'


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe4d9cbd-9883-459d-98a0-8687557836b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get data for "Where Ads showed" tab under Placement Section via Adwords API

2019-04-24 Thread Ronak Shah
Hello,

We are trying to fetch the data for "Where ADs Showed"  tab which is there 
under Placements section via Adwords API.We have tried Placement 
Performance Report 

 and 
Automatic Placement Report 
,
 
but the Report data doesn't match with Adwords UI.

Can anyone tell me how to get this data?

Regards,
Ronak

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/939711bc-b2d3-4cd7-b5f0-ac616891573a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PHP] Google Ads API - Create AdGroup Ads with : ExpandedTextAdInfo

2019-04-24 Thread ludovic cardinale
Hi thanks for your response.

But, i don't see anything about which character is allowed or not !

These are allowed ? ": # € £ $ / ? : ; _ -"

Can you help me for that please ?



Le mardi 23 avril 2019 23:00:58 UTC+2, ludovic cardinale a écrit :
>
> Hello there,
>
> i'm using the new Google Ads API and when i try to create AdGroup Ads i 
> have an error message with Code "3" Invalid Argument.
> But that's all, i need more information to know why i can't create this !
>
> Someone can help me ?
>
> I'm using strings in UTF-8 and the length is equal or under 30 for headine.
>
> If i wrote manually my headline 1, 2 and 3 it works except if i use the 
> character : "!".
>
> Thanks all !
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f2c1c908-afdb-4159-90ef-b8787c7d4be9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GOOGLE ADS API] Get Conversion Action List

2019-04-24 Thread bevis_chen
Hi,

I also have tried to get the conversion_action in python and got nothing. 

*Here is my code snip:*

ga_service = client.get_service('GoogleAdsService', version='v1')
query = 'SELECT conversion_action.id, conversion_action.name FROM 
conversion_action'
results = ga_service.search(customer_id, query=query, page_size=page_size)



*library log:*

[2019-04-24 14:01:51 - DEBUG] Request
---
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "my-login-customer-id",
  "x-goog-api-client": "gl-python/3.7.0 grpc/1.19.0 gax/1.9.0 gapic/1.3.1"
}
Request: {
  "customerId": "my-customerId",
  "query": "SELECT conversion_action.id, conversion_action.name FROM 
conversion_action",
  "pageSize": 50
}

Response
---
Headers: {
  "content-disposition": "attachment",
  "request-id": ""
}
Response: {
  "fieldMask": "conversionAction.id,conversionAction.name"
}

[2019-04-24 14:01:51 - INFO] Request made: ClientCustomerId: 4006321756, 
Host: googleads.googleapis.com:443, Method: 
/google.ads.googleads.v1.services.GoogleAdsService/Search, RequestId: 
r-gjPCpGhevLi48JrYIXLQ, IsFault: False, FaultMessage: None

googleadsapi-forumadvisor於 2019年4月22日星期一 UTC+8下午11時21分07秒寫道:
>
> Hi all,
>
> I've updated the team to take another look at this. I'll let you know when 
> the issue is resolved.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/22/19 11:08:59 rentca...@gmail.com  wrote:
>
> Below is all that is returned when using query SELECT conversion_action.id, 
> conversion_action.name, conversion_action.tag_snippets FROM 
> conversion_action LIMIT 50
>
> {
> "fieldMask": 
> "conversionAction.id,conversionAction.name,conversionAction.tagSnippets"
> }
>
> KDJ
>
> On Monday, April 22, 2019 at 6:30:50 AM UTC-7, jrodr...@norte.digital 
> wrote:
>
> i too need use the new API :( 
>
> El sábado, 20 de abril de 2019, 11:02:59 (UTC-4), Miguel Graciá escribió:
>
> Hi!,
>
> Thank you very much for the suggestion :-), but I need to use the new 
> Google Ads API.
>
> El viernes, 19 de abril de 2019, 22:03:34 (UTC+2), jrodr...@norte.digital 
> escribió:
>
> Hi, i finally can get all trackers with api version v201809.
> here link https://developers.google.com/adwords/api/docs/reference/
> v201809/ConversionTrackerService
>
> El miércoles, 17 de abril de 2019, 22:53:48 (UTC-4), Miguel Graciá 
> escribió:
>
> I'm trying to get a list of the conversion actions of a customer client, 
> but it always returns empty. 
>
> On the other hand, if I make the same query using the id of the manager 
> account, the query returns the list of conversion actions of that manager 
> account. 
>
> This is the query I'm using with the php library
>
> $query = 'SELECT customer.id, customer.descriptive_name,
>conversion_action.app_id,
>conversion_action.attribution_model_settings.attribution_model,
>conversion_action.attribution_model_settings.
> data_driven_model_status,
>conversion_action.category,
>conversion_action.click_through_lookback_window_days,
>conversion_action.counting_type,
>conversion_action.id,
>conversion_action.include_in_conversions_metric,
>conversion_action.name,
>conversion_action.owner_customer,
>conversion_action.phone_call_duration_seconds,
>conversion_action.resource_name,
>conversion_action.status,
>conversion_action.tag_snippets,
>conversion_action.type,
>conversion_action.value_settings.always_use_default_value,
>conversion_action.value_settings.default_currency_code,
>conversion_action.value_settings.default_value,
>conversion_action.view_through_lookback_window_days
>FROM conversion_action';
>
> return $this->getGoogleAdsServiceClient()->search(
>*'customer_client_id'*,
>$query,
>['pageSize' => null]
>);
>
>
>
> Is there something that is not correct?
>
> Thanks for your help.
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
> --- 
> 

Re: [PHP] Google Ads API - Create AdGroup Ads with : ExpandedTextAdInfo

2019-04-24 Thread ludovic cardinale
Hi, thanks for your response.

But, the documentation don't help me so much.
Because i need to know which characters are allowed or not !

Where can i found that information ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ef754e2b-e6e6-4d2b-be12-2b45c0fba860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TargetingIdeaService RequestType STATS with Google Ads API

2019-04-24 Thread cv
Also In addition to above question.

I only need to have Ideas that is same as UI like under UI Keywords you 
provided and Keyword ideas(This I can get 
using KeywordPlanIdeaService.GenerateKeywordIdeas)
But Keywords you provided is something I need.

I am using this service to generate some Ideas for keywords, so I need to 
update the Location and keywords.

For every new Idea/Location I need to have different Keyword Plan?


Thanks,


On Wednesday, 24 April 2019 13:03:38 UTC+5:30, cv wrote:
>
> Hi Sai,
>
> Thanks for the Answer.
>
> For this service to use I need to Add Keywords Plan first?
>
> This is not required earlier, and If I need to Add Keywords Plan Should I 
> change it to something else? How I can update same once added?
>
>
> Thanks,
>
>
> On Tuesday, 23 April 2019 00:19:49 UTC+5:30, googleadsapi-forumadvisor 
> wrote:
>>
>> Hello Chirag,
>>
>> You could refer here 
>> 
>>  
>> to know more about the KeywordPlanService in the Google Ads API. To get the 
>> historical metrics you have to use KeywordPlanService.
>> GenerateHistoricalMetrics 
>> 
>>  
>> which is equivalent to the RequestType=STATS in the TargetingIdeaService. 
>> Please give it a try and let me know if you have any further questions.
>>
>> Regards,
>> Sai Teja, Google Ads API Team
>>
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> https://ads-developers.googleblog.com/search/label/google_ads_api
>> https://developers.google.com/adwords/api/community/
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>
>> Was your question answered? Please rate your experience with us by taking 
>> a short survey.
>> If not -- reply to this email and tell us what else we can do to help.
>>
>> Take Survey 
>> 
>>
>> Also find us on our blog and discussion group:
>> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
>> https://developers.google.com/adwords/api/community/
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/028579b2-e224-4e79-b0e0-7d10f2b1621e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Quotas?

2019-04-24 Thread F B
For everybody else stumbling across this topic. This is the result of a 
python script, where in the* response header (in bold below)* I would see 
that I am supposed to wait 30 seconds. I have two problems with this:

   1. this waiting period information is not available in the actual error 
   (i.e. grpc response)
   2. the suggested waiting time is not correct, because even after waiting 
   15 minutes, I get the same error.


Method: /google.ads.googleads.v1.services.AdGroupAdService/MutateAdGroupAds
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "ACCOUNT_ID",
  "x-goog-api-client": "gl-python/3.6.8 grpc/1.20.0 gax/1.9.0 gapic/1.3.1"
}
Request: {
  "customerId": "CUSTOMER_ID",
  "operations": [
 {
  "create": {
"status": "ENABLED",
"adGroup":  data 
"ad": {
  "finalUrls": [
 data 
  ],
  "type": "EXPANDED_TEXT_AD",
  "expandedTextAd": {
   . data .
  }
}
  }
}
{
  "create": {
"status": "ENABLED",
"adGroup":  data 
"ad": {
  "finalUrls": [
 data 
  ],
  "type": "EXPANDED_TEXT_AD",
  "expandedTextAd": {
   . Data .
  }
}
  }
}
  ]
}


Response
---
*Headers*: {
  "google.ads.googleads.v1.errors.googleadsfailure-bin": 
"\n1\n\u0002X\u0004\u0012'Too 
many requests. *Retry in 30 seconds.*\u001a\u0002*\u",
  "grpc-status-details-bin": "\b\b\u0012/Resource has been exhausted (e.g. 
check 
quota).\u001az\nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure\u00123\n1\n\u0002X\u0004\u0012'Too
 
many requests. *Retry in 30 seconds.*\u001a\u0002*\u",
  "request-id": "REQUEST_ID_XXX"
}
Fault: {
  "created": "@1556098154.918022000",
  "description": "Error received from peer ipv4:xx",
  "file": "src/core/lib/surface/call.cc",
  "file_line": 1041,
  "grpc_message": "Resource has been exhausted (e.g. check quota).",
  "grpc_status": 8
}


On Tuesday, 23 April 2019 21:02:39 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hello Fabian,
>
> Please share the request id using *reply privately to the author option* to 
> investigate further. The wait time is shown in the error message only but 
> not on the request/response headers.
>
> Regards,
> Sai Teja, Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9841e3c-0a79-4170-ab52-1b30573e0804%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [4-9328000025873] ConversionService RequestError.UNKNOWN

2019-04-24 Thread xuantoi . ads . mtest
Hi 
Here is soap resquest and response :

2019-04-24 16:22:06.722  INFO 7533 --- [  XNIO-2 task-1] 
c.g.a.a.a.l.c.A.soapXmlLogger: SOAP request:

http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>

https://adwords.google.com/api/adwords/cm/v201809; 
soapenv:mustUnderstand="0">
x
REDACTED
Knorex-adwords (AwApi-Java, AdWords-Axis/4.1.0, 
Common-Java/4.1.0, Axis/1.4, Java/1.8.0_201, maven)
false
false



https://adwords.google.com/api/adwords/cm/v201809;>

ADD
https://adwords.google.com/api/adwords/cm/v201809; 
xsi:type="ns2:AdWordsConversionTracker">
martin - test 2
ENABLED
DEFAULT

30
30
1.0

USD

true

AdWordsConversionTracker






2019-04-24 16:22:06.723  INFO 7533 --- [  XNIO-2 task-1] 
c.g.a.a.a.l.c.A.soapXmlLogger: SOAP response:

http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201809;>
000587433c342c740aa797b77c0c3b2d
ConversionTrackerService
mutate
1
244




soap:Client
[RequestError.UNKNOWN @ 
operations[0]]

https://adwords.google.com/api/adwords/cm/v201809;>
[RequestError.UNKNOWN @ 
operations[0]]

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="RequestError">
operations[0]

operations
0


RequestError.UNKNOWN
RequestError
UNKNOWN








On Tuesday, April 23, 2019 at 2:21:43 PM UTC+7, googleadsapi-forumadvisor 
wrote:
>
> Could you please also attach the most recent SOAP logs too?
> Thank you.
>
> Best,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/23/19 16:12:25 xuantoi...@gmail.com  wrote:
>
> Hi Thanet,
>
> I remove field *conversionTypeOwnerCustomerId *from request but still get 
> error RequestError.UNKNOWN
>
> On Friday, April 12, 2019 at 11:23:04 AM UTC+7, googleadsapi-forumadvisor 
> wrote:
>
> Hello,
>
> It turns out that you have set the *conversionTypeOwnerCustomerId *field, 
> which is a read-only field.
> That's why your request couldn't get through.
>
> Could you please remove that field and send your request again?
>
> Cheers,
> Thanet, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 04/02/19 05:09:16 googleadsapi...@google.com wrote:
>
> Hello, 
>
> Could you please share the client account CID using the *Reply privately 
> to author* option? 
>
> Thanks,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
> 

Re: feeds in google ads vs Adwords

2019-04-24 Thread benjamin
You are right, thanks a lot!

On Tuesday, April 23, 2019 at 8:05:32 PM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi Benjamin, 
>
> They are still the same in Google Ads. You may use the 
> ExtensionFeedItemService to manage Extensions. To create and manage 
> feeds, you could use the FeedServices 
> .
>  
> The equivalent service for the AdCustomizerFeedService should be 
> available in the upcoming releases as mentioned in our migration guide 
> . 
> If you're looking for something specific, please let me know so I can refer 
> you to the documentation. 
>
> Thanks,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e606e84-dd2c-4186-87a7-391b5d91f528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: wrong expected behaviour with validate only

2019-04-24 Thread benjamin
In the company I am working, we sync millions of entities, and sometimes 
errors happen, so it may happen we send twice a request to remove something 
for instance.

Using validate_only I would expect the request to fail gracefully: tell me 
which operations are valid, which are invalid and why. That way I can 
filter them out and decide what to do with errored cases.

In the current setup:
- it fails with an exception
- there is no indication of which operation was wrong


On Wednesday, April 24, 2019 at 8:37:50 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi Benjamin,
>
> Thank you for reaching out. Could you further elaborate what you wish to 
> achieve with the validateOnly header in your requests? You can test using 
> production data in a read-only fashion on your production accounts if you 
> use the validateOnlyheader in your requests, and you have an approved 
> developer token.
>
> Upon checking your logs, the errors that you encountered were expected. 
> For your first concern, you have to indicate a valid resource name in your 
> ExtensionFeedItem. It appears that the feed item id provided does not 
> exist. You can use the ExtensionFeedItemService.GetExtensionFeedItem 
> 
>  
> to get the list of ExtensionFeedItems. As for your second concern, you 
> cannot operate on deleted items, hence the error you are encountering. 
> Kindly use an active sitelinkFeedItem instead.
>
> Regards,
> Dannison
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 04/24/19 05:00:27 benj...@effilab-local.com  wrote:
>
> another example if I try to delete an already deleted feed item:
>
> W, [2019-04-23T22:59:27.857363 #625]  WARN -- : CID: 1342647521, Host: 
> googleads.googleapis.com:443, Method: 
> /google.ads.googleads.v1.services.ExtensionFeedItemService/MutateExtensionFeedItems,
>  
> IsFault: yes
> I, [2019-04-23T22:59:27.859201 #625]  INFO -- : Outgoing request: Headers: 
> {"x-goog-api-client":"gl-ruby/2.5.1 gapic/1.1.1 gax/1.5.0 
> grpc/1.19.0","developer-token":"SANITIZED","login-customer-id":"SANITIZED"} 
> Payload: 
> {"customerId":"SANITIZED","operations":[{"remove":"customers/1342647521/extensionFeedItems/69260980063"},{"create":{"sitelinkFeedItem":{"linkText":"Link
>  
> text 3","line1":"desc_line1-3","line2":"desc_line2-3","finalUrls":["
> http://www.effilab.com/link/path/3"]}}}],"validateOnly":true}
> I, [2019-04-23T22:59:27.860736 #625]  INFO -- : Incoming response 
> (errors): 
> Error 1: 
> {"errorCode":{"internalError":"ERROR_CODE_NOT_PUBLISHED"},"message":"The 
> appropriate error code isn't part of the API 
> yet.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":},{"fieldName":"remove"}]},"details":{"unpublishedErrorCode":"ExtensionFeedItemError.CANNOT_OPERATE_ON_DELETED_FEED_ITEM"}}
>
>
> On Tuesday, April 23, 2019 at 10:57:01 PM UTC+2, benj...@effilab-local.com 
> wrote:
>
> I am using google ads and I checked how the api is behaving with wrong 
> data: there can be sync issues and its super important to ensure it is safe 
> enough.
>
> I was disappointed to see that even if I am using validate_only set to 
> true, the api is sending an exception whenever I send a wrong resource path.
>
> I would have expected validation errors for the wrong operation.
>
> Here are the logs:
> W, [2019-04-23T22:48:48.724065 #608]  WARN -- : CID: 1342647521, Host: 
> googleads.googleapis.com:443, Method: /google.ads.googleads.v1.services.
> ExtensionFeedItemService/MutateExtensionFeedItems, IsFault: yes
> I, [2019-04-23T22:48:48.725862 #608]  INFO -- : Outgoing request: Headers: 
> {"x-goog-api-client":"gl-ruby/2.5.1 gapic/1.1.1 gax/1.5.0 
> grpc/1.19.0","developer-token":"SANITIZED","login-customer-id":"SANITIZED"} 
> Payload: {"customerId":"SANITIZED","operations":[{"update":{"
> resourceName":"customers/1342647521/extensionFeedItems/
> 117","sitelinkFeedItem":{"linkText":"Link text 2","line1":"updated 
> 2","line2":"desc_line2-2","finalUrls":["http://www.effilab.com/link/path/2
> "]}},"updateMask":"sitelinkFeedItem.linkText,sitelinkFeedItem.
> 

Re: AdGroupAd service mutate

2019-04-24 Thread Miguel Graciá

Hi Anthony.

Is there a service similar to AdService 
 
to update an ad in using Google Ads API?

Thanks for your help.

El lunes, 8 de abril de 2019, 18:55:58 (UTC+2), googleadsapi-forumadvisor 
escribió:
>
> Hi TuyenVu,
>
> When you remove and create a new ad using the AdGroupAdService, you will 
> not retain the historical data (including ID) of the ad. You can use the 
> AdService 
>  
> to 
> update your ads.
>
> Cheers,
> Anthony
> Google Ads API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b209e62d-5bed-4155-b1b3-2f9168d2971c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TargetingIdeaService RequestType STATS with Google Ads API

2019-04-24 Thread cv
Hi Sai,

Thanks for the Answer.

For this service to use I need to Add Keywords Plan first?

This is not required earlier, and If I need to Add Keywords Plan Should I 
change it to something else? How I can update same once added?


Thanks,


On Tuesday, 23 April 2019 00:19:49 UTC+5:30, googleadsapi-forumadvisor 
wrote:
>
> Hello Chirag,
>
> You could refer here 
> 
>  
> to know more about the KeywordPlanService in the Google Ads API. To get the 
> historical metrics you have to use KeywordPlanService.
> GenerateHistoricalMetrics 
> 
>  
> which is equivalent to the RequestType=STATS in the TargetingIdeaService. 
> Please give it a try and let me know if you have any further questions.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d04d8910-1de4-4d1f-b592-8a6e0cae5864%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Data Mismatch In SEARCH_QUERY_PERFORMANCE_REPORT

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Ying,

There should be no discrepancy between the value of UI and API. Could you
confirm if you tried to only use the '*AdGroupId*', '*Cost*' and '*Query*'
fields? I asked this because when I check the fields in the provided
screenshot, the fields are not matched with the API report. Please take
note that when comparing the values of UI and API, you need to use the
exact fields so that you will not encounter data discrepancies.

Also, you are correct that it is not possible to filter out the report by
ad group ID in the Google Ads UI. However, as a workaround, you may
download the report in the UI. After you downloaded the report and open it
as spreadsheet, you can now filter it out using the ad group ID *56257520389
*and sum the total cost.

The values in downloaded report from UI is not expressed in terms of
micros. Because of this, you need to divide by 1 million the values
returned by API so it will match the values of UI.

Please let me know if you have further questions.

Regards,
Ejay
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 01:36:38 yingl...@pinterest.com wrote:

Hey Ejay,

Thanks for your reply! I am following the Google Ads UI but was not able to
add Ad group ID to this search terms report

.
[image: Screen Shot 2019-04-23 at 10.31.07 AM.png]
Could you please share more details about how you get this *15957 *in
UI?

And is this mismatch expected? Any idea what caused it?

Best,
Ying


On Tuesday, April 23, 2019 at 3:34:27 AM UTC-7, googleadsapi-forumadvisor
wrote:

Hi Ying,

My apologies for the confusion.

The only fields that I included in the report is '*AdGroupId*' and '*Cost*'
so the returned total cost for the ad group ID *56257520389* is *16189*.

However, could you confirm if you've used the same fields ( '*AdGroupId*', '
*Cost*' and '*Query*' fields) in the UI? I asked this because upon
impersonating the report on my test API, I was able to get the *15957  
*total

cost. However, I tried to replicate the report in the UI by using the said
three fields and I noticed that the total cost returned by API is matched
with the value of UI.

With this, you may try to map the *Search Query Performance Report* to the
Google Ads UI by following this guide
  
(*Search

Terms Report* section).

Please let me know if you will still notice the discrepancy between values
of the UI and API so I can further investigate. Also, kindly provide a
sample screenshot of the UI.

Regards,
Ejay
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey


Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 04/23/19 14:13:38 ying...@pinterest.com wrote:

Hey Ejay,

Thanks for your reply! Just want to clarify, are you using the following
fields not the one in the post? Did you try both two different field
combinations?
query_report = self._get_report_selector( _QUERY_DAILY_INSIGHTS_NAME,
_QUERY_REPORT_TYPE, [ 'AdGroupId', 'Cost', 'Query'] )
I retried, the issue persists.


Best,
Ying

On Monday, April 22, 2019 at 11:03:07 PM UTC-7, googleadsapi-forumadvisor
wrote:

Hi Ruby,

Upon impersonating the report on my test AdWords API by using the provided
customer ID and by using the same fields, I wasn't able to replicate the
issue as the returned cost for the ad group ID *56257520389* is *16189*.
The returned cost of the API report is also matched in UI (upon mapping the
report in UI). With this, you may re-try the API call and let me know if
the issue still persists so I can further investigate.

Regards,
Ejay
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.


RE: wrong expected behaviour with validate only

2019-04-24 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Benjamin,

Thank you for reaching out. Could you further elaborate what you wish to
achieve with the validateOnly header in your requests? You can test using
production data in a read-only fashion on your production accounts if you
use the validateOnlyheader in your requests, and you have an approved
developer token.

Upon checking your logs, the errors that you encountered were expected. For
your first concern, you have to indicate a valid resource name in your
ExtensionFeedItem. It appears that the feed item id provided does not
exist. You can use the ExtensionFeedItemService.GetExtensionFeedItem

to get the list of ExtensionFeedItems. As for your second concern, you
cannot operate on deleted items, hence the error you are encountering.
Kindly use an active sitelinkFeedItem instead.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/24/19 05:00:27 benja...@effilab-local.com wrote:

another example if I try to delete an already deleted feed item:

W, [2019-04-23T22:59:27.857363 #625]  WARN -- : CID: 1342647521, Host:
googleads.googleapis.com:443, Method:
/google.ads.googleads.v1.services.ExtensionFeedItemService/MutateExtensionFeedItems,
IsFault: yes
I, [2019-04-23T22:59:27.859201 #625]  INFO -- : Outgoing request: Headers:
{"x-goog-api-client":"gl-ruby/2.5.1 gapic/1.1.1 gax/1.5.0
grpc/1.19.0","developer-token":"SANITIZED","login-customer-id":"SANITIZED"}
Payload:
{"customerId":"SANITIZED","operations":[{"remove":"customers/1342647521/extensionFeedItems/69260980063"},{"create":{"sitelinkFeedItem":{"linkText":"Link
text 3","line1":"desc_line1-3","line2":"desc_line2-3","finalUrls":["
http://www.effilab.com/link/path/3"]}}}],"validateOnly":true}
I, [2019-04-23T22:59:27.860736 #625]  INFO -- : Incoming response (errors):
Error 1:
{"errorCode":{"internalError":"ERROR_CODE_NOT_PUBLISHED"},"message":"The
appropriate error code isn't part of the API
yet.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":},{"fieldName":"remove"}]},"details":{"unpublishedErrorCode":"ExtensionFeedItemError.CANNOT_OPERATE_ON_DELETED_FEED_ITEM"}}


On Tuesday, April 23, 2019 at 10:57:01 PM UTC+2, benj...@effilab-local.com
wrote:

I am using google ads and I checked how the api is behaving with wrong
data: there can be sync issues and its super important to ensure it is safe
enough.

I was disappointed to see that even if I am using validate_only set to
true, the api is sending an exception whenever I send a wrong resource path.

I would have expected validation errors for the wrong operation.

Here are the logs:
W, [2019-04-23T22:48:48.724065 #608]  WARN -- : CID: 1342647521, Host:
googleads.googleapis.com:443, Method: /google.ads.googleads.v1.services.
ExtensionFeedItemService/MutateExtensionFeedItems, IsFault: yes
I, [2019-04-23T22:48:48.725862 #608]  INFO -- : Outgoing request: Headers:
{"x-goog-api-client":"gl-ruby/2.5.1 gapic/1.1.1 gax/1.5.0
grpc/1.19.0","developer-token":"SANITIZED","login-customer-id":"SANITIZED"}
Payload: {"customerId":"SANITIZED","operations":[{"update":{"
resourceName":"customers/1342647521/extensionFeedItems/
117","sitelinkFeedItem":{"linkText":"Link text 2","line1":"updated
2","line2":"desc_line2-2","finalUrls":["http://www.effilab.com/link/path/2
"]}},"updateMask":"sitelinkFeedItem.linkText,sitelinkFeedItem.
line1,sitelinkFeedItem.line2,sitelinkFeedItem.finalUrls"},{
"create":{"sitelinkFeedItem":{"linkText":"Link text
4","line1":"desc_line1-4","line2":"desc_line2-4","finalUrls":["http://www.
effilab.com/link/path/4"]}}}],"validateOnly":true}
I, [2019-04-23T22:48:48.727453 #608]  INFO -- : Incoming response (errors):
Error 1:  
{"errorCode":{"mutateError":"RESOURCE_NOT_FOUND"},"message":"Resource

was not found.","trigger":{"stringValue":""},"location":{"
fieldPathElements":[{"fieldName":"operations","
index":},{"fieldName":"update"},{"fieldName":"resource_name"}]}}

What do you think?

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