Extending invitation returns [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], RequiredError.REQUIRED @ operations[0].operator]

2020-02-12 Thread Pete Saia
With a properly authenticated request, extending an invitation consistently 
returns the following error:

soap:Server[OperatorError.OPERATOR_NOT_SUPPORTED
 
@ operations[0], RequiredError.REQUIRED @ operations[0].operator]
https://adwords.google.com/api/adwords/mcm/v201809; xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201809;>[OperatorError.OPERATOR_NOT_SUPPORTED
 
@ operations[0], RequiredError.REQUIRED @ operations[0].operator]
ApiException
http://www.w3.org/2001/XMLSchema-instance; xsi:type="ns2:OperatorError"
>operations[0]
operations
0

OperatorError.OPERATOR_NOT_SUPPORTED
OperatorErrorOPERATOR_NOT_SUPPORTED
http://www.w3.org/2001/XMLSchema-instance; xsi:type="ns2:RequiredError"
>operations[0].operator
operations
0

operator

RequiredError.REQUIREDRequiredError
REQUIRED



Request payload:

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

  https://adwords.google.com/api/adwords/mcm/v201809;>
Adoro/1.0.0
XXX
XXX (this matches the clientCustomerId  below)

  

http://schemas.xmlsoap.org/soap/envelope/;>
  https://adwords.google.com/api/adwords/mcm/v201809;>

  ADD
  
XXX
XXX
PENDING
My Invitation
false
  

  

  

Some other notes:

   - I'm not using an official client library. 
   - Other requests work as expected using the same request token/headers.
   - Extending the request through the Adwords UI/dashboard works as 
   expected.


Any insight would be greatly appreciated. 

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/91904159-bce6-4372-a7c4-ab3209fb430f%40googlegroups.com.


Re: Help with authentication exception

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hello Judah,

The PERMISSION_DENIED error typically happens when there is no link between 
your manager and client account or if your OAuth credentials are for a user who 
does not have access to the client customer ID specified or any of its manager 
accounts.

To further investigate this, can you try to get the requestId  from your API 
call? Please reply privately to author with this information.

Thanks,
Anthony
Google Ads API Team
ref:_00D1U1174p._5001UV0Mwm: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/yk0Mq0Q5LX15001snbeqaiTs-pXrWOfrZrgQ%40sfdc.net.


RE: Using python3 for campaigns report

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hi Olesya,

Could you please try the following:
1. pip uninstalled googled-ads
2. pip3.7 installed google-ads

Please let me know if the issues persists.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UV0bNE: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/aLR4f0Q5LX0D00fvg98ZP7Q6uYcUymeoeR3A%40sfdc.net.


RE: Get the creation Date of Keyword, Ad, Adgroup, etc with API

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. The created date of ad_group is currently not 
supported in the Google Ads API. I have submitted a feature request to include 
this field for the AdGroup in the Google Ads API. Please keep an eye on our 
blog for announcements and the updates on new releases.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UV0ZoS: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/k07oD0Q5LWTP00DQOU0FIMTP-HuAfnsZRlJw%40sfdc.net.


RE: Retrieve account creation date

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hello,

Thank you for reaching out. With regards to your concern, the start date field 
is currently not available with the ad groups. As a work around, you could
segment the Ad Group Performance report by date and check zero impressions. 
There could be a chance that the ad groups were not created before then. Also, 
I have raised a feature request on your behalf internally within our team. 
Please keep an eye on our blog post for updates related to this.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UV0ZnU: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/UmIzV0Q5LVYW00ZJ54aDaGQa2UM5PztPcTVQ%40sfdc.net.


Re: ConversionUploadService

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hello,

Could you please confirm if you are following the steps mentioned in this guide 
to access the AdWords API with service accounts. If yes, please refer to this 
section of the guide which will help you to configure the client library for 
your service account. The steps for .Net client libraries are mentioned here 
which will guide you to setup OAuth2 for API access using your own credentials. 
Please give this a try and let me know if the issue persists. Also, we strongly 
recommend using installed app or web flows instead of service accounts unless 
you need domain-specific features (for example, impersonation).

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UUzynP: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/pbx_20Q5LVQ200PuiUgo8oTIKBHyufD7WO9Q%40sfdc.net.


RE: Click Performance Report

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hi Koshish,

Thank you for reaching out to us. You should be able to get 
UnexpandedFinalUrlString from the Landing Page Report. Let me know if you have 
further questions.

