Re: AWQL Reporting slowdown?

2017-10-17 Thread Dorian Kind
On Monday, 16 October 2017 20:28:44 UTC+2, AdWordsApiUser wrote:
>
>
> @Dorian, do you use TSV format by any chance? I keep suspecting that it is 
> something to do with TSV format reports, but I am not able to prove it in 
> experiments with a hundred or so reports. 
>

No, we use CSV reports exclusively.

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

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


Re: Creating campaigns, ad groups, keywords with one API call - possible?

2017-10-17 Thread Bryan
Unfortunately there doesn't seem to be a way to update or delete posts that 
are in the queue to be published...

The answer to this is probably to use BatchJobService and temporary 
IDs: 
https://developers.google.com/adwords/api/docs/guides/batch-jobs#using_temporary_ids

On Tuesday, October 17, 2017 at 2:41:21 AM UTC-4, Bryan wrote:
>
> Hi, I have been reading through the API documents and it looks like the 
> examples always have hardcoded IDs - for example, the script to create Ad 
> Groups has a hardcoded ID for the campaign to use. Is it possible to create 
> related campaigns, ad groups and keywords all in one API call? For example, 
> if I want to add a new Campaign called "Campaign A", and create an Ad Group 
> inside of it called "Ad Group One", and add a Keyword to that Ad Group, can 
> I do that all at once, or do I have to make 3 separate API calls to create 
> the campaign, retrieve the ID, then assign the Campaign ID to all my Ad 
> Groups, then do the same for the Keyword?
>
> Thanks
>

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

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


Re: Creating campaigns, ad groups, keywords with one API call - possible?

2017-10-17 Thread 'Peter Oliquino' via AdWords API Forum
Hi Bryan,

That is correct, using the BatchJobService 

 and 
temporary IDs is what you could do to create a complete hierarchy 
simultaneously. However, please note that the order of creating objects 
should still be considered to avoid errors in your batch jobs. I hope this 
helps and feel free to write back if you have any further questions.

Thanks and regards,
Peter
AdWords API Team

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

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


Re: Error Handling in new Adwords API v201708

