Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Mat -

Ah, you're right, sorry about the misunderstanding! Assuming your team has been 
making changes with the newest version of Editor, there should be recent 
information returned via the Google Ads API. Do you know about what date you 
would have switched to the newest version?

I'm going to go back to the team that focuses on this component to see if they 
have some additional information.

Thanks,
Ben, Google Ads API Team
ref:_00D1U1174p._5004Q28otVg:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/p523B0QOSPEH00LFG_cCj4SJ6RfPad3oArSw%40sfdc.net.


Re: create customer match audience using rest interface

2021-02-19 Thread Coder
Hi,

Thank you for replying back. As mentioned earlier I don't have permission 
to reply privately (option is greyed out). 
To answer your question, yes, I tried both client library and rest apis. I 
tried the same example you provided in the link here: example 


However, i found this difference: When I was going through the APIs in 
detail, i found the OfflineUserDataJobService 

 has 
RunOfflineUserDataJob which runs the offline user data job.
I have manually executed rest end point to run the both the jobs i created, 
using client libraries and also rest end-point. I received a response as 
below for these jobs and no errors shown.
{
"name": 
"customers/**/operations/CjNjd***MvMTk4MzExO***vZmZsaW5lVXNlckRhdGFKb***c0MDAQBg=="
}

After this, when I checked the UI, the audiences were showing  "populating" 
for a while and later (may be after an hour or two) it went away.
When "populating" was shown in the UI, I verified the job status, and it 
was RUNNING and after a while it was "SUCCESS".

So the questions are: 
1) it seemed like executing the RunOfflineUserDataJob is mandatory to 
upload the customer-match info (otherwise job will be PENDING forever) for 
both Client library example and also for rest-api calls. Is my assumption 
right? 
2) Also the example did not highlight this step. It says that you can 
execute a query to get the job status (line 238 
)
 
and also line 218 
.
 
But the jobs I created with them never changed the status from PENDING to 
SUCCESS.
3) the response for run call returned an url with unique id ("name": 
"customers/**/operations/CjNjd***MvMTk4MzExO***vZmZsaW5lVXNlckRhdGFKb***c0MDAQBg=="),
 
what is the purpose of it? 

Could you please answer above questions. ? 

Thanks again. 

On Friday, February 19, 2021 at 8:56:35 PM UTC adsapiforumadvisor wrote:

> Hi,
>
> Thank you for reaching out. Are you using the REST interface directly to 
> upload the users? Could you give it a try to use this client library 
> example 
> ?
>  
> If the issue persists after you try the client library example, please 
> share the complete request and response logs along with the screenshots 
> from the UI via the *Reply privately to author* option for us to further 
> investigate.
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CPseQ:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d387c242-ba6b-4c5a-a8e5-af7de4b34332n%40googlegroups.com.


Re: create customer match audience using rest interface

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. Are you using the REST interface directly to upload 
the users? Could you give it a try to use this client library example? If the 
issue persists after you try the client library example, please share the 
complete request and response logs along with the screenshots from the UI via 
the Reply privately to author option for us to further investigate.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2CPseQ:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/-tYtG0QOSNHT00apGF-VbkTi-edN-o3sIJeA%40sfdc.net.


Re: How to get asset information for HTML5_UPLOAD_AD

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Dihan,

I've reached out the engineering team, this may not be supported in the API 
right now.

Cheers
Anash
ref:_00D1U1174p._5004Q27tfEX:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/501O20QOSMD9008ud31jJMS9GTnCMWJkFa8Q%40sfdc.net.


Re: How to mutate appAd

2021-02-19 Thread mengqi zhu
Code: 

ad_group_ad_service = client.get_service("AdGroupAdService", version="v6")
ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6")
resource_name = ad_group_ad_service.ad_group_ad_path(
  customer_id, ResourceName.format_composite(ad_group_id, ad_id)
)
ad_group_ad_operation.remove = resource_name
try:
  ad_group_ad_response = ad_group_ad_service.mutate_ad_group_ads(
customer_id, [ad_group_ad_operation]
  )
