RE: Youtube Earned Metrics

2019-03-17 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Danilo,

Currently, both AdWords API and Google Ads API does not support the YouTube
earned metrics. I would suggest to follow our blog
 for
possible future release about this feature.

Thanks and regards,
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/15/19 23:40:58 danilo.san...@reamp.com.br wrote:

Hi AdWords Team,

Is there any way to get YouTube earned actions metrics in AdWords API? Or
in Google Ads API?

Regards,
Danilo

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

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

.
For more options, visit https://groups.google.com/d/optout.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18i3o5o0837o1s001im6e0x6gmjicpj6oo30c1g68qjcc9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: AdWords API Sample GetKeywordIdeas does not work.

2019-03-17 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Kosuke,

Upon checking the logs, it appears that the adGroupId you have specified
(412) is invalid. Could you input a valid adGroupId in your request and
check if the error would still occur? You could get the list of ad groups
under you account by running the AdGroupService.get()

.

Regards,
Dannison
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/15/19 19:24:21 kosuke.shibay...@aldacom.com wrote:

Hi Dannison,

I have specified the client customer id.

I send the complete SOAP request and response.
I hide only the clientCustomerId with *.

-BEGIN API CALL-

Request
---

POST /api/adwords/o/v201806/TargetingIdeaService
VsDebuggerCausalityData:
uIDPo2RV2xYcroxGnATyHxkwzfcA6mrnjENNkUuW7lO1t92pbuELybPsN7NKsux/H4XMV30ACQAA
Authorization: REDACTED
Accept-Encoding: gzip, deflate
TimeStamp: Fri, 15 Mar 2019 11:42:33 GMT



http://schemas.xmlsoap.org/soap/envelope/;>
  
https://adwords.google.com/api/adwords/o/v201806;>
  https://adwords.google.com/api/adwords/cm/v201806
">***-***-
  https://adwords.google.com/api/adwords/cm/v201806;>REDACTED
  xmlns="https://adwords.google.com/api/adwords/cm/v201806;>unknown

(AwApi-DotNet/24.4.0, Common-Dotnet/9.5.0, .NET CLR/4.0.30319.42000,
OAuthServiceAccountFlow, SelectorBuilder, gzip)

  
  http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd="
http://www.w3.org/2001/XMLSchema;>
https://adwords.google.com/api/adwords/o/v201806;>
  

  bakery
  pastries
  birthday cake


  
https://adwords.google.com/api/adwords/cm/v201806
">1000
  


  
https://adwords.google.com/api/adwords/cm/v201806;>true
https://adwords.google.com/api/adwords/cm/v201806
">false
https://adwords.google.com/api/adwords/cm/v201806
">false
https://adwords.google.com/api/adwords/cm/v201806
">false
  


  412

KEYWORD
IDEAS
KEYWORD_TEXT
SEARCH_VOLUME
AVERAGE_CPC
COMPETITION

CATEGORY_PRODUCTS_AND_SERVICES

  https://adwords.google.com/api/adwords/cm/v201806;>0
  https://adwords.google.com/api/adwords/cm/v201806;>500

  

  


Response


Content-Encoding:
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Alt-Svc: quic=":443"; ma=2592000; v="46,44,43,39"
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=UTF-8
Date: Fri, 15 Mar 2019 10:42:33 GMT
Expires: Fri, 15 Mar 2019 10:42:33 GMT
Server: GSE
TimeStamp: Fri, 15 Mar 2019 11:42:33 GMT



http://schemas.xmlsoap.org/soap/envelope/;>
  
https://adwords.google.com/api/adwords/cm/v201806; xmlns="
https://adwords.google.com/api/adwords/o/v201806;>
  0005841fb23cdd040a560cc2eb09cfc8
  AdGroupService
  get
  1
  463

  
  

  soap:Server
  [TargetingIdeaError.INVALID_SEARCH_PARAMETERS @
selector.searchParameters[1].adGroupId.adGroupId]
  
https://adwords.google.com/api/adwords/o/v201806; xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201806;>
  [TargetingIdeaError.INVALID_SEARCH_PARAMETERS @
selector.searchParameters[1].adGroupId.adGroupId]

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

selector.searchParameters[1].adGroupId.adGroupId

  selector


  searchParameters
  1


  adGroupId


  adGroupId



TargetingIdeaError.INVALID_SEARCH_PARAMETERS
TargetingIdeaError
INVALID_SEARCH_PARAMETERS
  

  

  