2017-10-17 Thread MWA
I've imported namespaces correctly. If I provide customerid which I have 
currently access, it works fine, but when i try to access data of my 
ex-client (which of course I don't have access) the code breaks and the 
whole crons stops. I want to catch the exception so that I can download 
clients data which I have currently access and of course notify me that 
someone has left so I can stop that client's data downloading.

namespace Google\AdsApi\Examples\AdWords\v201708\BasicOperations;
ini_set("display_errors",1);
require __DIR__ . '/vendor/autoload.php';
use Google\AdsApi\AdWords\AdWordsServices;
use Google\AdsApi\AdWords\AdWordsSession;
use Google\AdsApi\AdWords\AdWordsSessionBuilder;
use Google\AdsApi\AdWords\v201708\cm\CampaignService;
use Google\AdsApi\AdWords\v201708\cm\OrderBy;
use Google\AdsApi\AdWords\v201708\cm\Paging;
use Google\AdsApi\AdWords\v201708\cm\Predicate;
use Google\AdsApi\AdWords\v201708\cm\PredicateOperator;
use Google\AdsApi\AdWords\v201708\cm\Selector;
use Google\AdsApi\AdWords\v201708\cm\SortOrder;
use Google\AdsApi\Common\OAuth2TokenBuilder;


$oAuth2Credential = (new OAuth2TokenBuilder())->fromFile()->build();

$error=false;
try{
$session = (new 
AdWordsSessionBuilder())->fromFile()->withOAuth2Credential($oAuth2Credential)->withClientCustomerId($customerid)->enablePartialFailure()->build();
}
catch(ApiException $apiException) {
print_r($apiException);
}

$adWordsServices=new AdWordsServices();
$campaignService = $adWordsServices->get($session, 
CampaignService::class);

$selector = new Selector();
$Fields = array('Id', 'StartDate', 'EndDate', 'Name', 'Amount', 
'DeliveryMethod', 'ServingStatus', 'FrequencyCapMaxImpressions', 
'AdServingOptimizationStatus', 'TimeUnit', 'Level', 'Status', 
'BiddingStrategyType');
$selector->setFields($Fields);
$selector->setOrdering([new OrderBy('Name', SortOrder::ASCENDING)]);
$selector->setPaging(new Paging(0, 5000));
$totalNumEntries = 0;
$icount=0;

$selector->setPredicates([new Predicate('Status', 
PredicateOperator::IN, ['ENABLED', 'PAUSED', 'REMOVED'])]);

$page = $campaignService->get($selector);






On Friday, October 13, 2017 at 5:57:07 PM UTC+5, MWA wrote:
>
> Hi,
> Can anyone tell me how to handle errors on new Adwords API v201708?
> Here is my code, I can not catch exception I've tried these possibilities.
> My code is working fine but if there is an error I want to handle it.
>
> Code:
> $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile()->build();
> 
> $session = (new 
> AdWordsSessionBuilder())->fromFile()->withOAuth2Credential($oAuth2Credential)->enablePartialFailure()->build();
>
> $adWordsServices=new AdWordsServices();
> 
> $managedCustomerService = $adWordsServices->get($session, 
> ManagedCustomerService::class);
>
> $link = new ManagedCustomerLink();
> $link->setManagerCustomerId($managerid);
> $link->setClientCustomerId($customerid);
> $link->setLinkStatus(LinkStatus::PENDING);
>
> $linkop = new LinkOperation();
> $linkop->setOperator(Operator::ADD);
> $linkop->setOperand($link);
>
> $operations = array($linkop);
> 
> try{
> $result = $managedCustomerService->mutateLink($operations);
> }catch(AdwordsApiException $e){
> print_r($e);
> print_r($result->getPartialFailureErrors());
> 
> }catch(Exception $e){
> print_r($e);
> print_r($result->getPartialFailureErrors());
> 
> }catch(ApiException $e){
> print_r($e);
> print_r($result->getPartialFailureErrors());
> 
> }
>
> Error:
>
> *Fatal error*: Uncaught exception 
> 'Google\AdsApi\AdWords\v201708\cm\ApiException' with message 
> '[ManagedCustomerServiceError.ALREADY_INVITED_BY_THIS_MANAGER @ 
> operations[0]]' in 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:39
>  
> Stack trace: #0 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(39):
>  
> ReflectionClass->newInstanceArgs(Array) #1 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(165):
>  
> Google\AdsApi\Common\Util\Reflection->createInstance('Google\AdsApi\A...', 
> '[ManagedCustome...') #2 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(130):
>  
> Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
>  
> #3 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201708/mcm/ManagedCustomerService.php(185):
>  
> Google\AdsApi\Common\AdsSoapClient->__soapCall('mutateLink', Array in 
> */var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php*
>  
> on line *39*
>
>
>
> Thanks.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also fi

Re: Error Handling in new Adwords API v201708

2017-10-17 Thread MWA
If I apply try catch on get service nothing changes.

 try{
$page = $campaignService->get($selector);
}
catch (ApiException $apiException) {
print_r($apiException);
}


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

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


Re: Get account Conversion Actions

2017-10-17 Thread Elton Morais
Hi Shwetha,

You were right. I'm now able to fetch all the conversions actions.

Thank you

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

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


Re: Error Handling in new Adwords API v201708

2017-10-17 Thread MWA
I got it, I didn't added *use 
Google\AdsApi\AdWords\v201708\cm\ApiException;* now its working.

Thanks.

On Friday, October 13, 2017 at 5:57:07 PM UTC+5, MWA wrote:
>
> Hi,
> Can anyone tell me how to handle errors on new Adwords API v201708?
> Here is my code, I can not catch exception I've tried these possibilities.
> My code is working fine but if there is an error I want to handle it.
>
> Code:
> $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile()->build();
> 
> $session = (new 
> AdWordsSessionBuilder())->fromFile()->withOAuth2Credential($oAuth2Credential)->enablePartialFailure()->build();
>
> $adWordsServices=new AdWordsServices();
> 
> $managedCustomerService = $adWordsServices->get($session, 
> ManagedCustomerService::class);
>
> $link = new ManagedCustomerLink();
> $link->setManagerCustomerId($managerid);
> $link->setClientCustomerId($customerid);
> $link->setLinkStatus(LinkStatus::PENDING);
>
> $linkop = new LinkOperation();
> $linkop->setOperator(Operator::ADD);
> $linkop->setOperand($link);
>
> $operations = array($linkop);
> 
> try{
> $result = $managedCustomerService->mutateLink($operations);
> }catch(AdwordsApiException $e){
> print_r($e);
> print_r($result->getPartialFailureErrors());
> 
> }catch(Exception $e){
> print_r($e);
> print_r($result->getPartialFailureErrors());
> 
> }catch(ApiException $e){
> print_r($e);
> print_r($result->getPartialFailureErrors());
> 
> }
>
> Error:
>
> *Fatal error*: Uncaught exception 
> 'Google\AdsApi\AdWords\v201708\cm\ApiException' with message 
> '[ManagedCustomerServiceError.ALREADY_INVITED_BY_THIS_MANAGER @ 
> operations[0]]' in 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:39
>  
> Stack trace: #0 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(39):
>  
> ReflectionClass->newInstanceArgs(Array) #1 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(165):
>  
> Google\AdsApi\Common\Util\Reflection->createInstance('Google\AdsApi\A...', 
> '[ManagedCustome...') #2 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(130):
>  
> Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
>  
> #3 
> /var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201708/mcm/ManagedCustomerService.php(185):
>  
> Google\AdsApi\Common\AdsSoapClient->__soapCall('mutateLink', Array in 
> */var/www/adwords_api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php*
>  
> on line *39*
>
>
>
> Thanks.
>

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

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


ADGROUP_LIMIT TEXT_CREATIVES_PER_ADGROUP

2017-10-17 Thread Илья Бовбель
Hello!
I'm using api adwords and I've got a problem:
It is said that one adgroup can have not more than 50 active ads, so i have 
a group, in which there are 58 removed ads, 0 paused ads and 0 enabled ads, 
but I can't create new ad in this group, I got an error from api:
[reason:protected] => ADGROUP_LIMIT
[enclosingId:protected] => 41652529677
[limit:protected] => 50
[accountLimitType:protected] => 
TEXT_CREATIVES_PER_ADGROUP
[existingCount:protected] => 0
[fieldPath:protected] => operations[69]
[fieldPathElements:protected] => Array
(
[0] => 
Google\AdsApi\AdWords\v201705\cm\FieldPathElement Object
(
[field:protected] => operations
[index:protected] => 69
)

)

[trigger:protected] => 
[errorString:protected] => 
EntityCountLimitExceeded.ADGROUP_LIMIT
[ApiErrorType:protected] => 
[ApiError.Type] => EntityCountLimitExceeded 

can u help me to understand, what is the problem?


Ilya Bovbel

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

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


Re: AWQL Reporting slowdown?

2017-10-17 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hello,

Thanks for the answers to my questions, AdWordsApiUser. For the last 
question, can you give the real-time it takes to run reports previously and 
now, rather than just how much slower it is relatively to before?

Regards,
Mike, AdWords API Team

On Tuesday, October 17, 2017 at 3:02:12 AM UTC-4, Dorian Kind wrote:
>
> On Monday, 16 October 2017 20:28:44 UTC+2, AdWordsApiUser wrote:
>>
>>
>> @Dorian, do you use TSV format by any chance? I keep suspecting that it 
>> is something to do with TSV format reports, but I am not able to prove it 
>> in experiments with a hundred or so reports. 
>>
>
> No, we use CSV reports exclusively.
>

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

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


Re: Why MediaId is null for type=image Ads ? Though I can see the ReferenceId.

2017-10-17 Thread Muhammad Ahsan Amin
> This is just to document the latest Response Summary. There were multiple 
private emails exchanged for this thread (Due to confidentiality of data). 

So, shortest answer is that it is by design that MediaId can be returned as 
Null for Image objects in Reports. Currently it is not mentioned in 
documents but the docs will be updated. 

The other part of question why Media *ReferenceId* can't be found via 
*MediaService* if searched as Predicate. The answer is its also possible, 
not sure about full details though! 

In short Media *ReferenceId* is the most trusted value returned by a Media 
object of Google!

On Wednesday, October 4, 2017 at 11:13:19 PM UTC+5, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi Ahsan,
>
> Could you enable logging and provide the logs for the 
> AdGroupAdService.get() request and the MediaService.get() request which 
> returned an error when you tried to retrieve the media with referenceId 
> `-2405310583298588672`? Please use *Reply privately to author* when 
> responding. 
>
> Thanks,
> Shwetha, AdWords API Team.
>

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

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


Re: ADGROUP_LIMIT TEXT_CREATIVES_PER_ADGROUP

2017-10-17 Thread Илья Бовбель
I ' ve understood my mistake, u can close the case.
Ilya Bovbel
 

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

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


Can I use the same credentials for more than one application?

2017-10-17 Thread developer . tidart
I am trying to create an application to work on behalf of my clients, but I 
would like to scale it from a simpler app, such as an Installed Application 
on my computer rather than a complete client. I cannot figure out whether 
the credentials can be the same or not, or the differences that the project 
entails. If someone has already done something similar, I would appreciate 
it if they could point me in the right direction.

Thanks in advance.

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

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


Re: BUDGET_PERFORMANCE_REPORT

2017-10-17 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Zweitze,

Please find my answers below:

   1. The possible values for "Status" column in UI are *sufficient*, *limiting 
   spend* of the campaigns sharing it, or *not used* by any campaign. You 
   can see these details if you hover over the question mark on the "Status" 
   header in the UI. This field is not available via API at the moment. 
   2. UI does not have a column corresponding to 
   *BudgetCampaignAssociationStatus*. But you can find the number of 
   campaigns currently associated with that shared budget in the UI.
   3. Thanks for pointing this out. I will inform the team to get the 
   documentation corrected. API is currently returning "Current" or "Enabled" 
   for the BudgetCampaignAssociationStatus field.

In the new UI, you can find the Budgets report by clicking the 3 vertical 
dots on top right corner and select *Shared budgets* under *SHARED LIBRARY*
 section.

Thanks,
Sreelakshmi, AdWords API Team

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

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


Re: Can I use the same credentials for more than one application?

2017-10-17 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, 

You can use the same clientId and clientSecret to authorize API requests 
against multiple client accounts. A credential(refresh_token) generated for 
an AdWords manager account can be used to access all its child accounts. If 
your application needs to access AdWords accounts that are not related to 
one another in any manager account hierarchy, you should generate and 
maintain different credentials for different accounts, such as for each 
AdWords client account you access, or each top-level manager account in the 
independent hierarchies you access. Please see this guide 

 for 
more details. 

Regards,
Shwetha, AdWords API Team.

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

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


Is it possible to get a None response when using 'AdGroupAdService' get method?

2017-10-17 Thread joao . gris
Hi,

I've tried to execute the following query in the Python API:

selector = {
'fields': ['Id', 'AdGroupId', 'Status', 'HeadlinePart1',
   'HeadlinePart2', 'Description'],
'predicates': [
{
'field': 'AdGroupId',
'operator': 'EQUALS',
'values': [ad_group_id]
},
{
'field': 'AdType',
'operator': 'EQUALS',
'values': ['EXPANDED_TEXT_AD']
},
{
'field': 'Status',
'operator': 'IN',
'values': ['ENABLED']
}
]
}

   page = ad_service.get(selector)

But sometimes, the page that it is returned is None. I thought that it was 
supposed to return a page with 'totalNumEntries' equal 0, but it gave me 
None.

We make requests to the AdWords API a lot of hours per day, but this error 
is not a constant, so I don't have a clue for what it might be.

Can you give me some idea?

Best,

João

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

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


Re: Is it possible to get a None response when using 'AdGroupAdService' get method?

2017-10-17 Thread 'Peter Oliquino' via AdWords API Forum
Hi João,

Could you send to me the complete SOAP request and response of your call 
using the AdGroupAdService.get? This will allow me to have a better look at 
the issue. You may reply via the *Reply privately to author* option.

Thanks and regards,
Peter
AdWords API Team

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

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