Thank you,
Bryan, Google Ads API Team
ref:_00D1U1174p._5001UV0ZaV: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/EB2v10Q5LUV900cExX8CLgScSP7ZAE13PuuQ%40sfdc.net.


Re: Adwords API Video campaigns

2020-02-12 Thread Ryan Allan
Hi, any update on being able to mutate video campaigns via the API (e.g. 
change daily budgets, or max CPV)?

On Sunday, August 4, 2019 at 11:31:53 PM UTC-6, adsapiforumadvisor wrote:
>
> Hi Billy,
>
> We already raised a feature request to our engineering team so that 
> managing of video campaign will be supported in AdWords API.
>
> However, my apologies as I don't have a definite timeline on when this 
> feature will be supported.
>
> This said, please continue to follow our blog 
>  to 
> receive future updates such as new releases.
>
> Regards,
> Ejay
> Google Ads API Team
>
> ref:_00D1U1174p._5001UEHkhw: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/f55b8cbd-7815-496f-a8f3-afe7280658b0%40googlegroups.com.


Unexpected internal API error

2020-02-12 Thread Ignacio Guillermo Martinez
Hello, I am running into some trouble when adding criteria to an adgroup.

Traceback (most recent call last):
  File 
"/usr/local/anaconda3/lib/python3.7/site-packages/googleads/common.py", 
line 992, in MakeSoapRequest
*packed_args, _soapheaders=soap_headers)['body']['rval']
  File "/usr/local/anaconda3/lib/python3.7/site-packages/zeep/proxy.py", 
line 45, in __call__
kwargs,
  File 
"/usr/local/anaconda3/lib/python3.7/site-packages/zeep/wsdl/bindings/soap.py", 
line 130, in send
return self.process_reply(client, operation_obj, response)
  File 
"/usr/local/anaconda3/lib/python3.7/site-packages/zeep/wsdl/bindings/soap.py", 
line 195, in process_reply
return self.process_error(doc, operation)
  File 
"/usr/local/anaconda3/lib/python3.7/site-packages/zeep/wsdl/bindings/soap.py", 
line 299, in process_error
detail=fault_node.find("detail"),
zeep.exceptions.Fault: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "add_audiences.py", line 79, in 
main(adwords_client, '')
  File "add_audiences.py", line 60, in main
response = ad_group_criterion_service.mutate(operations)
  File 
"/usr/local/anaconda3/lib/python3.7/site-packages/googleads/common.py", 
line 1004, in MakeSoapRequest
e.detail, errors=error_list, message=e.message)
googleads.errors.GoogleAdsServerFault: 
[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]


My code attempts to add 19 separate criteria to an adgroup given its ID, 
however it is always returning this error. You can find my code attached in 
this message also, so the error can be reproduced. 

Thanks for your time

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/940f14bf-c6c3-4e1a-89fc-ea67f5c02ba6%40googlegroups.com.
# @author jasperan

'''
This code adds audiences at the adgroup level. A list of these audiences can be found in here:

https://developers.google.com/adwords/api/docs/appendix/codes-formats

Valid affinity categories and corresponding criterion IDs used in CriterionUserInterest.
We can also retrieve this list via the getUserInterestCriterion method of ConstantDataService by passing userInterestTaxonomyType = BRAND.
'''

from googleads import adwords

# Total of 21 audiences.
audience_ids = [80141, 92949, 92947, 93034, 93014, 92945, 93015, 93017, 80237, 93002, 92948, 80191, 80545, 92901, 80142, 80133, 93028, 80140, 93040]


def main(client, ad_group_id):
	# Initialize appropriate service.
	ad_group_criterion_service = client.GetService(
			'AdGroupCriterionService', version='v201809')

	# Create the ad group criteria.
	'''
	# Example object:
	ad_group_criteria = [
			# Targeting criterion.
			{
	'xsi_type': 'BiddableAdGroupCriterion',
	'adGroupId': ad_group_id,
	'criterion': {
			'xsi_type': 'CriterionUserInterest',
			'id': audience_ids[0]
	}
			}
	]
	'''

	ad_group_criteria = list()
	for i in audience_ids:
		aux_obj = dict()
		aux_obj['xsi_type'] = 'BiddableAdGroupCriterion'
		aux_obj['adGroupId'] = ad_group_id
		criterion_obj = dict()
		criterion_obj['xsi_type'] = 'CriterionUserInterest'
		criterion_obj['id'] = str(i)
		aux_obj['criterion'] = dict(criterion_obj)
		ad_group_criteria.append(aux_obj)

	print('Full object: {}'.format(ad_group_criteria))
	
	# Create operations.
	operations = []
	for criterion in ad_group_criteria:
		operations.append({
'operator': 'ADD',
'operand': criterion
		})

	response = ad_group_criterion_service.mutate(operations)

	if response and response['value']:
		criteria = response['value']
		for ad_group_criterion in criteria:
			criterion = ad_group_criterion['criterion']
			print('Ad group criterion with ad group ID %s, criterion ID %s and '
		'type "%s" was added.' %
		(ad_group_criterion['adGroupId'], criterion['id'],
		 criterion['type']))
	else:
		print('No criteria were returned.')
	


