Mutate Operation is going into Partial Success

2022-02-23 Thread Sravanthi Reddy
Hi Team, 
  I have seen the issue, the when i am working shopping ad 
group operations. There are two case where i found this issue.
Lets suppose, 
1. There are alot of removal operations like > 10k and the total nulber of 
successful operations are 0/1 , the api is getting stucked , Its not 
making the changes in the account  and returning a null response (in 
download URL) without any error. But if i do them in BUNCHES like 5000 
operations per one mutate , then it is successful.
So, What is causing this issue? If there is any limitation on number of 
operations per mutate operation, What is the limit?? 

2. SECOND ONE is , There are many products groups under a particular ad 
group like around 10k, and if i consider  two such ad groups and tried to 
remove those two all product nodes and try to add a new all product nodes. 
Its Not REMOVING THOSE ALL PRODUCT NODES in SINGLE MUTATE OPERATION.. But 
if try to mutate separately like one ad group in ONE MUTATE OPERATION, it 
is removing and adding it successfully. 
So, What is causing this issue?? Is there any limitation ?? How can we 
tackle this..

Can you Please HELP with this issue

Thanks and Regards
Sravanthi Reddy
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fb905db5-6e6d-4ddc-a9b0-731c3150f934n%40googlegroups.com.


Get All Targeted Locations selected by Campaigns

2022-02-23 Thread Hassan Tarique
I wanted to create an interface like locations in ads, how can I get all 
targeted locations that are selected by all campaigns

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f64791ad-09b0-4631-85dc-e514ab058b57n%40googlegroups.com.


Re: Unable to create campaign from test manager account

2022-02-23 Thread Libsys Limited
I have now created a campaign from test account, but not able to fetch it 
through getCampaigns.java
If I am sending customer id as the test manager account, the list returned 
is empty.
If I am sending the test client account id,  I am getting this error.

Response

Headers: 
Metadata(content-type=application/grpc,request-id=9O3qGW-bDPaAhqEhYwKixQ,date=Thu,
 
24 Feb 2022 06:43:43 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
authorization_error: USER_PERMISSION_DENIED
  }
  message: "User doesn\'t have permission to access customer. Note: If 
you\'re accessing a client customer, the manager\'s customer id must be set 
in the \'login-customer-id\' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid;
}
request_id: "9O3qGW-bDPaAhqEhYwKixQ"
 

On Thursday, February 24, 2022 at 2:16:32 AM UTC+5:30 adsapi wrote:

> Hi Libsys,
>
> Thank you for reaching out to the Google Ads API support team.
>
> With regards to your concern, The test account does not include the 
> billing information. However, you still could create the test client 
> account under the test manager account. All the test client accounts are 
> invisible by default. To be able to see the test client accounts under the 
> test manager account, you would need to click on the down arrow next to the 
> test manager account number and then on the drop-down list click on the 
> three vertical dots icon and select cancelled accounts. If you still have 
> issues creating the test client account, please refer to this code example 
>  
> and 
> create the test client account via the API.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2WyJ3q: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 
"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/dafd1a5b-feb6-40ad-81a4-6da1bd09f699n%40googlegroups.com.


How to get Conversions Using Customer ID

2022-02-23 Thread Divyesh Gajjar
Hello Everyone,
Can you Please tell me How to Get Conversions Lists using customer id in 
API?


Advance Thanks,
Divyesh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7a085236-1549-49df-a9db-73a896ed0360n%40googlegroups.com.


How to stop a local campaign

2022-02-23 Thread RYO O
Hello.

How can I use the API to stop a local campaign?

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/2496a216-baa5-4bd2-8523-783aee598f76n%40googlegroups.com.


RESOURCE_EXHAUSTED error with standard access

2022-02-23 Thread Inessa M
Hi all,
I try to migrate to Google Ads API from Google AdWords API (I use 
googleads/google-ads-php library) and I encountered with an 
RESOURCE_EXHAUSTED error:

{
"message": "Resource has been exhausted (e.g. check quota).",
"code": 8,
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": 0,
"data": 
"type.googleapis.com\/google.ads.googleads.v9.errors.GoogleAdsFailure"
},
{
"@type": 0,
"data": [
{
"errorCode": {
"quotaError": "RESOURCE_EXHAUSTED"
},
"message": "Too many requests. Retry in 84106 seconds.",
"details": {
"quotaErrorDetails": {
"rateScope": "DEVELOPER",
"rateName": "Get requests for standard access",
"retryDelay": "84106s"
}
}
}
]
},
{
"@type": 0,
"data": "rLZmNhdxJm-nrf17-oUCvw"
}
]
}

But in my code I don't send any get() requests, I use only search() or 
searchStream() methods. Besides my developer token has standard access so I 
don't understand why I get this error. Here is my code sample:


$client = $this->clientFactory->getClient($this->authIni, 
$account->getMccId());
$googleAdsServiceClient = $client->getGoogleAdsServiceClient();

$query = "SELECT campaign.id, campaign.name, campaign.status, 
campaign.serving_status, campaign.campaign_budget "
. "FROM campaign "
. "WHERE campaign.status IN('PAUSED', 'ENABLED')";

$response = 
$googleAdsServiceClient->search($account->getCustomerId(), $query, 
['pageSize' => 500]);

$campaignIds = [];
foreach ($response->iteratePages() as $page) {
foreach ($page as $googleAdsRow) {
// save campaigns into DB
}
}

Could you help me? Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e4918a95-b3ca-43e9-83c3-ff346716933fn%40googlegroups.com.


Re: ERROR: The click associated with the given identifier or iOS URL parameter is either too old to be imported or occurred before the conversion click through lookback window for the specified combin

2022-02-23 Thread Alex Garcia
The errors are not the same, that's why I opened a different thread.

I believe these are 2 different errors and the way to handle them should be 
different.

On Wednesday, February 23, 2022 at 8:23:57 PM UTC+1 adsapi wrote:

> Hello Hustle,
>
> Thanks for reaching out. With regards to your concern, it looks like we 
> have a duplicate thread for this issue. We can keep correspondence related 
> to this issue on the other thread and I will close this thread to avoid any 
> kind of confusion. Also, it has more context than this thread.
>
> Best regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team 
>
>  
>
>
> ref:_00D1U1174p._5004Q2WyIAg: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 
"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/f2bb3f4b-75a7-4587-a5c9-328f37e663dcn%40googlegroups.com.


UNEXPECTED_INTERNAL_API_ERROR

2022-02-23 Thread outleads
We keep on getting UNEXPECTED_INTERNAL_API_ERROR when calling 
getCustomers() when using a specific client's token. All other API calls 
using this token are coming through fine and the getCustomers() call is 
coming through fine using all of our other clients' tokens.

This error keeps on occurring over the past 24 hours. We also asked the 
client to re-authorize access, which generated a new token, but the error 
persists.

There are plenty of requests, but one example is request 
ID 0005d8b20c07869f091d40971e015762.

The request body is as follows:

[Feb 23 2022 16:35:01.00 - ERROR] POST 
/api/adwords/mcm/v201809/CustomerService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/7.2.34, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 312
Authorization: Bearer [refreshtoken]