-END API CALL---

2019年3月15日金曜日 8時22分36秒 UTC+1 googleadsapi-forumadvisor:

Hi Kosuke,

Could you confirm if you have specified the client customer id? If not,
could you specify it as elaborated here

and re-run the client library code?

If this does not work, could you provide the complete SOAP request and
response logs that were generated when you encountered the error? You may
provide them using the *reply privately to author* option. If you have not
enabled logging, you may refer to this guide

on how to do so.

Regards,
Dannison
AdWords API Team



RE: The caller does not have permission

2019-03-17 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi All,

Even if you are using a test account only, you should still accept the
updated terms and condition using your Google Ads *manager
account/production account *where your developer token was associated as
this is required before you could use the Google Ads API v1. The API center
could only be found using your Google Ads manager account.

Regards,
Luis
Google Ads API


On 03/16/19 15:31:39 ducai...@gmail.com wrote:

I have the same issue here. Looks like the v1 has issue with Testing
account? Can you please confirm?

On Friday, March 15, 2019 at 3:55:13 AM UTC-7, Ramanajee Kandregula wrote:

Hi Luis,
we are using Test account  and when i trying to navigate to api center i am
getting
*The API Center is not available for test accounts. Instead, use the
developer token from your production (non-test) manager account. See
our test account guide
  
for

more information.*

On Friday, March 15, 2019 at 12:12:45 PM UTC+5:30,
googleadsapi-forumadvisor wrote:

Hi Ramanajee,

As per this blog
  
post,

you will need to accept the updated Terms and Conditions
 to access the
production-ready versions of the Google Ads API. You could do this by
signing in to your Google Ads manager account then navigate to *API center*  
where

you have your developer token. Scroll down to *API contact email*, and
update it. Then, scroll down to *Principal place of business*, accept the
new conditions, and click *Save*.

Once done, you may try your request again and see if it works.

Thanks and regards,
Luis
Google Ads API Team


Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey


Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 03/14/19 22:35:29 ramanajee wrote:

Hi,
When we are using* Google Ads V0* it is working fine,
but when we are changing to* V1* then we are getting