if __name__ == '__main__':
	# Initialize client object.
	adwords_client = 

Re: How to get the product count of any shopping campaign ?

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hi Faizan,

If you see any discrepancies between the report metrics and data from the UI, 
could you please send us both screenshots as long as the report definition and 
the client customer Id via the Reply privately to author option? All I can see 
now is one screenshot with the product data.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UV0QuU: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/G2IWP0Q5LSTG00kjwn0pMuTB2pAl9HGfnueA%40sfdc.net.


RE: Is it possible to get Hotel Ads campaigns list and statistics for them via AdWords API? or it only is possible with new Google Ads API?

2020-02-12 Thread Google Ads API Forum Advisor Prod
Hi El?bieta,

Thank you for reaching out. As explained here, hotel campaigns are only 
available in Google Ads API. Unfortunately, I can't comment on when Google Ads 
API will exit beta but you can keep an eye on our Developer Blog for 
information on future releases.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001UV0aU4: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/-7irX0Q5LNFZ008hbyIhBgTLWl2Q3v5ZcKRQ%40sfdc.net.


Re: Help with authentication exception

2020-02-12 Thread Judah Wright
The kind folks over on the library Github page linked me to the docs on how 
to enable logging 
 
within the library.

After doing so, this is what appeared in the system log:

[2020-02-12 15:39:45] local.ERROR: {
"message": "Request had insufficient authentication scopes.",
"code": 7,
"status": "PERMISSION_DENIED",
"details": []
} {"exception":"[object] (Google\\ApiCore\\ApiException(code: 7): {
\"message\": \"Request had insufficient authentication scopes.\",
\"code\": 7,
\"status\": \"PERMISSION_DENIED\",
\"details\": []
} at /redacted/vendor/google/gax/src/ApiException.php:139)

This library does not appear to be logging any service calls. A quote from 
"fiboknacky":

> Thanks for trying. Could you please continue communicating with the agent 
> on the forum? Thanks.
>

How do we move forward from here?

On Tuesday, February 11, 2020 at 2:18:44 PM UTC-7, Judah Wright wrote:
>
> Sounds good. I posted a reply 
> 
>  
> asking if there was any way to troubleshoot.
>
> On Tuesday, February 11, 2020 at 12:45:21 PM UTC-7, adsapiforumadvisor 
> wrote:
>>
>> Hi Judah,
>>
>> You will need to follow up on your thread with the client library owners 
>> to see if there is a debug mode for the PHP library. 
>>
>> Thanks,
>> Anthony
>> Google Ads API Team
>>
>> ref:_00D1U1174p._5001UV0Mwm: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/41c9fe0f-4a62-4dca-9e50-82edd0151190%40googlegroups.com.


Using python3 for campaigns report

2020-02-12 Thread Олеся Васина
Hello!
I am trying to get stats from campaign report and got an error module 
'google.ads.google_ads.v2.proto.errors' has no attribute 'errors_pb2'.

Here is a part of code:

client = GoogleAdsClient.load_from_string(yaml.safe_dump(adwords_client_config))


ga_service = client.get_service('GoogleAdsService', version='v2')

query = """
SELECT
  campaign.name,
  campaign.status,
  segments.device,
  metrics.impressions,
  metrics.clicks,
  metrics.ctr,
  metrics.average_cpc,
  metrics.cost_micros
FROM campaign
WHERE segments.date DURING LAST_30_DAYS
"""
response = ga_service.search(client_customer_id, query, 1000)
for row in response:
print(row)


Please help me with this error.

Thanks a lot!

Olesya

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52264b6d-22bc-4667-86c2-a6af9a62cd92%40googlegroups.com.


Is it possible to get Hotel Ads campaigns list and statistics for them via AdWords API? or it only is possible with new Google Ads API?

2020-02-12 Thread Elżbieta Jakubska
Hi,

Is it possible to get Hotel Ads campaigns/adgroups list and statistics for 
them via AdWords API? or it only is possible with new Google Ads API?