http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201809; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809;>
  

  [devtoken]
  Outleads (AwApi-PHP/8.3.0, Common-PHP/8.3.0, 
PHP/7.2.34)

  
  

  


The response is as follows:

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Wed, 23 Feb 2022 16:35:01 GMT
Expires: Wed, 23 Feb 2022 16:35:01 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; 
ma=2592000,quic=":443"; ma=2592000; v="46,43"
Transfer-Encoding: chunked


http://schemas.xmlsoap.org/soap/envelope/;>
  
https://adwords.google.com/api/adwords/cm/v201809; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201809;>
  0005d8b20c07869f091d40971e015762
  CustomerService
  getCustomers
  1
  342

  
  

  soap:Server
  [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]
  
https://adwords.google.com/api/adwords/mcm/v201809; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809;>
  [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]
  
ApiException
  http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="ns2:InternalApiError">



InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
InternalApiError
UNEXPECTED_INTERNAL_API_ERROR
  

  

  


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/edf2f3ed-d81d-43db-a253-f84eb72252bcn%40googlegroups.com.


Re: ERROR: The click associated with the identifier or iOS URL parameter does not exist in the system. This can occur if the identifier or iOS URL parameter are collected for non Google Ads clicks (e.

2022-02-23 Thread Alex Garcia
Yes, using V10.

I am having issues just with some click IDs. The majority of them are 
getting processed correctly.

So the implementation is good, it's just that some clicks don't get 
processed correctly.

What does "dart search" stand for?

On Wednesday, February 23, 2022 at 7:24:27 PM UTC+1 adsapi wrote:

> Hello Hustle,
>
> Thanks for reaching out to the Google Ads API forum team. Can you please 
> confirm if you are using the GoogleAds API v10?
> If you are already on v10 and still having issues, kindly share the 
> complete request 
> 
>  
> and response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> 
>  
> generated on your end, so our team can better check the root cause of the 
> error?
>
> Please send the requested details via the Reply privately to the author 
> option. If this option is not available, you may send the details directly 
> to us googleadsapi-supp...@google.com alias instead. 
>
> Best regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team  
>
> ref:_00D1U1174p._5004Q2WyI7w: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 
"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/34bea133-c79f-4677-9305-681656e3c998n%40googlegroups.com.


Re: How to receive promotional codes via Ads API

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Michael,

Thanks for your patience on this. We have received your private reply. While it 
is possible to get account_budget adjustments amounts, it is not possible to 
get the adjustment type (e.g. promotional codes). However, this feature has 
been requested previously, and any relevant changes will be mentioned in the 
release notes of subsequent versions.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2W5R28: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 
"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/ObbWC0R7RRAM00yjepb-NfQmWKF47SzVF7Hw%40sfdc.net.


RE: Budget field is not found on the new google ads mapping

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API support team.

With regards to your concern, you can use query migration tools to migrating 
query from AWQL to GAQL.You can use campaign.budget field to get the budget via 
campaign report in the Google Ads API. Let me know if you have any question.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2WyIAH: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 
"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/xBJNF0R7RQ0300ZHgCLFBlRiaVVlY1YiFFdQ%40sfdc.net.


Re: UserDataService Upload limits

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vamshi,

I work with Mark and will assist you.  Having Standard Access mean you can call 
this endpoint an unlimited amount of times only subject to rate limits when 
server load is high, but you may want to try out our OfflineUserDataJobService 
instead for huge uploads of userdata. Here's our Customer Match guide.

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2WxbKt: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 
"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/1fikG0R7ROMQ001OVCMvoNSX6BRSrLWHF_NQ%40sfdc.net.


Re: Marketing Objective Setup for a Campaign via API

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello -

Do you have an example of a Campaign that won't run without this setting? Just 
the Customer ID and Campaign ID will suffice.

You should be able to traffic a campaign with minimal configuration, so I 
wonder if there's another reason why such a Campaign won't get trafficked.

Thanks,
Ben, Google Ads API Team
ref:_00D1U1174p._5004Q2W3Ilj: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 
"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/3sCG30R7RNNS00fQrXCNxjRratYhWq_irN4Q%40sfdc.net.


RE: Google Ads api return only some portion of rows compared to adwords api

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alin,

Thank you for reaching out to the Google Ads API support team.

To investigate the issue further, could you please provide us with the complete 
logs (request and response with request-id)  via the Reply privately to the 
author option?

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2WyHU1: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 
"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/e5G2P0R7RNBM00n0Lh7ogkTv6WqMaDeZygFA%40sfdc.net.


Re: Inconsistencies for metrics.conversion_last_received_request_date_time

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Robert,

Thanks for providing the requested logs. I've filed these requests internally. 
Relevant changes in subsequent versions can be found in the release notes.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2WxrfJ: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 
"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/U_aNR0R7RLXP00lStLIIJCTQ-Mxm8_upna9A%40sfdc.net.


Re: Auto-Migration of Feed-Based Extensions

2022-02-23 Thread Malcolm Taylor
Thanks for you response. One follow-up question.

In the response to question #2 you stated that AssetService and the call 
asset is supported in v10 but in the question I stated I was in v9. The 
docs look the same for v9 and v10 for those. Are creating call assets not 
supported in v9 of AssetService and only in v10?


On Wednesday, February 23, 2022 at 3:13:57 AM UTC-5 adsapi wrote:

> Hi Malcolm,
>
> Thank you for your questions. You may refer below for my responses :
>
>
> *1) Are you all able to tell me exactly what extensions types were to be 
> migrated on the 15th of February?*
>
> We do not have an exact date for when migration of specific extensions 
> would be completed. I would recommend that you refer to this blog post 
> ,
>  
> for updates on the asset extensions migration. You can also refer to this 
> guide 
> ,
>  
> to check whether your account has been migrated.
>
>
> *2) I see call assets are available in v9, if the auto-migration for those 
> has not taken place yet are we still able to create them? I am trying to 
> create call assets with the Asset Service function MutateAssets in golang.  
> This doc 
> "https://developers.google.com/google-ads/api/reference/rpc/v9/AssetService?hl=en#mutateassets
>  
> "
>  
> states that "Asset types can be created with AssetService are 
> YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be 
> created with Ad inline." Is that all I can create with this service. If so 
> what service should i be using to create a call asset and is that service 
> able to be used now?*
>
> As per the blog I provided above, Call assets extension sub type's auto 
> migration is due to start on April 8, 2022, and that developers can start 
> migrating on 25 January 2022. That said, you may opt to migrate manually as 
> well, by referring to this guide 
> .
>  
> In the v10 of the AssetService 
> ,
>  
> the call_asset 
> 
>  
> is supported.
>
>
> *3) Is April 8th a true date of auto migrations for call extensions to 
> call asset based extensions?*
>
> As per the recent update from the blog I provided, April 8, 2022 should be 
> the start of the auto migration of call asset extensions.
>
>
> *4) I have been trying to use the Asset service to create a call asset 
> using the MutateAssets function and getting an rpc response back stating 
> "rpc error: code = InvalidArgument desc = Request contains an invalid 
> argument." If this is the right service to use to create a call asset do 
> you know how i could get to the root of what the issue is or a more 
> descriptive response. I've been setting the validate only field to true 
> just so that i can make sure my request is valid but that error is the only 
> response I get back. Again if this service is not the correct service to 
> create call assets then I will refer back to question 2.*
>
> Could you share your complete request 
> 
>  
> and response 
> 
>  
> logs, and request-id 
> ,
>  
> so our team can take a look at the error you are encountering? You may then 
> send the requested information via the *Reply privately to author* 
> option. If this option is not available, you may send the details directly 
> to our googleadsa...@google.com alias instead.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Wy0H1: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 
"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 