*Status(StatusCode=PermissionDenied, Detail="The caller does not have
permission")*
*{{ "errorCode": { "authorizationError": "MISSING_TOS" }, "message": "The
developer must sign the terms of service. They can be found here:
ads.google.com/aw/apicenter " }}*

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

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

.
For more options, visit https://groups.google.com/d/optout.

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

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

.
For more options, visit 

Re: About Display Values ​​of SEARCH_STANDARD and VIDEO_NON_SKIPPABLE_IN_STREAM

2019-03-17 Thread 井上剛志
Hi

I understood in the reply answer.

Best Regards,
Tsuyoshi Inoue

2019年3月14日木曜日 5時40分05秒 UTC+9 googleadsapi-forumadvisor:
>
> Hello,
>
> Yes, that is correct. SEARCH_STANDARD and VIDEO_NON_SKIPPIABLE_IN_STREAM 
> will both have the display values of Standard. Very rarely do display names 
> have the same value. You could add a predicate to include/exclude one of 
> the ad group types in your report or another kind of identifier such as 
> campaign name.
>
> I will let the team know about this behavior and see if we can make these 
> values unique.
>
> Regards,
> Anthony
> AdWords API Team
>
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/13/19 06:42:25 in...@brainpad.co.jp  wrote:
>
> Hi,
>
>
> There is confirmation about AdGroupType of Adgroup Performance report.
>
>
> In the following documents, the display values ​​of SEARCH_STANDARD and 
> VIDEO_NON_SKIPPIABLE_IN_STREAM are both described as Standard.
>
>
> - 
> https://developers.google.com/adwords/api/docs/appendix/reports/adgroup-performance-report#adgrouptype
>
>
> We recognize that the display values ​​of SEARCH_STANDARD have been 
> Standard before, but does VIDEO_NON_SKIPPIABLE_IN_STREAM also become 
> Standard?
>
>
> I want to know the exact display values ​​of 
> VIDEO_NON_SKIPPIABLE_IN_STREAM.
>
>
> Best Regards,
>
> Tsuyoshi Inoue
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads API Forum" group.
> To post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/adwords-api/7d321f06-b48f-4be2-8b70-604b3ead01c9%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

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

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


Re: ListAccessibleCustomers Google Ads API

2019-03-17 Thread cv
Hello Darshan,

Yes, It is exactly same issue I was refer to.
Old Adwords API is quick to get those info while for current API I need to 
do as many as 3 API calls required to get 1 MCC account info.
Imaging If you had a large size account, it not only delay the response but 
also use unnecessary resources.

I had try this to get the details, In my case so many accounts were hidden 
but still I need to gone through each of them due to nature of the API




function getAllCustomers() {
$customerServiceClient = $googleAdsClient->getCustomerServiceClient();
echo "";
// Issues a request for listing all accessible customers.
$accessibleCustomers = $customerServiceClient->listAccessibleCustomers
();
print 'Total results: ' . count($accessibleCustomers) . PHP_EOL;




// Iterates over all accessible customers' resource names and prints 
them.
foreach ($accessibleCustomers->getResourceNames() as $resourceName) {
/** @var string $resourceName */
printf("Customer resource name: '%s'%s", $resourceName, PHP_EOL);
$customer = $customerServiceClient->getCustomer($resourceName);
$customerId = ($customer->getId() != '') ? $customer->getId()->
getValue() : '';
$this->getCustomersFromCustomerId($customerId);
}
}


function getCustomersFromCustomerId($customerId) {


$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
// Creates a query that retrieves all campaigns.
$query = 'SELECT customer_client.resource_name,
customer_client.client_customer,
customer_client.level,
customer_client.hidden,
customer_client.level
FROM customer_client';
// Issues a search request by specifying page size.
$response = $googleAdsServiceClient->search($customerId, $query, [
'pageSize' => self::PAGE_SIZE]);


// Iterates over all rows in all pages and prints the requested field 
values for
// the campaign in each row.
foreach ($response->iterateAllElements() as $googleAdsRow) {
//print_r($googleAdsRow);
//"Customer with ID '%s', ResourceName '%s', Level '%s' and 
isHidden '%s' was found.",
printf(
"Customer ResourceName '%s', isHidden %d, Level %d and 
clientCustomer '%s' was found.%s", $googleAdsRow->getCustomerClient()->
getResourceName(), $googleAdsRow->getCustomerClient()->getHidden()->getValue
(), $googleAdsRow->getCustomerClient()->getLevel()->getValue(), 
$googleAdsRow->getCustomerClient()->getClientCustomer()->getValue(), PHP_EOL
);
}
}


Thanks,




On Saturday, 16 March 2019 23:13:29 UTC+5:30, Darshan Pradhan wrote:
>
> I had similar issue and the thread is in here 
> 
> .
>
> TLDR, the listAccessibleCustomers pull all the active and inactive directly 
> accessible accounts. 
> You should be able to grab the indirectly accessible customer(acounts 
> under MCC) using the query provide by Google Team which is "select *  from 
> customer_client" .
>
> The problem i ran into was the customer_client only returns the 
> customer_clients account id(extract from resource_name) which is not very 
> meaningful since I needed to present the user's account by name. 
> So for each account i get back for the customer_client I had to go and 
> make a customerServiceClient.getCustomer(resourceName) call, which would 
> give me the details I needed( other attributes such as is_manager, 
> test_account etc). 
> With above solution one Caveat is that if you have to make an api call for 
> each account you will have to implement a delay between the call which 
> sometimes will still results in resource_exhaustion which is not very easy 
> to handle in new Ads API. 
>
> There was not easy way to do this so to retrieve the details of the 
> customer I had to fall back to old adwords api to pull the customer clients 
> details (managedCustomers resource). The old adwords api only return active 
> accounts thought so my solution was to 
> mash the result of both old adwords api and new ads api for now until new 
> Ads words provides a way to pull the clients accounts name from the 
> customer_client resource. 
>
>
>
> On Saturday, March 16, 2019 at 6:28:54 AM UTC-4, cv wrote:
>>
>> Hello Bharani,
>>
>> Thanks, I am able to use query, but my main concern remains same.
>>
>> As I said Out of few accounts accessible under my MCC I can only get few 
>> of them so how would I know that or my client know that which account he 
>> has to link, since I have not all listed.
>>
>> I can query that and find the account but that to required customerID, 
>> how would that I can have?
>>
>>
>> Thanks,
>>
>>
>>
>> On Friday, 15 March 2019 21:44:13 UTC+5:30, googleadsapi-forumadvisor 
>> wrote:
>>>
>>> Hello Chirag, 
>>>
>>> I have raised this concern about