I was trying to get data from ADGROUP_PERFORMANCE_REPORT WHERE AdGroupType 
= 'HOTEL_ADS', but it doesn't work.

If it is possible only with new API, do you know maybe when we can expect 
the stable version of the API?


Thank you for the response!

Ela

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fd17c472-b9c8-419e-8f40-480ce5d66bc9%40googlegroups.com.


Re: Get the creation Date of Keyword, Ad, Adgroup, etc with API

2020-02-12 Thread Webs
is this possible in google ads api v2 as it is updated version of google 
ads so I hope now we can get created date of ad_group

On Monday, July 8, 2013 at 8:31:45 PM UTC+5:30, SylvainFR wrote:
>
> Hello,
>
>
> Is that possible to get the *date of creation* (insertion) of a keyword 
> ore ad, adgroup with an API resquest ? 
>
> I did not get any informations about this in documentation.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d3a6317b-2dde-48d3-bf79-bcdea84cdd93%40googlegroups.com.


Re: Retrieve account creation date

2020-02-12 Thread Webs
Hello there,

I am stuck in a problem. I have to show the create date of a ad_group so is 
there any way to get the started date of ad_group in google ads api or 
another alternate solution ?

On Friday, June 24, 2016 at 1:32:54 AM UTC+5:30, te...@segment.com wrote:
>
> I've been trying to find the created date of the AdWords account so that I 
> can fetch reports (using min / max date ranges) in increments so that users 
> can see how stats grew over time. Without knowing the creation time of an 
> account, I just have to set an arbitrary min time for the first increment. 
> I saw this thread (
> https://groups.google.com/forum/#!topic/adwords-api/32TomWaxyd4) and it 
> asked for a use case so I thought I'd repost because it's quite old. Do you 
> have any recommendations for this use case?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f43ffc65-10be-4301-ba4e-fda179cc08db%40googlegroups.com.


Click Performance Report

2020-02-12 Thread Koshish Rijal
Hey can we get UnexpandedFinalUrlString  field in this report?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4272aeb6-b888-4233-a552-e4f8fa2aa1d6%40googlegroups.com.


any api to get user's account access level?

2020-02-12 Thread Zhi
any api to get user's account access level?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/34f8881a-3c47-4ee8-911c-dd8801a191d3%40googlegroups.com.


Re: ConversionUploadService

2020-02-12 Thread p clara
Thank you for your response.

We generated new credentials and tried to use them is both ways described 
above and now we have another error: 
“Google.Apis.Auth.OAuth2.Responses.TokenResponseException: 
Error:"invalid_grant", Description:"Invalid grant: account not found".
>From what I understand we have we also have to set the AccessType to offline. 
I did not found a way to do in C# code, I added   to the App.config file.


On Tuesday, February 11, 2020 at 10:47:08 PM UTC+2, adsapiforumadvisor 
wrote:
>
> Hello,
>
> From the shared details, it looks like there could be an issue with 
> your OAuth2 Credentials. Could I please request regenerating a new set of 
> credentials by following this guide 
> , 
> update your ads.properties with the newly created credentials and retry the 
> request? Please give this a try and if the issue persists, could you please 
> share the complete request and response logs along with the client customer 
> id and email address used while generating the OAuth2 credentials for me to 
> investigate this further on my end?
>
> P.S. Please use *Reply privately to author* option for sharing the 
> details for investigation.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UUzynP: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/d4c4cc3b-2ce9-4b32-b7aa-33426122187e%40googlegroups.com.


Re: How to get the product count of any shopping campaign ?

2020-02-12 Thread Faizan Zulfiqar
Hi Xiaoming,

I have used the same method but the products I am getting not matching with 
the number of products showing when hovering on product groups. I am 
attaching the screenshot for your reference.

[image: adword.png]

Kindly tell me what am i doing wrong 
Thank you



On Tuesday, February 11, 2020 at 9:19:29 PM UTC+5, adsapiforumadvisor wrote:
>
> Hi Faizan,
>
> Thanks for reaching out. You could use the Shopping Performance report 
> 
>  
> to retrieve the products of a campaign if you specify the CampaignId 
> 
>  
> in the WHERE clause. The campaign statistics aggregated at the product (
> OfferId 
> 
>  
> field) level. You could retrieve the fields that you are interested in by 
> specifying them in the SELECT clause. Please let me know if you have any 
> further concerns.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>  
>
> ref:_00D1U1174p._5001UV0QuU: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/94385f14-ef9c-416d-9eb7-5f4e53d8fe95%40googlegroups.com.