Fetch 'KEYWORD_TEXT', 'CATEGORY_PRODUCTS_AND_SERVICES' columns for a given keyword list

2022-02-23 Thread Toprak Ucar
Hello,

During the migration of Google Ads Migration, I stuck with the migration of 
*TargetingIdeaService*. I want to get 'KEYWORD_TEXT' 
and 'CATEGORY_PRODUCTS_AND_SERVICES' values.

I tried to apply the example 
in 
https://github.com/googleads/google-ads-python/blob/main/examples/planning/generate_keyword_ideas.py,
 
I am having *"ValueError: Specified type 'StringValue' does not exist in 
Google Ads API v10" *error using only keyword_texts in the example (I don't 
use page_url)

In old googleads library (it works):

targeting_idea_service = client.GetService(
'TargetingIdeaService', version=self.config.version
)

selector = {'ideaType': 'KEYWORD',
'requestType': 'STATS',
'requestedAttributeTypes': ['KEYWORD_TEXT', 
'CATEGORY_PRODUCTS_AND_SERVICES']}

# Network search parameter (optional)
selector['searchParameters'].append({
'xsi_type': 'NetworkSearchParameter',
'networkSetting': {
'targetGoogleSearch': True,
'targetSearchNetwork': False,
'targetContentNetwork': False,
'targetPartnerSearchNetwork': False
}
})

# Language setting (optional).
selector['searchParameters'].append({
# The ID can be found in the documentation:
# https://developers.google.com/adwords/api/docs/appendix/languagecodes
'xsi_type': 'LanguageSearchParameter',
'languages': [{'id': '1002'}]
})

page = targeting_idea_service.get(selector)

for result in page['entries']:
attributes = {}
for attribute in result['data']:
attributes[attribute['key']] = getattr(
attribute['value'], 'value', '0')

Thank you so much in advance!

Cheers


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8bfe08ed-792a-4466-91fe-bb01f9a70e06n%40googlegroups.com.


Re: Authorization problem

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Laurent,

For authenticating in desktop application flow, the credentials generated in 
the GCP project are for a desktop app. You can generate a client ID and secret 
by following the linked instructions and try with those credentials.

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2WwZFQ: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 
"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/U6QRA0R7RLKE00WLsUtAwNSt2d1eG8pDyj2g%40sfdc.net.


RE: Getting USER_PERMISSION_DENIED in google ads api when trying to fetch client info, which allowed access in authentication of the app

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

It sounds like each client has their own authentication with you GCP project. 
They can log in directly to their accounts without your login customer Id 
because they are probably authenticating with a Google Account that is already 
a user in their Ads accounts. You probably are a user in your mcc account, if 
that is the case you can log in with login customer Id set to your mcc account 
and access your client's account. Some setups don't even need an mcc account 
altogether. For more information you can look at our login customer Id guide.

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2WyHDU: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 
"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/XO5Ls0R7RLAR00DnJ0B32FQxOWfuwJUC_Z2A%40sfdc.net.


Re: Questions Related Testing of store sales Transaction data upload via API

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello,

While the validate_only field is supported in test accounts, you will not be 
able to run an OfflineUserDataJob in test accounts, as user lists are not 
supported in this account type.

Regards,
Matt
Google Ads API Team

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


ASPECT_RATIO_NOT_ALLOWED

2022-02-23 Thread RANANJAYPRATAP SINGH


Hi

Our google adword api for campaign creation and was running fine yet but 
now we are getting below error with every ad creation.

[ImageError.UNEXPECTED_SIZE @ 
operations[0].operand.ad.marketingImages[0].asset.assetId, 
ImageError.ASPECT_RATIO_NOT_ALLOWED @ 
operations[0].operand.ad.marketingImages[0].asset.assetId]   (Detail can be 
get from attachment).

 

Please note our images are meeting required specifications and was 
uploading successfully till few days back.

*Version Google adwords - 4.2. (v201809)*

Your help/advice is needed for resolution , Thanks In advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4190ec9c-32e8-48b6-8431-3be6a4595786n%40googlegroups.com.
:
http://schemas.xmlsoap.org/soap/envelope/\;>

https://adwords.google.com/api/adwords/cm/v201809\;>
0005d8ae04727a4602ab464b80016113
AdGroupAdService
mutate
1
962




soap:Client
[ImageError.UNEXPECTED_SIZE @ 
operations[0].operand.ad.marketingImages[0].asset.assetId, 
ImageError.ASPECT_RATIO_NOT_ALLOWED @ 
operations[0].operand.ad.marketingImages[0].asset.assetId]

https://adwords.google.com/api/adwords/cm/v201809\;>
[ImageError.UNEXPECTED_SIZE @ 
operations[0].operand.ad.marketingImages[0].asset.assetId, 
ImageError.ASPECT_RATIO_NOT_ALLOWED @ 
operations[0].operand.ad.marketingImages[0].asset.assetId]

ApiException
http://www.w3.org/2001/XMLSchema-instance\; xsi:type=\"ImageError\">

operations[0].operand.ad.marketingImages[0].asset.assetId


operations
0


operand


ad



marketingImages
0


asset


assetId



ImageError.UNEXPECTED_SIZE

ImageError
UNEXPECTED_SIZE

http://www.w3.org/2001/XMLSchema-instance\; xsi:type=\"ImageError\">

operations[0].operand.ad.marketingImages[0].asset.assetId


operations
0


operand


ad




RE: CampaignAsset resource interaction_on_this_asset parameter

2022-02-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Arshdeep,

I work with Teejay and will assist you. You are correct that AdWords has no 
campaign_asset equivalent due to AdWords not having support for asset based 
extensions. In general, for a report that worked in AdWords, we do recommend to 
use the Query Migration Tool to migrate, then check for incompatibilities 
between fields found by using the query validator.

Segmenting by campaign fields causes that campaigns linked to asset based 
extension that had 0 metrics for the date range (due to no serving of campaign 
with asset) don't show a row in the report.

Without using 'segments.asset_interaction_target.interaction_on_this_asset' or 
'segments.asset_interaction_target.asset' the metrics for the campaign when 
served with the asset based extension will show and there will be no asset 
interaction metrics shown. Adding 
'segments.asset_interaction_target.interaction_on_this_asset' or 
'segments.asset_interaction_target.asset' will add a row with metrics on the 
asset itself when served with that campaign.