except google.ads.google_ads.errors.GoogleAdsException as ex:
   log_proj.error(
'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:
log_proj.error('\tError with message "%s".' % error.message)
  if error.location:
for field_path_element in error.location.field_path_elements:
  log_proj.error("\t\tOn field: %s" % field_path_element.field_name)
sys.exit(1)


Log:

Traceback (most recent call last):
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/publish/service/googleads/get_campaigns.py",
 
line 124, in modify_google_ad_detail
ad_group_ad_response = ad_group_ad_service.mutate_ad_group_ads(
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/ads/google_ads/v6/services/ad_group_ad_service_client.py",
 
line 313, in mutate_ad_group_ads
return self._inner_api_calls['mutate_ad_group_ads'](request, 
retry=retry, timeout=timeout, metadata=metadata)
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/api_core/gapic_v1/method.py",
 
line 145, in __call__
return wrapped_func(*args, **kwargs)
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/api_core/retry.py",
 
line 281, in retry_wrapped_func
return retry_target(
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/api_core/retry.py",
 
line 184, in retry_target
return target()
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/api_core/timeout.py",
 
line 214, in func_with_timeout
return func(*args, **kwargs)
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/api_core/grpc_helpers.py",
 
line 57, in error_remapped_callable
return callable_(*args, **kwargs)
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 216, in __call__
response, ignored_call = self._with_call(request,
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 257, in _with_call
return call.result(), call
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 126, in result
raise self._exception
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 241, in continuation
response, call = self._thunk(new_method).with_call(
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 266, in with_call
return self._with_call(request,
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 257, in _with_call
return call.result(), call
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 126, in result
raise self._exception
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 241, in continuation
response, call = self._thunk(new_method).with_call(
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 266, in with_call
return self._with_call(request,
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/grpc/_interceptor.py",
 
line 254, in _with_call
call = self._interceptor.intercept_unary_unary(continuation,
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
 
line 169, in intercept_unary_unary
self._handle_grpc_failure(response)
  File 
"/Users/zhumengqi/workspace/fancyguo/faxing/fancy_decision/venv-3.6/lib/python3.9/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
 
line 141, in _handle_grpc_failure
raise self._get_error_from_response(response)
google.ads.google_ads.errors.GoogleAdsException: 

RE: New Google Ads API documentation page not available

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Hoang,

Thank you for reaching out. Are you still facing the issue? If so, please 
disable all Google Chrome extensions and ad-blockers and then open this URL 
again.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2CSslz:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/08zYU0QOSKOW004r6tnLHPS2O7WAWLm2tTDQ%40sfdc.net.


RE: Issue with GEO_PERFORMANCE_REPORT

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Pismarev,

Thank you for reaching out. The Geo Performance Report is not one of the 
available resorts to be queried for App Campaigns in the AdWords API. Please 
see the list of available reports for App Campaigns in the AdWords API. You 
could consider querying the geographic_view resource via the Google Ads API.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2CSqXm:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/IiTfu0QOSKB400yzpIIPSjSR66627Bh3yWHA%40sfdc.net.


Changing bidding_strategy on campaign with a target cpa of specific amount?

2021-02-19 Thread 'Viktor Søndergaard' via AdWords API and Google Ads API Forum
Hi Team,

I am currently trying to change some campaigns to have a specific target 
cpa. I know I have to change the bidding strategy from these 
docs https://developers.google.com/google-ads/api/fields/v6/bidding_strategy. 
But how can I change the target CPA? I can't find any examples and I can't 
really see how from the docs? Can you help me in the right direction?

Best Regards Viktor

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/302e045e-8e97-4b88-a359-a5e3df88469an%40googlegroups.com.


Upload Offline Conversion

2021-02-19 Thread 'Viktor Søndergaard' via AdWords API and Google Ads API Forum
Hi Team,

I'm currently trying to do a Upload Offline Conversion using your example. 
When I run your example with my data it says that it succeeded and uploaded 
the conversion, but when I check the Conversion Action it says doesn't 
register it. I also have some questions about the uploading of offline 
conversion

How long does it usually take for it to upload? What speed can i expect? 
What happens if I try to upload the same conversion multiple times? It 
usually doesn't give me an error?

Best Regards Viktor

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5fdfd3d6-89e7-43fe-b8ea-5d31bce70fdfn%40googlegroups.com.


RE: Reach Metric

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Darkhan,

Thank you for reaching out. The unique reach metrics replaced cookie-based 
reach metrics as the primary method for reach measurement. However, the unique 
reach metrics are not yet available in the Google Ads API. There is a feature 
request to support these fields in the Google Ads API. Please keep an eye on 
our blog for the announcements and updates on new releases.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2CSrfT:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/IyuZh0QOSGTC00CEdyPZtuRRiofTRgR8is1w%40sfdc.net.


Re: Error creating campaign with and without bid strategy

2021-02-19 Thread Gregory Golberg

*Thanks for reaching out. I'm seeing documentation from both the Google Ads 
API  and the 
AdWords API  
in your messages. It appears you are using the AdWords API, so I recommend 
limiting your research to its documentation. *

I'm actually using Ads API (com.google.api-ads:google-ads:10.1.0); sorry 
for confusion. I'd prefer to use that as that is the newer iteration, 
right? 

 

*I recommend using the code snippets on this page 
.
 
I can see that your code has the line:*


* .setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)* 


*This method should take the value, 
AdvertisingChannelSubType.UNIVERSAL_APP_CAMPAIGN, according to the 
documentation. *
Well yes, according to doc it should, but AdvertisingChannelSubType enum, 
as I pointed out, does not have the UNIVERSAL_APP_CAMPAIGN value 
.
 
So looks like in the Ads API the right thing to use is APP_CAMPAIGN.

-g




On Friday, February 19, 2021 at 9:45:03 AM UTC-8 adsapiforumadvisor wrote:

> Hi Gregory,
>
> Thanks for reaching out. I'm seeing documentation from both the Google 
> Ads API  and the 
> AdWords 
> API  in your 
> messages. It appears you are using the AdWords API, so I recommend limiting 
> your research to its documentation. 
>
> I recommend using the code snippets on this page 
> .
>  
> I can see that your code has the line:
>
>   .setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)
>
> This method should take the 
> value, AdvertisingChannelSubType.UNIVERSAL_APP_CAMPAIGN, according to the 
> documentation. 
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CSpVW:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ea04d6f3-ba87-43ac-9cee-c3bdfb53e3c2n%40googlegroups.com.


RE: How to obtain a developer token?

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Hoang,

Thank you for reaching out. In order to obtain the developer token, you have to 
log into your manager account rather than the client customer account, then you 
would be able to see the API Center option. Could you please let us know what 
links you have trouble visiting?

Thanks and regards,
Xiaoming, Google Ads API Team



Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2CSrII:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/y03Ge0QOSEPY00AIKkrXfgSnW4mcA0rcB4jg%40sfdc.net.


RE: Error creating campaign with and without bid strategy

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Gregory,

Thanks for reaching out. I'm seeing documentation from both the Google Ads API 
and the AdWords API in your messages. It appears you are using the AdWords API, 
so I recommend limiting your research to its documentation.

I recommend using the code snippets on this page. I can see that your code has 
the line:

.setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)

This method should take the value, 
AdvertisingChannelSubType.UNIVERSAL_APP_CAMPAIGN, according to the 
documentation.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2CSpVW:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/StJJO0QOSEML00ytLh_c6VSZ-UPA-1ArHn2g%40sfdc.net.


Re: Google Adwords Api - Credentials could not be refreshed and timeout

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Nenad,

Thanks for the additional context. Please allow us to review this internally 
and we will provide an update as soon as possible.

Thanks,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2CRvhk:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bIH4_0QOSEJE005dH2pRPhSfKYXX9rWtxYyQ%40sfdc.net.


RE: Creating Smart Ads and adding headline, description, image etc...

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Richard,

Unfortunately, we are unable to provide any timelines. For all updates and 
announcements for the API, please follow our blog.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2CSWuq:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00Hnc0QOSCAN00vi3HbXAeSKanGA8gECwW7A%40sfdc.net.


Service Account: WaitingForActivation

2021-02-19 Thread Todd Evans
I have a Service Account setup and I am trying to get my app to 
authenticate against this Service Account and ultimately call SearchStream()

I have the following code.  Upon GetAccessTokenForRequestAsync() method 
being called we receive a Status = WaitingForActivation message.

I have checked this Service Account and it shows a green check for status.  
What am I missing?

GoogleAdsClient _client = 
GoogleServiceAccountAuthentication.GetGoogleAdsClient();
var clientToken = 
_client.Config.Credentials.GetAccessTokenForRequestAsync();

public static GoogleAdsClient GetGoogleAdsClient()
{   
return new GoogleAdsClient(GetGoogleAdsConfig());
}

/// 
/// Get the GoolgeAds Service Account Configuration
/// 
/// GoogleAdsConfig object containing configuration 
settings
public static GoogleAdsConfig GetGoogleAdsConfig()
{
GoogleAdsConfig config = new GoogleAdsConfig()
{
OAuth2SecretsJsonPath = "Keys/xx.json",
OAuth2Mode = OAuth2Flow.SERVICE_ACCOUNT
  
};

config.OAuth2ClientId = "";  
config.DeveloperToken = "xx";

return config;
}

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2d89a7c-0a18-4dee-9a22-98755e7d88a9n%40googlegroups.com.


Re: How to mutate appAd

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hello,

Please see my replies to your questions below:

The remove operation is possible for AppAds. If you can send us the complete 
request and response logs associated with the operation permitted error, we can 
have a closer look.
Editing existing AppAds is not possible using the Google Ads API. If this 
becomes supported, we will announce it on the Ads Developer blog.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2CSOPt:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/WSGB90QOS8BS00cOaWWHRxRdSV2D_Uu9pe7w%40sfdc.net.


Google Ads API Authentication using service account

2021-02-19 Thread Phil Lachmann
I am creating an Azure function (C# using dotnet core 3.1) that will call 
the Google Ads API. Since this application has no UI I believe that I need 
to use a service account to authenticate.

The code runs and returns an error "authenticationError": "NOT_ADS_USER"

The login that I used to create the service account is a google ads user in 
the ads portal with a role of Admin.

The developer token used has basic access and the manager account is linked 
to the customers account.

The full code and error message is listed below.
*What am I missing?*

GoogleAdsConfig config = new GoogleAdsConfig()
{
   OAuth2Mode = 
Google.Ads.GoogleAds.Config.OAuth2Flow.SERVICE_ACCOUNT,
   OAuth2SecretsJsonPath = pathtojsonfile,
   OAuth2PrnEmail = 
"someth...@somethingelse.iam.gserviceaccount.com",
   OAuth2Scope = "https://www.googleapis.com/auth/adwords;,
   DeveloperToken = ""
};

var responseMessage = "";
var client = new GoogleAdsClient(config);


// Get the GoogleAdsService.
GoogleAdsServiceClient googleAdsService = 
client.GetService(Services.V6.GoogleAdsService);

// Create the query.
string query =
@"SELECT
 campaign.id,
 campaign.name,
 ad_group.id,
 ad_group.name,
 ad_group_criterion.criterion_id,
 ad_group_criterion.keyword.text,
 ad_group_criterion.keyword.match_type,
 metrics.impressions,
 metrics.clicks,
 metrics.cost_micros
 FROM keyword_view
 WHERE segments.date DURING LAST_7_DAYS
 AND campaign.advertising_channel_type = 'SEARCH'
 AND ad_group.status = 'ENABLED'
 AND ad_group_criterion.status IN ('ENABLED','PAUSED')
 ORDER BY metrics.impressions DESC
 LIMIT 50";

try
{
// Issue a search request.
await googleAdsService.SearchStreamAsync(customerId.ToString(), 
query,
delegate (SearchGoogleAdsStreamResponse resp)
{
// Display the results.
foreach (GoogleAdsRow criterionRow in resp.Results)
{
responseMessage +=
"Keyword with text " +

$"'{criterionRow.AdGroupCriterion.Keyword.Text}', match type " +

$"'{criterionRow.AdGroupCriterion.Keyword.MatchType}' and ID " +
$"{criterionRow.AdGroupCriterion.CriterionId} 
in ad group " +
$"'{criterionRow.AdGroup.Name}' with ID " +
$"{criterionRow.AdGroup.Id} in campaign " +
$"'{criterionRow.Campaign.Name}' with ID " +
$"{criterionRow.Campaign.Id} had " +
$"{criterionRow.Metrics.Impressions.ToString()} 
impressions, " +
$"{criterionRow.Metrics.Clicks} clicks, and " +
$"{criterionRow.Metrics.CostMicros} cost (in 
micros) during the " +
"last 7 days.";
}
}
);
}
catch (GoogleAdsException e)
{
responseMessage += "Failure:\n";
responseMessage += $"Message: {e.Message}\n";
responseMessage += $"Failure: {e.Failure}\n";
responseMessage += $"Request ID: {e.RequestId}\n";
throw;
}

return responseMessage;

--
{  
  "StatusCode": 16,  
  "Details": "Request is missing required authentication credential. 
Expected OAuth 2 access token, login cookie or other valid authentication 
credential. See 
https://developers.google.com/identity/sign-in/web/devconsole-project.;,  
  "RequestId": "0Yk2OYrUATjwftZ5I0qi2g",  
  "Failure": {  
"errors": [  
  {  
"errorCode": {  
  "authenticationError": "NOT_ADS_USER"  
},  
"message": "User in the cookie is not a valid Ads user."  
  }  
]  
  }  
}  





-- 


-- 


The content of this message is confidential. If you have received it by 
mistake, please inform us by an email reply, delete the message, and do not 
forward the contents of this message to anyone. The integrity and security 
of this email cannot be guaranteed over the Internet. Therefore, the sender 
and company will not be held liable for any damage caused by the message. 
Finally, the opinions disclosed by the sender do not have to reflect those 
of the company, therefore the company refuses to take any liability for the 
damage caused by the content of this email.


If it is not necessary to 
print this email, please help us keep the environment litter-free

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Get call_view for specific date interval

2021-02-19 Thread maria.r...@funnel.io
Hi the Google ads API support,

We are trying to query the call_view report with specific date intervals 
but since we can't use the segments.date field we are instead trying to use 
the call_view.start_call_date_time to filter the query. But when trying to 
use the 'LIKE' or 'REGEXP_MATCH' we get a 500 server error response. 

We have generated the queries using your Interactive Google Ads Query 
Builder so the queries should be valid.

Ex. 
SELECT call_view.start_call_date_time, call_view.type, 
call_view.call_status, call_view.end_call_date_time, 
call_view.call_tracking_display_location FROM call_view WHERE 
call_view.start_call_date_time REGEXP_MATCH '2020-12-10.*'

Could you please help us?

Best regards,
Maria Ravander
Developer @ Funnel

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/adea73b9-07ae-4a97-ac5e-b94341fc6b5an%40googlegroups.com.


Re: AdSchedule in Google Ads API

2021-02-19 Thread cv
Hello Mat,

Thanks for message.

In this case 'segments.date'(could not support requested resources: 
'CAMPAIGN_CRITERION')

So what I can do here?
I am not getting ALL_TIME data or data is there in Account.


Thanks,


On Friday, 19 February 2021 at 17:13:08 UTC+5:30 Mat wrote:

> Hi cv,
>
> you could check if a very old segments.date raises any errors and if that 
> error message delivers any insights into the date limits you can use. 
> Example
>
> segments.date >= '1970-01-01' AND segments.date <= '2021-02-18'
> (00:00:00 UTC on 1 January 1970 is the "Unix epoch")
>
> or 
>
> segments.date BETWEEN '2000-10-23' AND '2021-02-18'
> (Google AdWords was launched on October 23, 2000)
>
> Regards
> Mat
> cv schrieb am Freitag, 19. Februar 2021 um 10:09:51 UTC+1:
>
>> Hi Mark,
>>
>> Thanks.
>>
>> If I not pass any date range, does that equivalent to ALL_TIME data based 
>> on filters passed?
>> To more specific If I need to have AdSchedule does that return all 
>> current AdSchedule if I not pass any dates?
>>
>>
>>
>> Thanks,
>>
>>
>> On Friday, 19 February 2021 at 13:22:24 UTC+5:30 adsapiforumadvisor wrote:
>>
>>> Hi there,
>>>
>>> Thank you for raising this to us.
>>>
>>> As per this Date Ranges 
>>>  
>>> guide, 
>>> I'm afraid that the ALL_TIME range is still not supported as part of the 
>>> predefined 
>>> date ranges 
>>> .
>>>  
>>> That said, allow me to raise a feature request for this; however, there is 
>>> no guarantee if this will be supported soon. In the meantime, please follow 
>>> our blog 
>>>  for 
>>> updates and new releases.
>>>
>>> Regards,
>>> [image: Google Logo] 
>>> Mark Kevin Albios 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2CSTE8:ref
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/61bb6c45-d1be-4505-b77c-557c5ae26b95n%40googlegroups.com.


Re: Set Campaign Criterion on iOS/Android

2021-02-19 Thread Андрей Ласевичев
I'll give you an example. I want to disable the campaign for mobile devices 
with the iOS operating system.
How do I do this?

Best regards,
Andrey

пятница, 19 февраля 2021 г. в 08:09:13 UTC+5, adsapiforumadvisor: 

> Hi,
>
> Thank you for reaching out.
>
> By iOS/Android campaigns, could you confirm if you are referring to App 
> Campaigns 
> ?
>  
> If yes, devices are also automatically targeted by default when a campaign 
> is created, so your app campaigns should have them as well by default.
>
> As for adding other campaign criteria, you can refer here 
>  
> for the supported criteria types than can be added to your campaign. Let me 
> know if this is what you're looking for.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CSOcY:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/091544fe-6e3e-46e6-83c1-aceb5ccd051bn%40googlegroups.com.


Re: ALL_TIME Equivalent to google ads api

2021-02-19 Thread cv
Hi Sai,

You can see this 2 definitions and results are not matching

Adwords API

$selector->setFields(array('CampaignId', 'CampaignName', 'CampaignStatus', 
'Id', 'CriteriaType', 'Criteria', 'IsNegative'));

$selector->setPredicates([
new Predicate('CampaignStatus', PredicateOperator::IN, 
['ENABLED']),
new Predicate('CriteriaType', PredicateOperator::IN, 
['IP_BLOCK', 'USER_LIST', 'USER_INTEREST', 'LOCATION', 'CONTENT_LABEL', 
'PLACEMENT', 'AD_SCHEDULE']),
]);

 $reportDefinition = new ReportDefinition();

$reportDefinition->setSelector($selector);
$reportDefinition->setReportName($reportName);
$reportDefinition->setDateRangeType($dateRangeType);
$reportDefinition->setReportType(CAMPAIGN_CRITERIA_REPORT);
$reportDefinition->setDownloadFormat(DownloadFormat::CSV);
   
$reportSettingsOverride = (new 
ReportSettingsBuilder())->includeZeroImpressions(TRUE)->skipReportHeader(true)->build();


Google Ads API

SELECT campaign.id, campaign.name, campaign.status, 
campaign_criterion.criterion_id, campaign_criterion.type, 
campaign_criterion.negative, 
campaign_criterion.user_interest.user_interest_category, 
campaign_criterion.ip_block.ip_address, 
campaign_criterion.location.geo_target_constant, 
campaign_criterion.user_list.user_list, 
campaign_criterion.content_label.type, campaign_criterion.placement.url, 
campaign_criterion.ad_schedule.day_of_week, 
campaign_criterion.ad_schedule.end_hour, 
campaign_criterion.ad_schedule.start_hour, campaign_criterion.status FROM 
campaign_criterion  WHERE campaign.status IN (ENABLED) AND 
campaign_criterion.type IN 
(IP_BLOCK,USER_LIST,USER_INTEREST,LOCATION,CONTENT_LABEL,PLACEMENT,AD_SCHEDULE)


Thanks,




On Wednesday, 31 July 2019 at 21:21:05 UTC+5:30 adsapiforumadvisor wrote:

> Hello Chirag,
>
> If you are still facing the error, please share the report definitions in 
> AdWords API and in Google Ads API to compare.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UEH8xa:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eaba3d15-c289-4109-b445-0269211a1e47n%40googlegroups.com.


Campaign conversion action set

2021-02-19 Thread 'v-u...@expediagroup.com' via AdWords API and Google Ads API Forum
Hi,

I want to set up conversion action set for campaign, via api calls. 
I 'm however able to set conversion action for campaign via api calls but 
couldn't find the specific service for setting conversion action set.

If you could please guide.
Also if you can share the python example.

Thanks,
Urmisa Saha

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b5ae68b3-5661-4ee0-910e-3f0233c81949n%40googlegroups.com.


New Google Ads API documentation page not available

2021-02-19 Thread Hoang Chu
I've been trying to get documentation from the new Google Ads API from this 
website https://developers.google.com/google-ads/api/docs/start, but it's 
been down for a while.

Any insiders who may know what's going on and / or whether it'll be online 
again anytime soon?

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0586fcb0-bb89-44f5-aeb1-b3617a08bd33n%40googlegroups.com.


Re: AdSchedule in Google Ads API

2021-02-19 Thread Mat
Hi cv,

you could check if a very old segments.date raises any errors and if that 
error message delivers any insights into the date limits you can use. 
Example

segments.date >= '1970-01-01' AND segments.date <= '2021-02-18'
(00:00:00 UTC on 1 January 1970 is the "Unix epoch")

or 

segments.date BETWEEN '2000-10-23' AND '2021-02-18'
(Google AdWords was launched on October 23, 2000)

Regards
Mat
cv schrieb am Freitag, 19. Februar 2021 um 10:09:51 UTC+1:

> Hi Mark,
>
> Thanks.
>
> If I not pass any date range, does that equivalent to ALL_TIME data based 
> on filters passed?
> To more specific If I need to have AdSchedule does that return all current 
> AdSchedule if I not pass any dates?
>
>
>
> Thanks,
>
>
> On Friday, 19 February 2021 at 13:22:24 UTC+5:30 adsapiforumadvisor wrote:
>
>> Hi there,
>>
>> Thank you for raising this to us.
>>
>> As per this Date Ranges 
>>  guide, 
>> I'm afraid that the ALL_TIME range is still not supported as part of the 
>> predefined 
>> date ranges 
>> .
>>  
>> That said, allow me to raise a feature request for this; however, there is 
>> no guarantee if this will be supported soon. In the meantime, please follow 
>> our blog 
>>  for 
>> updates and new releases.
>>
>> Regards,
>> [image: Google Logo] 
>> Mark Kevin Albios 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2CSTE8:ref
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2ea356b5-7979-494e-864d-b1c2dbbe7054n%40googlegroups.com.


Reach Metric

2021-02-19 Thread Darkhan Rysbek
Hi!

Is there a way to get a reach metric for a campaign through the Google Ads 
API (like clicks, impressions, interactions)?

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7ba8e248-e4fd-4142-9db2-f232845e837an%40googlegroups.com.


Re: How to get count of keyword ideas from the Targeting idea service of the AdWords API

2021-02-19 Thread Uros Kovacevic
Hello again,

We are trying to get the total count of keywords from the google AdWords 
API using a certain categoryID by searching with this search parameter 
,
 
like in these categories here 
,
 
the problem is the results are paginated and limited to 700, and with a 
parameter like a categoryID for instance - computer parts, the results are 
in the millions even billions.

We just need the count of keywords not the actual objects, so it doesn't 
make sense to loop over the pages and retrieve all of the objects in order 
to get a single number(count).

Is it possible to get this number anywhere in the response, or at least the 
total number of pages needed to loop over and get all the results, it would 
make sense to put this in if it is not, for users that need to get all of 
the data currently the best solution is to make a while loop that checks if 
there are pages left, and if so, make a new request, this is very daunting 
work as we don't even know how many requests we have to make in order to 
get all the keywords.

At least with the number of pages we can use a for loop which saves us from 
writing a lot of boilerplate code, and opens up possibilities to get 
additional data like - count in one API call.

Is this possible? Does the API even know the total number of results for a 
search parameter? Or are the results already indexed and limited in the 
database and the API only knows about the first 700, and when you make a 
call to the next page it starts from the previous index?

Would love some more explanation about this.

Thank you for all your help!
Uros

On Thursday, February 18, 2021 at 11:53:00 AM UTC+1 adsapiforumadvisor 
wrote:

> Hi Uros,
>
> Thank you for the reply.
>
> Could you provide more details on the question that you recently sent so I 
> check if it is possible using AdWords API?
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CRrzc:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3329a891-858a-4172-b8f1-466565a1a8a7n%40googlegroups.com.


Re: AdSchedule in Google Ads API

2021-02-19 Thread cv
Hi Mark,

Thanks.

If I not pass any date range, does that equivalent to ALL_TIME data based 
on filters passed?
To more specific If I need to have AdSchedule does that return all current 
AdSchedule if I not pass any dates?



Thanks,


On Friday, 19 February 2021 at 13:22:24 UTC+5:30 adsapiforumadvisor wrote:

> Hi there,
>
> Thank you for raising this to us.
>
> As per this Date Ranges 
>  guide, 
> I'm afraid that the ALL_TIME range is still not supported as part of the 
> predefined 
> date ranges 
> .
>  
> That said, allow me to raise a feature request for this; however, there is 
> no guarantee if this will be supported soon. In the meantime, please follow 
> our blog 
>  for 
> updates and new releases.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CSTE8:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a0618457-49d4-44a0-adab-e36ecf47d4dcn%40googlegroups.com.


Re: Issue with GEO_PERFORMANCE_REPORT

2021-02-19 Thread Pismarev Vitaly
No, 6882030488 is not a manager. 

But it seems like there is no way to pass login_customer_id in the 
DownloadReportAsStringWithAwql

I got the error
googleads.errors.GoogleAdsValueError: The provided keyword 
"login_customer_id" is invalid. Accepted keywords are: 
dict_keys(['client_customer_id', 'include_zero_impressions', 
'skip_report_header', 'skip_column_header', 'skip_report_summary', 
'use_raw_enum_values'])


пятница, 19 февраля 2021 г. в 10:28:13 UTC+3, deb...@gmail.com: 

> I've seen this happen for me (data in CAMPAIGN report but not in GEO). Do 
> not exactly recall what the issue was, but on a chance: In the scripts, is 
> the customer you are logged in as the manager of 6882030488? Is it possible 
> that you need then to set, in the API call, login-customer-id 
> ?
>  
>
>
> On Thursday, February 18, 2021 at 11:05:51 PM UTC-8 pvv...@gmail.com 
> wrote:
>
>>
>> Addition:
>>
>> We have a script from Google Ads Team running in Bulk Actions. 
>> It gets data from GEO_PERFORMANCE_REPORT using the same query
>>
>> пятница, 19 февраля 2021 г. в 09:39:05 UTC+3, Pismarev Vitaly: 
>>
>>> We faced some issues with loading reports with using Python Api.  The 
>>> GEO_PERFORMANCE_REPORT is empty always, meanwhile 
>>> CAMPAIGN_PERFORMANCE_REPORT is loading well. 
>>> client_customer_id=6882030488
>>>
>>> We are using scripts in Google Ads right now. However, it would be 
>>> better for us to use Python Api.
>>>
>>>
>>> _report_fields = [
>>> "Date",
>>> "CountryCriteriaId",
>>> "AccountDescriptiveName",
>>> "AdNetworkType1",
>>> "CampaignName",
>>> "CampaignId",
>>> "CampaignStatus",
>>> "Clicks",
>>> "Impressions",
>>> "Cost",
>>> "Conversions"
>>> ]
>>>
>>> query = (adwords.ReportQueryBuilder()
>>> .Select(*_report_fields)
>>> #.From("CAMPAIGN_PERFORMANCE_REPORT")
>>> .From("GEO_PERFORMANCE_REPORT")
>>> .During('TODAY')
>>> .Build())
>>>
>>> report_downloader = adwords_client.GetReportDownloader()
>>>
>>> data = report_downloader.DownloadReportAsStringWithAwql(
>>> query,
>>> 'CSV',
>>> client_customer_id=6882030488,
>>> skip_report_header=True,
>>> skip_column_header=True,
>>> skip_report_summary=True
>>> )
>>>
>>> Could anyone help us with this issue?
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2e8fac13-1d4b-43cd-a73c-b2a660cbbb4an%40googlegroups.com.


Re: MutateCampaigns - adding/removing proximities

2021-02-19 Thread Google Ads API Forum Advisor Prod
Hi Kyle,

Thanks for getting back to us. I work with Anthony and allow me to assist you 
this time.

With regard to the REST API that you're asking, you can refer to this REST 
Interface guide of the Google Ads API. You can also refer to the Perl library 
as it is implemented on top of the REST interface. In the previous response, 
Anthony provided you an example on how Target campaigns for proximity to a 
location. You can refer to the Perl implementation instead for your REST sample.

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2CQAM8:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/nJtxo0QORP38009SDvEjzZRRCu53R_574F3A%40sfdc.net.


How to obtain a developer token?

2021-02-19 Thread Hoang Chu
According to some tutorials I can obtain a develop token through Tools > 
Setup > API Center. But in my case I don't see a Setup menu item under 
Tools.

I also notice that some of the Ads API related links are current not 
available, such as https://developers.google.com/google-ads/api/.

How can I obtain a developer token for interacting with Google Ads API?


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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ee7f12fd-5b75-49e4-9366-235b8d84a106n%40googlegroups.com.