Google Ads hotel performance view report

2023-09-20 Thread Shreya Arora
Hi team, 

I would like to know that how can I use the information about guests 
breakout in the hotel performance view report of google ads ?
Is there any specific column which I can leverage for this information ?
Any help is 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 
"Google Ads API and AdWords 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/4b1d19de-3826-434e-8d9d-bae0ab910873n%40googlegroups.com.


Duplicate rows from google campaign_criterion report

2023-08-24 Thread Shreya Arora
Hello team,

I am currently using campaign_criterion reports from google ads api to 
retrieve following columns: 
1. campaign.id
2. campaign.name
3. campaign.status
4. campaign.advertising_channel_type
5. campaign.bidding_strategy_type
6. campaign_criterion.location.geo_target_constant

I am combining these columns with the following columns from 
customer_client report
1. customer_client.id
2. customer_client.descriptive_name

But I am getting a lot of duplicate rows in the dataset. Can you please 
help me with this. Is there any primary key from campaign_criterion which I 
can use to avoid duplicate rows ?
Thank you in advance.

Regards
Shreya Arora

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/d3e94b1d-a328-433a-b348-413dbc56ced5n%40googlegroups.com.


Device level bid adjustment field

2023-05-07 Thread SHREYA ARORA
Hi team,

I am looking for having column for device level bid adjustments (in 
percentage) from campaign report. Which fields I should use to achieve this 
?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/5142c328-cc34-4ca8-82d6-1e88ed2bd297n%40googlegroups.com.


Target Country Code for a Campaign

2023-05-03 Thread SHREYA ARORA
Hello team,

I want to get following information at the campaign level:
campaign id, campaign name, customer id, customer name, campaign status, 
campaign bidding strategy type, device and location (in terms of 2 letter 
country code)

I am able to figure out about all the fields except location. Can you tell 
me which report I should refer to get this information along with 2 letter 
country code ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/dbb051e9-f218-4c41-bcbc-081b97970766n%40googlegroups.com.


Re: IncomeRange

2018-01-07 Thread Shreya Dama


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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: IncomeRange

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

from googleads import adwords

ADGROUP_ID = 'x'

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

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

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

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

  main(adwords_client, ADGROUP_ID)

*The response i Get is:*

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

Traceback (most recent call last):


File "", line 1, in 

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


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

execfile(filename, namespace)


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

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


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

main(adwords_client, ADGROUP_ID)


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

operations)['value']


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

self._packer) for arg in args])


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

return client.invoke(args, kwargs)


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

result = self.send(soapenv)


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

description=tostr(e), original_soapenv=original_soapenv)


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

raise WebFault(fault, replyroot)


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




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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


IncomeRange

2017-12-28 Thread SHREYA
When I use Google Adwords to target IncomeRange, I got an error saying 
"*criterion 
ID required*", but there are no constant codes for IncomeRange. Could you 
please help me with it.

Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Criterion ID

2017-11-20 Thread SHREYA
when i give criterion ID as input, it is showing an "invalid criterion id" 
error. how do i know which criterion id is to be used for various targeting 
fields(eg:content label, criterion user list"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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