For example, if the campaign with the asset served 200 times and without the 
asset 1,000 times and when the campaign served with the asset the campaign 
itself as a whole  was clicked 50 times while of those 50 times the asset was 
clicked 20 times then the segmenting mentioned above will show for the campaign 
200 impressions and 50 clicks and there will be another row for the asset 
showing it was served 200 times with 20 clicks.

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2WxbMG: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 
"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/mrtmp0R7RIZN00hek8nR0tQXmbsOYqw_RTqA%40sfdc.net.


Google Ad result API

2022-02-23 Thread Vibeeshnan Arumugam
Hi Team,
 Is there any way to get Google ad results such as clicks, impressions
etc... for a specific campaign using campaign ID through Google ads API?.
When I search for that I got results only for a list of campaigns. I have
given the code that I used below for your reference.

customerId  = 5114451929
campaignId = 1625285

private void runExample(GoogleAdsClient googleAdsClient, long customerId) {
 try (GoogleAdsServiceClient googleAdsServiceClient =
 googleAdsClient.getLatestVersion().createGoogleAdsServiceClient()) {
   String searchQuery =
   "SELECT campaign.id, "
   + "campaign.name, "
   + "ad_group.id, "
   + "ad_group.name, "
   + "ad_group_criterion.criterion_id, "
   + "ad_group_criterion.keyword.text, "
   + "ad_group_criterion.keyword.match_type, "
   + "metrics.impressions, "
   + "metrics.clicks, "
   + "metrics.cost_micros "
   + "FROM keyword_view "
   + "WHERE campaign.id = 1625285 ";
   // Constructs the SearchGoogleAdsStreamRequest.
   SearchGoogleAdsStreamRequest request =
   SearchGoogleAdsStreamRequest.newBuilder()
   .setCustomerId(Long.toString(customerId))
   .setQuery(searchQuery)
   .build();
 System.out.println("request"+request);
   // Creates and issues a search Google Ads stream request that will
retrieve all of the
   // requested field values for the keyword.
 ServerStream stream = null;
 try {
stream =
   googleAdsServiceClient.searchStreamCallable().call(request);
   System.out.println("stream"+stream);
 } catch (Exception e) {
e.printStackTrace();
 }
   // Iterates through the results in the stream response and prints all of
the requested
   // field values for the keyword in each row.
 try {
   for (SearchGoogleAdsStreamResponse response : stream) {
  System.out.println("response -"+response);
  System.out.println("response -"+response.getResultsList());
 for (GoogleAdsRow googleAdsRow : response.getResultsList()) {
   Campaign campaign = googleAdsRow.getCampaign();
   AdGroup adGroup = googleAdsRow.getAdGroup();
   AdGroupCriterion adGroupCriterion =
googleAdsRow.getAdGroupCriterion();
   Metrics metrics = googleAdsRow.getMetrics();

   System.out.printf(
   "in ad group '%s' "
   + "with ID %d "
   + "in campaign '%s' "
   + "with ID %d "
   + "had %d impression(s), "
   + "%d click(s), "
   + "and %d cost (in micros) "
   + "during the last 7 days.%n",
   adGroup.getName(),
   adGroup.getId(),
   campaign.getName(),
   campaign.getId(),
   metrics.getImpressions(),
   metrics.getClicks(),
   metrics.getCostMicros());
 }
   }
 } catch (Exception e) {
e.printStackTrace();
 }
 }
}

Thanks & Regards,
Vibeeshnan A.

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


Request: Expose Required Union Fields In Error Response

2022-02-23 Thread Pete Lavetsky (AdWords API Guru)
When mutating a resource that contains a union field, if there is a missing 
required field on the union field data, that required field name is not 
returned in the error message.

This masks what the actual error is and what field is required.

In my example below, attempting to create a Responsive Display Ad fails 
because a required field is missing from the ad_data union field. Which 
field is missing is not returned to the user in the error message.

request-id=zKmpiwHTBsCVrlE8bqiZbg

Request
---
MethodName: 
google.ads.googleads.v10.services.AdGroupAdService/MutateAdGroupAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=ABC, 
x-goog-api-client=gl-java/11.0.13 gccl/17.0.1 gapic/17.0.1 gax/2.6.1 
grpc/1.41.0}
Body: customer_id: "XYZ"
operations {
  create {
status: ENABLED
ad {
  type: RESPONSIVE_DISPLAY_AD
  responsive_display_ad {
marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
square_marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
square_marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
square_marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
square_marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
square_marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
square_marketing_images {
  asset: "customers/ABC/assets/XYZ"
}
headlines {
  text: removed
  }
  headlines {
text: removed
  }
  headlines {
text: removed
  }
  headlines {
text: removed
  }
  descriptions {
text: removed
  }
  descriptions {
text: removed
  }
  descriptions {
text: removedAmenity Space."
  }
  format_setting: ALL_FORMATS
  business_name: removed
  allow_flexible_color: true
}
final_urls: removed
  }
  ad_group: "customers/ABC/adGroups/XYZ"
}
  }
  partial_failure: true

Response
  
  Headers: 
