Trouble in Delete user_list

2020-12-11 Thread Vikram Singh
I'm not able to delete a selected userlist, code is as below 

*var userClient = 
client.GetService(Services.V3.UserListService);*
*UserListOperation operation = new UserListOperation()*
*{*
*Remove = resource_name,*
*};*
*var audience = userClient.MutateUserLists(customer_Id, 
new[] { operation });*

I'm getting this error :

{{"errorCode":{"userListError":"USER_LIST_MUTATE_NOT_SUPPORTED"},"message":"Creating
 
user list without setting type in oneof user_list field, or 
creating/updating read-only user list types is not 
allowed.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":"0"}]}}}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a9a35c6c-af67-4399-b23b-83f8dd509d26n%40googlegroups.com.


RE: Internal error on Change Events API

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

We pushed a fix recently to our servers. Could you try it out and let me know 
if this solves the error? If not, please send me a fresh log so I can pass it 
onto the relevant teams.

Cheers
Anash
ref:_00D1U1174p._5004Q27wIkG: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/RHRGL0QL74YV00WzNO15OsQMmSnfPbVFatEQ%40sfdc.net.


Re: V6 Reporting Documentation Incorrect

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

I've asked the Conversions team to take a look. I'll let you know as I hear 
from them.

Cheers
Anash
ref:_00D1U1174p._5004Q28lroo: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/MtCXc0QL74PC00myFeDRq_SWmjfEiNvoBglg%40sfdc.net.


RE: Internal error with version 6

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

You can share with me your request and response through reply privately so that 
I can take a closer look.

Thanks,
Anthony
Google Ads API Team

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q28p8If: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/VtBra0QL747L001StRDEHZRm2yX5outJ3VXQ%40sfdc.net.


RE: How to get customer id from credentials

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

Thank you for reaching out. To fetch the user customer id based on their 
credentials, you could use CustomerService.ListAccessibleCustomers via the 
Google Ads API to achieve it if the user authenticates with their manager 
account. However, if this does not work, please try to use 
CustomerService.getCustomers() via the AdWords API to fetch the user customer 
id.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q28oyoA: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/D0y3g0QL70R700BzIo8wuNTgikgcOaaZWZig%40sfdc.net.


How to exclude BiddableAdGroupCriterion instead of deleting it?

2020-12-11 Thread Yuri Barsuk
I can MANUALLY change product partition from biddable to excluded and 
opposite, through adwords web interface.
Unfortunately I CANNOT figure out how to do so with adwords API. PLEASE HELP


My product partition was manually excluded in adwords web interface. 
Before that it was added with adwords API as 'AdGroupCriterion.Type': 
'BiddableAdGroupCriterion'
After MANUAL exclusion the GET adwords API returns following:
{
'adGroupId': 105368221850L,
'criterionUse': 'NEGATIVE',
'criterion': {
'id': 337622483964L,
'type': 'PRODUCT_PARTITION',
'Criterion.Type': 'ProductPartition',
'partitionType': 'UNIT',
'parentCriterionId': 293946777986L,
'caseValue': {
'ProductDimension.Type': 'ProductOfferId',
'value': '621444'
}
},
'labels': [],
'forwardCompatibilityMap': [],
'baseCampaignId': None,
'baseAdGroupId': None,
'AdGroupCriterion.Type': 'NegativeAdGroupCriterion'
}

NOW I try to SET it  biddable once again as it was initially added, with 
following adwords API call:
 >> {'xsi_type': 'AdGroupCriterionOperation', 'operator': 'SET', 'operand': 
{'adGroupId': 105368221850L, 'criterion': {'id': 337622483964L}, 
'xsi_type': 'BiddableAdGroupCriterion'}}

I get API response with following error:
 >> Operation 0 FAILD WITH ERROR: trigger=None | 
error=AdGroupCriterionError.CANT_UPDATE_NEGATIVE | 
path=operations[0].operand
 
PLEASE HELP. I need to preserve product partition performance by setting it 
excluded instead of removing it

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2ed33a02-c296-44e8-9121-8a41892c9484n%40googlegroups.com.


Re: customerClientLinks:mutate through REST API

2020-12-11 Thread Steve Wilcox
This is precisely the payload I'm trying to use.  Groups is telling me I 
don't have access to reply privately to author, so if you want to email me 
direclty, I can send you the precise payload I'm using.

Thanks!

On Thursday, December 10, 2020 at 2:25:01 PM UTC-7 adsapiforumadvisor wrote:

> Hi Steve,
>
> Thank you for reaching out. Please give it a try to use the following JSON 
> payload:
>
>
> {
>
>   "operations": [
>
>   {
>
>  "updateMask": "status",
>
>  "update": {
>
>   "resourceName": 
> "customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}",
>
>   "status": "INACTIVE"
>
>  }
>
>   }
>
>   ]
>
> }
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q28odRG: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/58b2de12-8821-4322-9962-af19203b4913n%40googlegroups.com.


Matching Shopping Data to the UI

2020-12-11 Thread alexande...@vogliomarketing.com
Hello,
I am noticing that the metrics, mainly clicks, conversions, cost, 
impressions, in my SHOPPING_PERFORMANCE_REPORT and the shopping campaigns 
from ADGROUP_PERFORMANCE_REPORT, pulled from the API no longer seems to be 
matching up with what I'm seeing in the Adwords UI when looking at Shopping 
campaigns. 

Focusing on the SHOPPING_PERFORMANCE_REPORT, clicks, cost, and conversions 
seem to be undercounting, while impressions are hugely overcounted, similar 
to this person:
https://groups.google.com/g/adwords-api/c/rXhfyUpyBMA/m/IHwywfOPAQAJ

Looking at the offer IDs returned by the SHOPPING_PERFORMANCE_REPORT I'm 
also seeing the issue of products which aren't in the merchant center 
showing up in the shopping_performance_report, similar to this person:
https://groups.google.com/g/adwords-api/c/2Q-ICv-dMBU/m/ayW3GBEBAgAJ

These are the fields I'm requesting for my SHOPPING_PERFORMANCE_REPORT:
['AccountDescriptiveName', 'OfferId', 'AdGroupId', 'AdGroupStatus', 
'CampaignId', 'Device', 'Date', 'Clicks', 'Conversions','Cost','Impressions', 
'ConversionValue']


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/988ea364-8674-4c85-9b0f-622e623df1e7n%40googlegroups.com.


RE: How to escape single quotes in Google Ads API query language?

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

Thank you for reaching out. Can you please modify the query so that outer 
single quotes are not escaped and retry the call?

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q28otkR: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/HvbH70QL6WPM00907sW73aTCCoK2wqhBh1xQ%40sfdc.net.


Re: Smart Campaigns from the ad group ad report

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

You can email us directly at googleadsapi-supp...@google.com if you are unable 
to reply privately.

Regards,
Anthony
Google Ads API Team

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q25XNQV: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/tv7Ve0QL6TAU00N38_cBjhRUS7VDrrQvPVEA%40sfdc.net.


RE: Shopping Campaigns

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

Thanks for reaching out. You can use the shopping performance view and segment 
by product item ID to get metrics at the product level. To determine a 
campaign's type (e.g. shopping) you can use advertising channel type field in 
the campaign resource.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q28ovLF: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/P1h4n0QL6QUS00kCZiVCoFR6yLJic8sdjElA%40sfdc.net.


Re: How to get association for AdExtension

2020-12-11 Thread Matt
Hi Matt,

I have tried to use campaign_extension_setting without luck. See example:

SELECT campaign_extension_setting.extension_feed_items, 
campaign_extension_setting.extension_type, 
campaign_extension_setting.campaign, 
campaign_extension_setting.resource_name, campaign.id FROM 
campaign_extension_setting

That query does return results, but it never includes 
campaign_extension_setting.extension_feed_items (which I would expect to be 
returned so I could then make a second query to feed item IDs 
using extension_feed_item).

Do you have a different example query that demonstrates the results I'm 
expecting?

Thanks,
Matt
On Friday, December 11, 2020 at 7:39:46 AM UTC-8 adsapiforumadvisor wrote:

> Hi Matt,
>
> Can you confirm if you were able to implement Nikisha's suggest to use the 
> ad_group_extension_setting 
> 
>  
> and campaign_extension_setting 
> 
>  
> resources?
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5001USwA2s: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/34a912e3-a3c7-434a-a04f-06fff537efedn%40googlegroups.com.


Re: Smart Campaigns from the ad group ad report

2020-12-11 Thread Emily
Hi Anthony,

Thank you for the response. Unfortunately it looks like I don't have 
permission to reply to the author. Is there another way I can contact you 
and share our query information?

Thanks,
Emily

On Friday, December 11, 2020 at 10:29:24 AM UTC-5 adsapiforumadvisor wrote:

> Hi Emily,
>
> You should be able to see these ad groups in AdWords API. However, their 
> AdGroupType values will come back as null. Can you share your report 
> queries through *reply privately to author *so I can take a closer look?
>
> Thanks,
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25XNQV: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/f837e951-0c2d-4be1-b5d4-f183e8fa2d7fn%40googlegroups.com.


Traffic estimator service giving low results.

2020-12-11 Thread Uma Chavan
Hello,

We use Traffic estimator service to generate search budget estimate for our 
clients.
https://developers.google.com/adwords/api/docs/reference/v201809/TrafficEstimatorService?csw=1.
 

The clicksperday number is very low since past few weeks. Can you check if 
there is an issue?
I've attached my observation. The 2nd column shows click estimates received 
in August 2020. The 3rd column shows  click estimates from yesterday 
(12/10/2020)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/80c26e38-3cef-4f11-8729-6985870752acn%40googlegroups.com.


RE: How to retrieve campaign bid in query google ads api

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

Can you please share your CID through reply privately to author so I can take a 
closer look?

Thanks,
Anthony
Google Ads API Team

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q28ov2c: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/vdAWk0QL6MUA00HP70Z7ELSheX1KvJf_s5tg%40sfdc.net.


Re: How to get association for AdExtension

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

Can you confirm if you were able to implement Nikisha's suggest to use the 
ad_group_extension_setting and campaign_extension_setting resources?

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5001USwA2s: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/3preo0QL6M5H00wfFt_Hf6SQG7I2SAEig-ug%40sfdc.net.


Re: Smart Campaigns from the ad group ad report

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

You should be able to see these ad groups in AdWords API. However, their 
AdGroupType values will come back as null. Can you share your report queries 
through reply privately to author so I can take a closer look?

Thanks,
Anthony
Google Ads API Team

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q25XNQV: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/B6kqC0QL6LO1001XkxjtO-TbeQxvBdI0ULIQ%40sfdc.net.


Is there a list with all formats requirements?

2020-12-11 Thread 'WiseWizard' via AdWords API and Google Ads API Forum
E.g. headline maximum length (30 characters) or Display URL prohibited 
characters ({, }, № etc)? Everything like that.

Also, can I get numbers and specific characters related to these 
requirements? Kind of HeadlineMaximumLength.Get (=30) or 
DisplayURL.ProhibitedCharacters[0] (='№')?

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/af978c7c-1f1c-49c6-abd0-2ba53d884245n%40googlegroups.com.


Google Ads Api Standard Access Review Period

2020-12-11 Thread Yogun Yoguni

Hello,
What is Google Ads Api Standard Access Review Period?
Cheers,
Michal

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/583e5efe-16b4-4ee8-8d33-e138b8593aa1n%40googlegroups.com.


how to test edge case errors

2020-12-11 Thread Yurii Korotia
Hello

I have several edge cases I would like to test semi-automatically.. or even 
manually

1. AuthorizationErrorReason::CUSTOMER_NOT_ACTIVE
2. RateExceededError
3. DatabaseError

how do I test  such errors on test account? Maybe there is way to simulate 
it somehow.

regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3f07d7d3-f89b-4315-8721-df666e7aca82n%40googlegroups.com.


Re: Extensions Disaaproval Reasons

2020-12-11 Thread teamvadw...@gmail.com
can i get only disapproval extensions using GAQL?

On Thursday, December 10, 2020 at 8:54:01 PM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Ramanajee,
>
> Thanks for reaching out. You can use the FeedItemPlaceHolderPolicyInfo 
> 
>  
> field in the FeedItem 
> 
>  
> resource. There you can find the field, FeedItemQualityDisapprovalReason 
> 
> .
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q28oWn2: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/6d7914fd-75c6-4332-9535-c44231992602n%40googlegroups.com.


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

2020-12-11 Thread Mat
Hi Ernie,

sure - if you provide me an email address to relpy to. Unforunately the 
"Reply privatley to author"-Button in this conversion is greyed out.

Regards
Mat

adsapiforumadvisor schrieb am Freitag, 11. Dezember 2020 um 11:04:47 UTC+1:

> Hi Mat,
>
> To investigate, could you provide the following details via *Reply 
> privately to author* option? 
>
>- sample screenshots of the change history logs made by Google Ads 
>editor that were not included in the report 
>- complete request and response logs with request ID 
>- customer ID 
>
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> 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/c82604fd-33c8-4b59-b166-458f45a32c12n%40googlegroups.com.


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

2020-12-11 Thread Jt Jt
ในวันที่ ศ. 11 ธ.ค. 2020 17:04 น. Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> เขียนว่า:

> Hi Mat,
>
> To investigate, could you provide the following details via *Reply
> privately to author* option?
>
>- sample screenshots of the change history logs made by Google Ads
>editor that were not included in the report
>- complete request and response logs with request ID
>- customer ID
>
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> 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/S62FS0QL66MY00Z_IeYwcaSDm-aw6dkYpybw%40sfdc.net
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CADs_MzRWi7FbJ50kZbjkhUaqaRUsCxo%2BBxhqsC7NV7V_Yv_90w%40mail.gmail.com.


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

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

To investigate, could you provide the following details via Reply privately to 
author option?

sample screenshots of the change history logs made by Google Ads editor that 
were not included in the report
complete request and response logs with request ID
customer ID


Regards,

Ernie John Blanca Tacata
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/S62FS0QL66MY00Z_IeYwcaSDm-aw6dkYpybw%40sfdc.net.


Re: calculation of (absolute_)top_impression_percentage

2020-12-11 Thread fru...@adzlocal.de
Hi Xiaoming,

thanks a lot for your valuable response! 
Then i think the best i can probably do is to use the values provided by 
the api/ads ui instead of calculating them on my own.
But if anyone knows more about the secret formula :-) , i'd love to learn 
more about it!

Regards
Frank 


 

adsapiforumadvisor schrieb am Mittwoch, 2. Dezember 2020 um 19:58:44 UTC+1:

> Hi,
>
> Thank you for reaching out. The way you do the calculation seems right. 
> However, the formula used to calculate accumulated 
> absolute_top_impression_percentage value for a period of time is not 
> exposed so we could not make too much conclusion here. I calculated the 
> impressions*absolute_top_impression_percentage for each day and summed the 
> ceiling values instead to get the result at 61.%. It’s not the same as 
> the value shown on the Google Ads UI. It’s possible that the Google Ads UI 
> also takes other considerations into account and uses a more complex 
> algorithm to calculate the accumulated value.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q28lAF6: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/75ef0519-b836-4b1b-80f6-98e680ed2546n%40googlegroups.com.


RE: Google Ads API Access to account directly, without MCC and login-customer-id

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

Thank you for raising your concern.

To summarize the authentication on Google Ads API, if the OAuth2 credentials 
you are using were created by a user which is a user of your MCC/manager 
account, then you would need to include the MCC's customer ID as the 
login-customer-id in your properties file. Please refer to this document to 
read more information about login-customer-id.

Also, the process that you've mentioned in your latest reply appears to be the 
proper way of authenticating in Google Ads API.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q28oovG: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/vC9Xm0QL66DU00BDgfNvz6RNGTOBPjS48Igw%40sfdc.net.


Re: Product diagnostics/Product status

2020-12-11 Thread cv
Hi,

I am using shopping_performance_view 

 but 
in that I cannot see Product Status, Product Price, Link, Google Product 
Category, Image Link etc..




On Friday, 4 December 2020 at 09:07:03 UTC+5:30 adsapiforumadvisor wrote:

> Hi Lukasz,
>
> Could you please share the complete screenshot of the Google Ads UI view 
> that you are referring to? Currently, the Google Ads API reports where you 
> can retrieve product related information are the shopping_performance_view 
> 
>  
> and the product_groups_view 
> 
> .
>
> Unfortunately however, both reports do not support the product status 
> information that you described.
>
> Also, you may send the screenshot of the Google Ads UI view you mentioned, 
> using the *Reply privately to author* option, so our team can have a 
> closer look.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q28mTWV: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/fc742557-5ea6-4192-8ce2-36da5f8190e1n%40googlegroups.com.


Re: Cannot upload click conversion

2020-12-11 Thread Pascal Landau

I believe the issue arises from using a GCLID that does not belong to the 
customer id provided.

The API seems to resolve internally TO WHICH MCC that glcid belongs to and 
then matches the conversionActionId against that customer id.

That conversionAction we use is actually NOT DEFINED in the MCC that the 
glcid belongs to - hence the error is "correct" yet entirely misleading.

Adding the conversionAction to the MCC that the glcid and taking THAT 
conversionActionId will actually work.

I've described the whole problem + solution in more detail 
at https://github.com/googleads/google-ads-php/issues/496#issuecomment-743047543

---

It would be highly appreciated if this behavior would be document somewhere.

Cheers
Pascal

Pascal Landau schrieb am Freitag, 11. Dezember 2020 um 07:12:08 UTC+1:

> Hey  Xiaoming ,
>
> I'm encountering the exact same problem as Christiano.
>
> You can find a more extensive explanation in this Github issue 
>  (including code 
> samples and details regarding our account setup).
>
> Summary:
> - conversion action was created through the UI
> - I can retrieve the action via API and get it's exact ID, the owners ID 
> (the MCC account) and the exact resource name in the format  "customers/MY 
> CUSTOMER ID/conversionActions/458214867" 
> - using this exact id yields the error "This customer does not have an 
> import conversion action that matches the conversion action provided"
>
> What's more: Using the another library that does not require the action id 
> but uses the action name instead works as expected (bases on this example 
> 
> ).
>
> PS: I'm happy to send detailed request logs, but the email adress you 
> posted appears shortened as " googleadsa...@google.com 
>  " and the underlying link points to 
> https://groups.google.com/
>
> Cheers
> Pascal
>
>
> adsapiforumadvisor schrieb am Dienstag, 1. Dezember 2020 um 20:15:31 UTC+1:
>
>> Hi Cristiano,
>>
>> Thank you for reaching out. Could you please send the requested 
>> information to our email alias googleadsa...@google.com directly for us 
>> to further investigate?
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>  
>> [image: Google Logo] 
>> Xiaoming 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q27wUda: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/7bc48e28-16ab-4953-bfa3-58b6e6542e28n%40googlegroups.com.


Adding mobile Ids to CrmBasedUserList through APIs isn't reflected into Google Ads site

2020-12-11 Thread sejin jang
Hi there,

Below is an implemented Python code to upload Mobile Device Ids through API 
for remarketing.

But, customer List Id(*6534339977*) shows its size shows still 0 even 
though the number of uploaded mobile device Ids is much more than 1,000.

Would there be anyone who can help? 

* ATTACHED PYTHON SNIPPET
def send_google_mobile_device_id(df, country_code):
"""Adds a user list and populates it with hashed email addresses.
Note: It may take several hours for the list to be populated with 
members. Email
addresses must be associated with a Google account. For privacy 
purposes, the
user list size will show as zero until the list has at least 1000 
members. After
that, the size will be rounded to the two most significant digits.
"""
def validate_idfa_format(idfa):
idfa_splited = idfa.split('-')
if [len(ele) for ele in idfa_splited] == [8, 4, 4, 4, 12]:
return True
else:
return False

# CREDENTIAL & AUTHENTICATE, with yaml
gg_config = Config('cro', 'prod', False, True).get_read('googleads')

with open("yaml", "w") as f:
f.write(f"adwords:\n")
f.write(f"   developer_token: {gg_config['developer_token']}\n")
f.write(f"   client_id: {gg_config['client_id']}\n")
f.write(f"   client_secret: {gg_config['client_secret']}\n")
f.write(f"   refresh_token: {gg_config['refresh_token']}\n")
f.close()
client = adwords.AdWordsClient.LoadFromStorage('yaml')

today = date.today()
print("As of:", today)

# CREATE A USER LIST
cro_app_info = {"AOS": "com.devsisters.gb", "iOS": "963067330"}
for os in ['AOS', 'iOS']:
user_list = {
'xsi_type': 'CrmBasedUserList',
'name': f'Mobile Device ID({os}) as of {today}_{country_code}',
'description': f'CRO Mobile Device IDs({os})',
'uploadKeyType': 'MOBILE_ADVERTISING_ID',
'appId': cro_app_info[os]
  }

# Create an operation to add the user list.
operations = [{
'operator': 'ADD',
'operand': user_list
}]

# Call User List Service
user_list_service = client.GetService('AdwordsUserListService', 
'v201809')
result = user_list_service.mutate(operations)

# Organize Mobile Device IDs from files
user_list_id = result['value'][0]['id']
members = [{'mobileId': mobile_id} for mobile_id in df["Mobile 
Device ID"].tolist() if validate_idfa_format(mobile_id) == True]

# Send User List
n = 0
cut_off = int(4 * 1e5)
for i in range(int(len(members)/cut_off) + 1):
members_split = members[i * cut_off: (i + 1)*cut_off]
n += len(members_split)

# Form into JSON
mutate_members_operation = {
  'operand': {
  'userListId': user_list_id,
  'membersList': members_split
  },
  'operator': 'ADD'
}

# Upload seeds through API
response = 
user_list_service.mutateMembers([mutate_members_operation])

if 'userLists' in response:
print(f'a {n} number of User list with name {user_list["name"]} 
has been added.')

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f39eeaa2-8dad-43e4-83a1-c7750d949e45n%40googlegroups.com.