Metadata(content-disposition=attachment,content-type=application/grpc,request-id=zKmpiwHTBsCVrlE8bqiZbg,date=Tue,
 
22 Feb 2022 15:15:06 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
  Body: results {
  }
  partial_failure_error {
code: 3
message: "The required field was not present., at 
operations[0].create.ad.responsive_display_ad"
details {
  type_url: 
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure"
  value: "\ne\n\003\350\003\002\022#The required field was not 
present.\"9\022\016\n\noperations\030\000\022\b\n\006create\022\004\n\002ad\022\027\n\025responsive_display_ad"
}
  }

  Failure message: null
  Status: Status{code=OK, description=null, cause=null}.


As you can see, we are told that "The required field was not present" in 
the error response, but we are not told which field is missing.

Pete

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/04883d68-de97-4047-b3ca-18af6722a5cen%40googlegroups.com.


Re: AUDIENCE_PERFORMANCE_REPORT and GEO_PERFORMANCE_REPORT migration from Adwords to Ads API

2022-02-23 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

do you have an chance to help looking into this thread? we are pending on 
this few days.

Thanks
Hao

On Friday, February 18, 2022 at 4:56:44 PM UTC+8 Hao Long wrote:

> Hi Team,
>
> For Audience performance report migration, base on my assumption i have a 
> try but we can not download anything from ad_group_audience_view.
>
> query we used:
> SELECT segments.date, customer.currency_code, customer.descriptive_name, 
> customer.time_zone, ad_group.id, ad_group.base_ad_group, 
> campaign.base_campaign, campaign.bidding_strategy, bidding_strategy.name, 
> bidding_strategy.type, ad_group_criterion.bid_modifier, ad_group.campaign, 
> campaign.name, campaign.status, ad_group_criterion.criterion_id, 
> customer.id, ad_group_criterion.final_mobile_urls, 
> ad_group_criterion.final_urls, 
> ad_group.targeting_setting.target_restrictions, ad_group_criterion.status, 
> ad_group.tracking_url_template, ad_group.url_custom_parameters FROM 
> ad_group_audience_view WHERE segments.date DURING LAST_7_DAYS
>
> sample account: 9759108564
>
> could you please help on this?
>
> another question is how to access Segmenting 
> resources(bidding_strategy,user_list), as wiki said:
>   Fields from the above resources, when selected along with this 
> resource in your SELECT and WHERE clauses, *will segment* metrics.
> does it means if we included Segmenting resources in query, the data will 
> deep down to low granularity? but why if we add user_list.name it will 
> have conflict with segments.date?
>
>
> as we are pending on these two reports migration for a while, any help 
> from Google Support team is appreciate. please let me know if we could 
> setup zoom meeting to discuss the detail?
>
>
> Thanks
> Hao
>
> On Wednesday, February 16, 2022 at 4:21:16 PM UTC+8 Hao Long wrote:
>
>> Hi Team,
>>
>> as we are pending on these two API migration, could you please help share 
>> your thoughts?
>>
>> Thanks
>> Hao
>>
>> On Tuesday, February 15, 2022 at 10:51:34 AM UTC+8 Hao Long wrote:
>>
>>> Hi Team,
>>>
>>> Is there have anyone could help on this?
>>>
>>> Thanks
>>> Hao
>>>
>>> On Friday, February 11, 2022 at 2:33:40 PM UTC+8 Hao Long wrote:
>>>
 Hi Team,

 We are facing one Google Adwords Report mapping to two Google Ads 
 resources case when migrate from Google Adwords API to Google Ads API. 

 Here is the mapping relationship from Google Wiki:

 AUDIENCE_PERFORMANCE_REPORT:campaign_audience_view,ad_group_audience_view
 GEO_PERFORMANCE_REPORT: geographic_view,user_location_view

 we need you help provide some suggestions for our cases.

 let's start from simple one: GEO_PERFORMANCE_REPORT
 and it have below diff for two mapped resources in Google Ads API:

- *Geographic view*: The Geographic data shows your customer’s 
physical locations or locations that they had shown interest in through 
searches on Google or Google Maps.
- *User location view*: The user location data shows only your 
customer’s physical locations, regardless of any locations they may be 
interested in.

 We used in Google Adwords API:
 select
  Date
 , AccountCurrencyCode
 , CampaignId
 , CampaignName
 , CityCriteriaId
 , CountryCriteriaId
 , IsTargetingLocation
 , MetroCriteriaId
 , MostSpecificCriteriaId
 , RegionCriteriaId
 , AdGroupId
 , Device
 , LocationType
 , Clicks
 , Cost
 , Impressions
 from
 GEO_PERFORMANCE_REPORT
 where Date >='2022-01-01' and Date<='2022-02-05'

 To keep get the same data as Google Adwords API, we need cutover to 
 query geographic_view and user_location_view both and union two part of 
 data? could you please help confirm?

 For AUDIENCE_PERFORMANCE_REPORT it mapped to campaign_audience_view and 
 ad_group_audience_view resources. 
 and we have two feeds from Google Adwords API, one for performance data 
 and one for audience structure. detail Adwords query attached as below:

 Performance data feed:
 select
 Date,
 AccountCurrencyCode,
 Id,
 CampaignId,
 CampaignName,
 Device,
 Impressions,
 Clicks,
 Cost,
 UserListName,
 BidModifier,
 AdGroupId
 FROM AUDIENCE_PERFORMANCE_REPORT
 where Date >='2022-01-01' and Date<='2022-02-05'

 Structure data feed:
 select
 , Date
 , AccountCurrencyCode
 , AccountDescriptiveName
 , AccountTimeZone
 , AdGroupId
 , BaseAdGroupId
 , BaseCampaignId
 , BiddingStrategyId
 , BiddingStrategyName
 , BiddingStrategyType
 , BidModifier
 , CampaignId
 , CampaignName
 , CampaignStatus
 , CpcBid
 , CpcBidSource
 , CpmBid
 , CpmBidSource
 , Criteria
 , CriteriaDestinationUrl
 , CriterionAttachmentLevel
 , CustomerDescriptiveName
 , ExternalCustomerId
 , FinalAppUrls
 , 

Re: performance for Google Ads shopping_performance_view

2022-02-23 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Kevin,

i will split the request into 9(5 days data per request).

Thanks
Hao

On Wednesday, February 23, 2022 at 10:09:40 PM UTC+8 Hao Long wrote:

> yes we have retry logic in our program(once failed it will retry after 
> 10mins) but still get the same failed result.
> i just confused we could one time download 45 days data but could not 
> achieve this in new Google Ads API.
>
> On Monday, February 21, 2022 at 5:37:14 PM UTC+8 adsapi wrote:
>
>> Hi Hao Long,
>>
>>  
>>
>> I suggest you implement exponential backoff pattern 
>> 
>>  in 
>> your retry logic, if you haven't already tried this yet. Also, I suggest to 
>> split the report into smaller date ranges in order to improve the 
>> performance of the API. You can do some post-processing on your end to 
>> merge the reports into a single one once you have all the data you need.
>>
>>  
>>
>> If you are still consistently encountering issues after following my 
>> suggestions, please provide the complete request 
>> 
>>  and response 
>> 
>>  logs 
>> with request ID 
>> 
>>  so 
>> we can further investigate. You may send the requested information via 
>> *Reply 
>> privately to author* option. If this option is not available, you may 
>> send the details directly to our googleadsa...@google.com alias instead.
>>
>>  
>>
>> Regards,
>> [image: Google Logo] 
>> Kevin Gil 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2WxQjP: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 
"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/0c4980b9-f7a6-4809-b996-0cbf1cb5c345n%40googlegroups.com.


Re: performance for Google Ads shopping_performance_view

2022-02-23 Thread 'Hao Long' via Google Ads API and AdWords API Forum
yes we have retry logic in our program(once failed it will retry after 
10mins) but still get the same failed result.
i just confused we could one time download 45 days data but could not 
achieve this in new Google Ads API.

On Monday, February 21, 2022 at 5:37:14 PM UTC+8 adsapi wrote:

> Hi Hao Long,
>
>  
>
> I suggest you implement exponential backoff pattern 
> 
>  in 
> your retry logic, if you haven't already tried this yet. Also, I suggest to 
> split the report into smaller date ranges in order to improve the 
> performance of the API. You can do some post-processing on your end to 
> merge the reports into a single one once you have all the data you need.
>
>  
>
> If you are still consistently encountering issues after following my 
> suggestions, please provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  so 
> we can further investigate. You may send the requested information via *Reply 
> privately to author* option. If this option is not available, you may 
> send the details directly to our googleadsa...@google.com alias instead.
>
>  
>
> Regards,
> [image: Google Logo] 
> Kevin Gil 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2WxQjP: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 
"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/924ef647-c441-4395-8f35-97d23ca5fdf5n%40googlegroups.com.


AdGroupType mapping

2022-02-23 Thread 'Jana Lekova' via Google Ads API and AdWords API Forum
Dear Google Ads API support,

I'm mapping adGroupTypes from API to adGroupTypes shown in the UI to 
adGroupTypes shown in excel export from UI. Most of them are pretty 
straight forward to map, but I found some discrepancies and I would like 
your support.
  
In the API 
,
 
you mention 18 ad group types, where two of them are *UNKNOWN* and 
*UNSPECIFIED*, which leaves 16 others to map.

In xlsx export, I also have one additional, ad group type "Video action" 
(which is not in UI filtering option) which I map to *Responsive ad*. There 
are also missing ad group types in API connection for *Audio, Display 
engagement,* and also not sure about *Smart Shopping product*. 
Can you please check the yellow highlighted cells in the mapping table I 
attached and check the mappings done together with yellow highlighted 
question marks?



Thanks in advance,
Jana 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62d3f8b9-1f84-4906-906c-f3c7fb427696n%40googlegroups.com.


How to get the correct query in the campaign location target report

2022-02-23 Thread xmarcle
Hi,
  According to the query result of Adwords API to Google ads API field 
mapping introduced by campaign location target, I failed.

Method Name: /google.ads.googleads.v9.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.4.5 gccl\/12.1.0 gapic\/12.1.0 gax\/1.10.0 
grpc\/1.43.0 rest\/1.10.0",
"x-goog-request-params": "customer_id=1138498986",
"developer-token": "REDACTED",
"login-customer-id": "7505653768"
}
Request: 
{"customerId":"1138498986","query":"SELECT segments.date, 
campaign_criterion.criterion_id, campaign.name, 
campaign_criterion.bid_modifier, metrics.clicks, metrics.impressions, 
metrics.interaction_rate, metrics.average_cpc, metrics.cost_micros, 
metrics.conversions, metrics.conversions_from_interactions_rate, 
metrics.cost_per_conversion, campaign_criterion.negative FROM keyword_view 
WHERE segments.date >= '20220214' AND segments.date <= '20220222' "}

Response
---
Headers: {
"request-id": "J8TkECUCo824Sf-1IpYVWw",
"date": "Wed, 23 Feb 2022 12:10:53 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":
443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; 
ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""
}

Fault
---
Status code: 3
Details: Request contains an invalid argument.
Failure: 
{"errors":[{"errorCode":{"queryError":"PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE"},"message":"Cannot
 
select fields from the following resource: 'CAMPAIGN_CRITERION', since the 
resource is incompatible with the resource in FROM 
clause."}],"requestId":"J8TkECUCo824Sf-1IpYVWw"}  

How can I modify it?
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 
"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/f5b624f5-952a-4544-b5e3-8cc95c481a43n%40googlegroups.com.


How should the results of campaign performance report in Google ads API be consistent with Adwords API

2022-02-23 Thread xmarcle
Hi,

the query:  SELECT campaign.status, campaign.name, campaign.serving_status, 
metrics.clicks, metrics.impressions, metrics.interaction_rate, 
metrics.average_cpc, metrics.cost_micros, metrics.conversions, 
metrics.conversions_from_interactions_rate, metrics.cost_per_conversion, 
metrics.bounce_rate, metrics.average_page_views, 
metrics.average_time_on_site, campaign.id, 
campaign.advertising_channel_type, metrics.video_views, 
metrics.active_view_ctr, segments.date FROM keyword_view WHERE 
segments.date >= '20220214' AND segments.date <= '20220222';  

I get detailed results by querying query, but the results in Adwords API 
are all the calculated results. What should I do to ensure that the results 
are consistent with those in Adwords API.

The result of my doubt is:
 metrics.bounce_rate,
 metrics.average_page_views, 
metrics.average_time_on_site

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 
"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/3bbdbb8f-4f46-4211-90eb-f0af3b8ebe47n%40googlegroups.com.


Re: Updated Needed Regarding PHONE_NUMBER_IN_AD_TEXT Error

2022-02-23 Thread Pete Lavetsky (AdWords API Guru)
Jinky,

The complete request, response and request-id is literally in the initial 
post.

request-id E1xHa8pD5WxhHpB_Ecuk2w

Request
---
MethodName: google.ads.googleads.v10.services.AdService/MutateAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=ABC, 
x-goog-api-client=gl-java/11.0.13 gccl/17.0.1 gapic/17.0.1 gax/2.6.1 
grpc/1.41.0}
Body: customer_id: "XYZ"
operations {
  update {
type: EXPANDED_TEXT_AD
expanded_text_ad {
  headline_part1: "Preowned Silverado 2500HD"
  headline_part2: "Priced As Low As $60,167"
  headline_part3: "XXX Ford"
  description: "We\'ve Got It On The Lot Today At XXX Ford."
  description2: "Call Our Team Today & Schedule A Test Drive!"
  path1: "Used"
  path2: ""
}
resource_name: removed
id: removed
final_urls: removed
  }
  update_mask {
paths: "resource_name"
paths: "id"
paths: "final_urls"
paths: "type"
paths: "expanded_text_ad.headline_part1"
paths: "expanded_text_ad.headline_part2"
paths: "expanded_text_ad.headline_part3"
paths: "expanded_text_ad.description"
paths: "expanded_text_ad.description2"
paths: "expanded_text_ad.path1"
paths: "expanded_text_ad.path2"
  }
  policy_validation_parameter {
ignorable_policy_topics: "CAPITALIZATION"
ignorable_policy_topics: "PHONE_NUMBER_IN_AD_TEXT"
  }
}

Response

Headers: 
Metadata(content-disposition=attachment,content-type=application/grpc,request-id=E1xHa8pD5WxhHpB_Ecuk2w,date=Tue,
 
22 Feb 2022 21:59:52 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: results {
  resource_name: removed
}

Failure message: null
Status: Status{code=OK, description=null, cause=null}.

On Wednesday, February 23, 2022 at 5:12:53 AM UTC-5 adsapi wrote:

> Hi Pete,
>
> ​​Thank you for raising this concern to Google Ads API Team.
>
> To answer your question about falsely identifying phone numbers policy 
> error, I would suggest reaching out to the Product team via this link 
>  and let me 
> explain why. Please note that the Google Ads API is only mimicking the 
> behavior and validation of the UI. With this, the correction of the 
> validation for phone numbers should be fixed on the product team's end. So 
> that on the Google Ads API, the correct validation will also be applied.
>
> For this concern below, could you please provide us with 
> the complete logs (request 
> 
>  and response 
> 
>  with request-id 
> )
>   that 
> generated on your end. This will help our team to investigate further.
>
>
> *"Is there something else we should be doing with regards to 
> policy_validation_parameter or ignorable_policy_topics or exemption 
> requests to get these Ads to pass the no-phone-number test?"*
>
> You can provide it via *Reply privately to the author* option. If this 
> option is not available, then send it instead on this email address 
> googleadsapi-supp...@google.com 
> 
>  alias 
> instead.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2WyAQq: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 
"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/917c89dd-43a5-4078-8080-ad9398734973n%40googlegroups.com.


Unable to create campaign from test manager account

2022-02-23 Thread Libsys Limited


I have created a test manager account for testing api with developer token, 
but I am not able to create any campaigns under it. To create campaign I 
first need to create a test client account, but I'm not able to do so. 
Facing some issue in it. It is being shown that client has been created, 
but it is not shown on the screen. I have tried creating test client 
account even with api. The issue is same.


I have been referring to 
https://developers.google.com/google-ads/api/docs/first-call/overview#test_account
 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9dc7d06-1403-45fa-bd6d-f7d11def6fedn%40googlegroups.com.


Re: Exponential format for conversion_value

2022-02-23 Thread 'Oksana Sulyma' via Google Ads API and AdWords API Forum
Thanks Yasar! 
Yes we added number format conversion at our side, but we are still interested 
in this question comments from your team!
Thanks,
Oksana

> On 23 Feb 2022, at 05:57, 'Google Ads API Forum Advisor' via Google Ads API 
> and AdWords API Forum  wrote:
> 
> Hi Oksana,
> 
> Thanks for getting back to us with the requested information.
> 
> Allow me to raise the behavior observed with my team. We will reach out to 
> you as soon as possible.
> 
> In the meantime, you may also consider converting to number format as 
> mentioned in this stackoverflow thread 
> 
>  for further processing in PHP code.
> 
> Regards,
> 
>   
> Yasar
> Google Ads API Team
>  
> 
> 
> ref:_00D1U1174p._5004Q2Wxgl6: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 a topic in the Google 
> Groups "Google Ads API and AdWords API Forum" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/adwords-api/3pkEdYQui8o/unsubscribe 
> .
> To unsubscribe from this group and all its topics, 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/SvvOR0R7QOBJ00X6X7nLb8TF6MVlFYiMuJZw%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 
"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/CD313B19-B8B4-40B2-B9C6-F455A620643F%40tapclicks.com.


AdWords and Google Ads API return different UserList data

2022-02-23 Thread Yuxiang Wang
Hi,

I'm currently migrating from AdWords API to Google Ads API. And I found 
data mismatch issue on UserList report.

>From the AdWordsUserListService,  there are a lot of rows has field 
"ExpressionRuleUserList.rule" which is not null. However, in  Google Ads 
API, the rows with same userListId has empty 
field 
"user_list.rule_based_user_list.expression_rule_user_list.rule.rule_item_groups".
I also checked those rows from Google Ads API, their userlist type is 
ruleBased but they have no combined_rule_user_list, 
date_specific_rule_user_list or expression_rule_user_list, which is not 
null in Ad Words API.

The query I used for Google Ads API is quite simple. There is no filter and 
just select some fields from UserList. Below is the field I select:

["user_list.access_reason", "user_list.account_user_list_status", 
"user_list.closing_reason", "user_list.description", "user_list.id", 
"user_list.integration_code", "user_list.membership_life_span", 
"user_list.name", "user_list.rule_based_user_list.prepopulation_status", 
"user_list.logical_user_list.rules", "user_list.size_for_search", 
"user_list.size_range_for_search", "user_list.basic_user_list.actions", 
"user_list.crm_based_user_list.app_id", 
"user_list.crm_based_user_list.data_source_type", 
"user_list.crm_based_user_list.upload_key_type", 
"user_list.rule_based_user_list.date_specific_rule_user_list.end_date", 
"user_list.rule_based_user_list.date_specific_rule_user_list.rule.rule_item_groups",
 
"user_list.rule_based_user_list.date_specific_rule_user_list.rule.rule_type", 
"user_list.rule_based_user_list.date_specific_rule_user_list.start_date", 
"user_list.rule_based_user_list.expression_rule_user_list.rule.rule_item_groups",
 
"user_list.rule_based_user_list.expression_rule_user_list.rule.rule_type", 
"user_list.eligible_for_display", "user_list.eligible_for_search", 
"user_list.read_only", "user_list.type", 
"user_list.similar_user_list.seed_user_list", "user_list.size_for_display", 
"user_list.size_range_for_display", "user_list.membership_status", 
"user_list.rule_based_user_list.combined_rule_user_list.left_operand.rule_item_groups",
 
"user_list.rule_based_user_list.combined_rule_user_list.left_operand.rule_type",
 
"user_list.rule_based_user_list.combined_rule_user_list.right_operand.rule_item_groups",
 
"user_list.rule_based_user_list.combined_rule_user_list.right_operand.rule_type",
 
"user_list.rule_based_user_list.combined_rule_user_list.rule_operator"].

Could you please help check it? Thanks!

Best, 
Yuxiang

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c03b417c-55f9-4577-8570-da5c7cf69a7fn%40googlegroups.com.


ERROR: The click associated with the given identifier or iOS URL parameter is either too old to be imported or occurred before the conversion click through lookback window for the specified combinatio

2022-02-23 Thread Hustle OU
I got this error when importing click conversions to Google Ads API:

ERROR: The click associated with the given identifier or iOS URL parameter 
is either too old to be imported or occurred before the conversion click 
through lookback window for the specified combination of conversion date 
and conversion action (default is 90 days)., at conversions[0].gclid

The click ID (gclid) is:

EAIaIQobChMIwPu5t4qs3AIVAQAAAB0BEAAYACAAEgJVzfD_BwE

How can we handle this error?

The click ID is not too old, as it is a recent click ID.

What does this phrase mean? "occurred before the conversion click through 
lookback window for the specified combination of conversion date and 
conversion action (default is 90 days)"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7f0c0aa0-2652-4851-99f2-7543e6c24b00n%40googlegroups.com.


Budget field is not found on the new google ads mapping

2022-02-23 Thread Alin Alex
I am trying to migrate a script from adwords to ads and the following field 
is not listed anywhere into the official mapping pages:

Report query in adwords:

report = {
'reportName': 'CAMPAIGN_PERFORMANCE_REPORT',
'dateRangeType': 'LAST_30_DAYS',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'XML',
'selector': {
'fields': ['Date', 'Device', 'AccountDescriptiveName', 'CampaignName', 
'CampaignId',
  'CampaignStatus', 'Labels', 'Amount', 'AveragePosition',
  'SearchImpressionShare', 'Impressions', 'Clicks', 'Cost'],
'predicates': {
   'field': 'CampaignStatus',
   'operator': 'IN',
   'values': ['ENABLED', 'PAUSED']}}}

And after that I am parsing the xml and I use the 'budget' key that in ads 
is not to be found:

elem.get('budget')
ls -la
Can you direct me to the exact match from googleads? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/984de918-1313-45cf-8a2c-92ce58a528aan%40googlegroups.com.


ERROR: The click associated with the identifier or iOS URL parameter does not exist in the system. This can occur if the identifier or iOS URL parameter are collected for non Google Ads clicks (e.g. d

2022-02-23 Thread Hustle OU
I got this error message when importing click conversions to Google Ads API:

ERROR: The click associated with the identifier or iOS URL parameter does 
not exist in the system. This can occur if the identifier or iOS URL 
parameter are collected for non Google Ads clicks (e.g. dart search)., at 
conversions[0].gclid

The click ID (gclid) is:

EAIaIQobChMIxZPQob6S9gIVVTytBh3H9QdMEAAYBCAAEgLoqfD_BwE

Which I noticed, is different from the standard ones, that start with the 
letter "C".

Where does this click ID come from and how can we handle this error?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/71520cb8-5c03-414a-96fa-d88e07695ee2n%40googlegroups.com.


Re: UserDataService Upload limits

2022-02-23 Thread Vamshi TG
Hi Mark,

Thank you for your response. I'm assuming the limits associated with the 
UploadUserData 

 
endpoint are subject to operation limits associated with the developer 
token. So, does having Standard Access 
 mean we 
can call this endpoint an unlimited amount of times (for example 100 
million times a day)? 

Thanks,
Vamshi

On Wednesday, February 23, 2022 at 2:33:44 PM UTC+5:30 seba...@movio.co 
wrote:

> Hi Jakeia,
>
> Thanks for your response. I tried to upload only one user identifier per 
> create operation but then I can only use 10 create operations per request 
> otherwise I get a "Too many operations" error. This is way too slow to 
> upload a user list of millions of hashed emails. So it's actually faster to 
> use one create operation with 20 identifiers than 10 operations with only 
> one identifier but still too slow.
>
> Is there any other way to efficiently upload an audience? Facebook allows 
> 10,000 hashed emails per request, TikTok 50 Mb (~ 800,000) of hashed emails 
> and Snapchat 50,000 users and Twitter 60,000.
>
> On Tuesday, February 22, 2022 at 12:38:29 AM UTC+1 adsapi wrote:
>
>> Hello Sebastian,
>>
>> Thanks for reaching out to the Google Ads API support. The UserData 
>> Enforcement in Google Ads API 
>> 
>>  
>> blog post was released on October 15th to clarify that each set should 
>> represent a single user. We suggest you upgrade to standard access 
>>  to handle the 
>> amount of data you need. Feel free to get back to us.
>>
>> Best regards,
>> [image: Google Logo] 
>> Jakeia Sabrina 
>> Google Ads API Team 
>>
>>  
>>
>>
>> ref:_00D1U1174p._5004Q2WxbKt: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 
"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/02a5240b-30d0-4e4c-a252-98b053ee8cb8n%40googlegroups.com.


Google Ads api return only some portion of rows compared to adwords api

2022-02-23 Thread Alin Alex
I am currently migrating from adwords to googleads and i kinda matched the 
following query:
adwords:
 

oauth2_client = oauth2.GoogleRefreshTokenClient(client_id, 
client_secret, refresh_token)
adwords_client = adwords.AdWordsClient(developer_token, 
oauth2_client, client_customer_id)

adwords_client.SetClientCustomerId(acct)
report_downloader = 
adwords_client.GetReportDownloader(version=gk.adwords_version)

 

report = {
'reportName': 'CAMPAIGN_PERFORMANCE_REPORT',
'dateRangeType': 'LAST_30_DAYS',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'XML',
'selector': {
'fields': ['Date', 'Device', 'AccountDescriptiveName', 
'CampaignName', 'CampaignId',
   'CampaignStatus', 'Labels', 'Amount', 
'AveragePosition',
   'SearchImpressionShare', 'Impressions', 
'Clicks', 'Cost'],
'predicates': {
'field': 'CampaignStatus',
'operator': 'IN',
'values': ['ENABLED', 'PAUSED']
}
}
}

stream_data = report_downloader.DownloadReportAsStream(
report, skip_report_header=True, skip_column_header=True,
skip_report_summary=True, include_zero_impressions=False)

This has been migrated to adswords:

credentials = {
"use_proto_plus": True,
"developer_token": gk.ads_dev_token,
"refresh_token": gk.adwords_refresh_token,
"client_id": gk.adwords_client_id,
"login_customer_id": gk.ads_login_customer_id,
"client_secret": gk.adwords_client_secret
}

  

googleads_client = GoogleAdsClient.load_from_dict(credentials)
ga_service = googleads_client.get_service("GoogleAdsService")

query_ads = '''
SELECT segments.date, segments.device, customer.descriptive_name, 
campaign.name, campaign.id,
campaign.status, campaign_budget.amount_micros, 
metrics.search_impression_share,  metrics.impressions, 
metrics.clicks, metrics.cost_micros 
FROM campaign
WHERE segments.date DURING LAST_30_DAYS
'''
response = ga_service.search_stream(customer_id=str(acct), 
query=query_ads)


Depending on the customer_id, google ads reporting kinda 10%- 20% of what 
googleads return.

Any advice on this, i've read all the articles regarding filtering and i 
think everything is good on this side.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/33ef6f14-72db-4121-97d9-90a361769ee9n%40googlegroups.com.


Re: UserDataService Upload limits

2022-02-23 Thread seba...@movio.co
Hi Jakeia,

Thanks for your response. I tried to upload only one user identifier per 
create operation but then I can only use 10 create operations per request 
otherwise I get a "Too many operations" error. This is way too slow to 
upload a user list of millions of hashed emails. So it's actually faster to 
use one create operation with 20 identifiers than 10 operations with only 
one identifier but still too slow.

Is there any other way to efficiently upload an audience? Facebook allows 
10,000 hashed emails per request, TikTok 50 Mb (~ 800,000) of hashed emails 
and Snapchat 50,000 users and Twitter 60,000.

On Tuesday, February 22, 2022 at 12:38:29 AM UTC+1 adsapi wrote:

> Hello Sebastian,
>
> Thanks for reaching out to the Google Ads API support. The UserData 
> Enforcement in Google Ads API 
> 
>  
> blog post was released on October 15th to clarify that each set should 
> represent a single user. We suggest you upgrade to standard access 
>  to handle the 
> amount of data you need. Feel free to get back to us.
>
> Best regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team 
>
>  
>
>
> ref:_00D1U1174p._5004Q2WxbKt: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 
"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/c25d5541-68b1-400d-bf99-c5ef753f8f8fn%40googlegroups.com.


Getting USER_PERMISSION_DENIED in google ads api when trying to fetch client info, which allowed access in authentication of the app

2022-02-23 Thread Support Support
Hi,

I am working on a tool which will help my clients to manage their ad 
accounts with convenient user interface. I have created a project in google 
cloud console and used the clientID and scope to authenticate clients and 
prompt for the permission to access their ad accounts. But when I try to 
get customer info using developer-token and login-customer-id of my mcc 
account, it shows USER_PERMISSION_DENIED error. 
How can I access account info of my clients by authenticating them.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/217eab3f-d85a-4dc8-bf3a-b5849762a6b8n%40googlegroups.com.


Re: Authorization problem

2022-02-23 Thread Laurent Petr
Hello,

On Github, they said to see with API support...
They said also, I shoud use AuthenticateInDesktopApplication.php even with 
a web app, and not AuthenticateInWebApplication.php

I tryed again with  AuthenticateInDesktopApplication.php and I have the 
message :
"Erreur 400 : redirect_uri_mismatch
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be 
used by a Client ID for native application. It is not allowed for the WEB 
client type. You can create a Client ID for native application at 
https://console.developers.google.com/apis/credentials/oauthclient;

Best regards
Laurent
Le lundi 21 février 2022 à 20:28:11 UTC+1, adsapi a écrit :

> Hi Laurent,
>
> The way the web flow works is that the app is listening in on the port 
> sent to the server when authenticating, so the code is sent directly to the 
> app via the redirect instead of having to paste the code in. I would 
> suggest you reach out to the author of the PHP client library instead via 
> this link . Different 
> client libraries state different types of redirect URL's.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2WwZFQ: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 
"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/67982174-f5e4-4420-8328-b3000ef489cdn%40googlegroups.com.